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: pressure | code: stn | fields: lon, type, depth, ts
Sensor: soil_moisture | fields: type, level, depth, lon
Task: Fetch lon from pressure where reading is greater than the minimum of depth in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068500 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, value, lon, unit
Sensor: temperature | fields: value, type, ts, unit
Task: Get lat from cloud_cover where unit appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068501 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: ts, type, value, depth
Sensor: visibility | fields: qc, reading, lon, ts
Task: Get value from frost where qc appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"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_068502 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: level, unit, qc, reading
Sensor: lightning | fields: level, unit, lat, reading
Task: Retrieve value from air_quality with reading above the MAX(depth) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068503 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: unit, depth, qc, type
Sensor: soil_moisture | fields: ts, reading, depth, unit
Task: Retrieve level from uv_index whose type is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068504 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, lon, level, lat
Sensor: rainfall | fields: lon, unit, ts, type
Task: Get lon from soil_moisture where value exceeds the maximum value from rainfall for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068505 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: type, lat, ts, reading
Sensor: rainfall | fields: reading, unit, qc, ts
Task: Get lat from air_quality where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068506 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: unit, depth, lon, ts
Sensor: frost | fields: depth, reading, unit, level
Task: Fetch level from sunlight where reading is greater than the count of of value in frost for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068507 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: ts, value, level, lat
Sensor: turbidity | fields: reading, unit, type, value
Task: Get reading from uv_index where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068508 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: lat, reading, level, depth
Sensor: soil_moisture | fields: lat, reading, type, ts
Task: Fetch depth from air_quality where ts exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068509 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: level, qc, type, lon
Sensor: dew_point | fields: depth, reading, lat, lon
Task: Retrieve depth from turbidity that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068510 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, reading, type, depth
Sensor: soil_moisture | fields: type, ts, lat, depth
Task: Fetch level from cloud_cover where reading is greater than the count of of value in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"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_068511 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: type, value, level, qc
Sensor: drought_index | fields: type, qc, lon, reading
Task: Retrieve reading from uv_index that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068512 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, level, lon, value
Sensor: visibility | fields: lat, type, reading, value
Task: Retrieve lat from cloud_cover that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068513 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: unit, type, reading, lat
Sensor: snow_depth | fields: value, lat, type, level
Task: Get reading from air_quality where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068514 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: qc, depth, ts, level
Sensor: sunlight | fields: qc, reading, lat, ts
Task: Get level from uv_index where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068515 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: unit, depth, lat, value
Sensor: air_quality | fields: qc, level, depth, ts
Task: Get reading from sunlight where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068516 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, value, depth, ts
Sensor: rainfall | fields: unit, lat, depth, ts
Task: Retrieve level from soil_moisture that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068517 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: ts, qc, level, unit
Sensor: temperature | fields: qc, reading, lat, lon
Task: Retrieve depth from wind_speed that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068518 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: qc, depth, reading, lat
Sensor: lightning | fields: level, ts, value, reading
Task: Fetch value from air_quality that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068519 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, qc, lon, lat
Sensor: evaporation | fields: ts, level, qc, lat
Task: Get lon from cloud_cover where depth exceeds the minimum reading from evaporation for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068520 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: lat, value, qc, lon
Sensor: rainfall | fields: type, level, depth, ts
Task: Fetch lat from wind_speed where reading is greater than the minimum of reading in rainfall for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068521 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: level, reading, value, depth
Sensor: soil_moisture | fields: lon, ts, reading, lat
Task: Retrieve reading from snow_depth whose ts is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068522 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: lon, depth, qc, ts
Sensor: pressure | fields: depth, qc, reading, level
Task: Fetch reading from air_quality where value is greater than the minimum of reading in pressure for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068523 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: type, lat, unit, ts
Sensor: temperature | fields: ts, depth, lat, reading
Task: Retrieve lon from evaporation that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068524 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: type, lat, level, reading
Sensor: drought_index | fields: unit, level, reading, ts
Task: Get reading from evaporation where depth exceeds the count of depth from drought_index for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068525 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: unit, reading, qc, lat
Sensor: soil_moisture | fields: lon, ts, reading, level
Task: Get value from dew_point where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068526 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: reading, unit, value, qc
Sensor: cloud_cover | fields: ts, qc, type, lat
Task: Retrieve lat from visibility with reading above the COUNT(reading) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068527 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, lon, value, level
Sensor: sunlight | fields: lat, qc, value, ts
Task: Get level from cloud_cover where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068528 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: lon, level, type, reading
Sensor: turbidity | fields: reading, type, ts, value
Task: Fetch reading from evaporation where reading is greater than the maximum of depth in turbidity for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068529 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: lat, depth, type, lon
Sensor: soil_moisture | fields: lon, type, level, unit
Task: Retrieve lon from humidity that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068530 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: reading, type, ts, depth
Sensor: lightning | fields: level, reading, lat, depth
Task: Get depth from air_quality where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068531 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, level, type, unit
Sensor: frost | fields: type, unit, depth, lon
Task: Get value from cloud_cover where ts appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068532 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, type, reading, lon
Sensor: lightning | fields: unit, lat, level, ts
Task: Retrieve lat from cloud_cover whose depth is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068533 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, lon, lat, value
Sensor: sunlight | fields: qc, level, reading, lat
Task: Fetch lon from cloud_cover where value is greater than the minimum of depth in sunlight for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068534 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lon, value, type, level
Sensor: cloud_cover | fields: value, ts, level, unit
Task: Fetch lon from pressure that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068535 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: value, lat, qc, type
Sensor: visibility | fields: lat, lon, qc, unit
Task: Retrieve reading from evaporation whose depth is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068536 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: depth, unit, ts, reading
Sensor: temperature | fields: level, depth, unit, type
Task: Fetch lon from pressure where qc exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068537 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: ts, unit, qc, lat
Sensor: drought_index | fields: qc, depth, ts, level
Task: Get reading from uv_index where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068538 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: value, reading, ts, lon
Sensor: wind_speed | fields: level, type, qc, ts
Task: Get value from cloud_cover where unit appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068539 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: type, unit, value, qc
Sensor: humidity | fields: lon, lat, reading, value
Task: Fetch reading from dew_point where value is greater than the maximum of value in humidity for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068540 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: lon, qc, depth, type
Sensor: dew_point | fields: lon, qc, reading, unit
Task: Retrieve lat from air_quality with reading above the MAX(depth) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068541 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: depth, qc, lat, type
Sensor: air_quality | fields: qc, type, lat, reading
Task: Get value from sunlight where reading exceeds the maximum value from air_quality for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068542 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: reading, value, level, depth
Sensor: visibility | fields: lon, level, lat, ts
Task: Retrieve reading from temperature that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068543 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, level, ts, reading
Sensor: sunlight | fields: depth, type, unit, reading
Task: Get depth from cloud_cover where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068544 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: qc, reading, lon, lat
Sensor: visibility | fields: unit, type, lat, depth
Task: Retrieve lon from rainfall whose depth is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068545 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: qc, reading, ts, type
Sensor: sunlight | fields: value, lat, unit, reading
Task: Retrieve lat from drought_index with value above the MAX(reading) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068546 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: lat, depth, lon, level
Sensor: wind_speed | fields: type, unit, lon, depth
Task: Fetch reading from turbidity where value is greater than the minimum of value in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068547 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: depth, unit, qc, level
Sensor: wind_speed | fields: depth, lon, reading, lat
Task: Get lon from turbidity where depth appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068548 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: unit, ts, reading, qc
Sensor: wind_speed | fields: lon, unit, value, qc
Task: Retrieve reading from temperature that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068549 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: level, depth, unit, type
Sensor: evaporation | fields: qc, lon, value, reading
Task: Fetch lon from lightning where type exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068550 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, lon, type, value
Sensor: visibility | fields: reading, unit, ts, lat
Task: Get level from soil_moisture where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068551 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: reading, type, lat, depth
Sensor: humidity | fields: depth, lat, reading, unit
Task: Retrieve lat from sunlight whose qc is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068552 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: lon, qc, ts, depth
Sensor: visibility | fields: depth, ts, qc, lat
Task: Get lat from humidity where reading exceeds the average value from visibility for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068553 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: value, type, lat, qc
Sensor: turbidity | fields: ts, type, value, lat
Task: Retrieve depth from snow_depth whose qc is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068554 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: lat, depth, value, ts
Sensor: pressure | fields: unit, value, lon, ts
Task: Fetch lon from evaporation where depth is greater than the maximum of value in pressure for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068555 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: ts, unit, lon, reading
Sensor: turbidity | fields: level, unit, type, ts
Task: Get level from lightning where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068556 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: level, type, value, lon
Sensor: frost | fields: unit, depth, value, lat
Task: Get value from rainfall where unit appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068557 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: type, lat, depth, level
Sensor: snow_depth | fields: depth, type, unit, lat
Task: Fetch value from humidity that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068558 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: unit, lat, ts, level
Sensor: visibility | fields: unit, level, type, depth
Task: Fetch level from uv_index where qc exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068559 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: lat, reading, depth, level
Sensor: snow_depth | fields: depth, reading, lon, level
Task: Fetch value from turbidity where reading is greater than the total of value in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"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_068560 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: level, type, unit, lat
Sensor: dew_point | fields: unit, qc, ts, value
Task: Retrieve lon from air_quality with reading above the MAX(depth) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068561 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, type, reading, qc
Sensor: wind_speed | fields: lat, reading, depth, qc
Task: Fetch value from cloud_cover that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068562 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: type, lat, ts, unit
Sensor: sunlight | fields: depth, lat, level, unit
Task: Get level from visibility where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068563 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: lat, reading, type, value
Sensor: humidity | fields: level, reading, value, qc
Task: Fetch value from rainfall that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068564 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: lon, value, unit, level
Sensor: dew_point | fields: unit, ts, lat, reading
Task: Fetch level from sunlight where depth is greater than the minimum of value in dew_point for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068565 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: unit, level, depth, qc
Sensor: uv_index | fields: value, depth, unit, qc
Task: Retrieve value from visibility whose depth is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068566 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: lon, depth, qc, unit
Sensor: sunlight | fields: lon, depth, unit, reading
Task: Fetch lon from uv_index where depth is greater than the minimum of reading in sunlight for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068567 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: type, lon, level, value
Sensor: drought_index | fields: depth, ts, level, lon
Task: Get depth from wind_speed where value exceeds the maximum depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068568 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: reading, qc, type, ts
Sensor: snow_depth | fields: reading, lon, lat, level
Task: Retrieve value from sunlight with depth above the MAX(depth) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068569 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: lat, value, ts, reading
Sensor: sunlight | fields: depth, ts, unit, value
Task: Retrieve value from uv_index whose unit is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068570 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: type, level, depth, qc
Sensor: humidity | fields: qc, lat, reading, type
Task: Retrieve reading from air_quality whose type is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068571 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: reading, level, ts, value
Sensor: wind_speed | fields: lon, qc, depth, ts
Task: Retrieve level from visibility with reading above the COUNT(value) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068572 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: reading, lon, level, depth
Sensor: temperature | fields: depth, level, type, ts
Task: Retrieve value from uv_index whose unit is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068573 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: unit, lon, depth, type
Sensor: dew_point | fields: ts, unit, lon, level
Task: Retrieve reading from lightning whose ts is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068574 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: level, lon, qc, unit
Sensor: evaporation | fields: unit, ts, value, reading
Task: Get lat from snow_depth where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068575 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: ts, depth, unit, qc
Sensor: visibility | fields: reading, value, type, level
Task: Retrieve depth from air_quality that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068576 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: unit, qc, reading, ts
Sensor: sunlight | fields: value, lon, qc, type
Task: Retrieve lon from rainfall whose depth is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068577 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: depth, level, qc, lon
Sensor: lightning | fields: unit, level, lat, type
Task: Get lon from drought_index where depth exceeds the average reading from lightning for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068578 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, type, lat, lon
Sensor: sunlight | fields: lat, unit, depth, lon
Task: Retrieve lon from cloud_cover whose ts is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068579 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, ts, reading, level
Sensor: rainfall | fields: reading, qc, unit, level
Task: Retrieve reading from wind_speed whose depth is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068580 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: depth, unit, value, ts
Sensor: cloud_cover | fields: lon, level, depth, reading
Task: Retrieve value from rainfall that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068581 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: lat, level, unit, lon
Sensor: frost | fields: level, lat, qc, unit
Task: Fetch depth from rainfall where value is greater than the total of value in frost for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068582 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: lat, qc, unit, lon
Sensor: lightning | fields: level, lon, depth, unit
Task: Retrieve lat from uv_index whose ts is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068583 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: type, ts, lat, reading
Sensor: turbidity | fields: qc, depth, level, value
Task: Get depth from humidity where value exceeds the count of depth from turbidity for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068584 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: lat, unit, type, depth
Sensor: evaporation | fields: lat, depth, level, unit
Task: Retrieve reading from soil_moisture with depth above the COUNT(depth) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068585 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, value, level, reading
Sensor: soil_moisture | fields: value, unit, lat, level
Task: Retrieve reading from cloud_cover with reading above the COUNT(depth) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068586 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: qc, type, lon, level
Sensor: evaporation | fields: level, lat, qc, reading
Task: Retrieve depth from uv_index that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068587 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: reading, ts, type, qc
Sensor: drought_index | fields: depth, unit, level, lon
Task: Fetch depth from uv_index that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068588 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: lon, ts, level, unit
Sensor: drought_index | fields: lon, value, lat, depth
Task: Get lon from rainfall where depth appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068589 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, level, lat, value
Sensor: cloud_cover | fields: ts, level, lat, depth
Task: Retrieve reading from soil_moisture that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068590 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: reading, lat, value, unit
Sensor: lightning | fields: unit, level, reading, qc
Task: Retrieve value from sunlight that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068591 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: unit, qc, value, ts
Sensor: soil_moisture | fields: qc, lat, type, depth
Task: Retrieve lon from visibility with reading above the COUNT(reading) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"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_068592 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: reading, ts, unit, value
Sensor: pressure | fields: ts, depth, lon, qc
Task: Retrieve value from humidity whose unit is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068593 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: unit, lat, qc, depth
Sensor: visibility | fields: qc, type, lat, ts
Task: Fetch lat from wind_speed where type exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068594 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: lon, qc, level, type
Sensor: drought_index | fields: value, qc, depth, lat
Task: Fetch reading from temperature that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068595 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: level, reading, ts, type
Sensor: uv_index | fields: depth, ts, level, lon
Task: Get lon from visibility where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068596 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: reading, lat, qc, value
Sensor: uv_index | fields: level, reading, lon, value
Task: Fetch lat from drought_index where depth is greater than the average of reading in uv_index for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068597 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: depth, qc, lat, reading
Sensor: lightning | fields: ts, value, reading, depth
Task: Fetch reading from air_quality where type exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068598 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: level, reading, lon, unit
Sensor: pressure | fields: level, value, reading, type
Task: Retrieve level from air_quality with value above the COUNT(value) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.