variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: lightning | code: ref | fields: type, depth, ts, reading
Sensor: evaporation | fields: reading, value, qc, lon
Task: Get reading from lightning where ts appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007500 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: value, depth, ts, lat
Sensor: frost | fields: unit, lon, qc, depth
Task: Get depth from drought_index where value exceeds the maximum value from frost for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007501 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: lon, level, depth, qc
Sensor: pressure | fields: level, unit, qc, lon
Task: Get lon from visibility where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007502 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: level, ts, type, reading
Sensor: soil_moisture | fields: depth, lat, qc, type
Task: Get value from cloud_cover where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007503 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: qc, type, value, unit
Sensor: turbidity | fields: lon, level, qc, ts
Task: Fetch reading from frost where value is greater than the minimum of reading in turbidity for matching unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007504 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: level, unit, type, ts
Sensor: cloud_cover | fields: type, level, qc, depth
Task: Get reading from uv_index where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007505 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: lat, lon, depth, type
Sensor: lightning | fields: reading, depth, ts, lon
Task: Get level from humidity where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007506 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: lat, level, type, lon
Sensor: sunlight | fields: lat, qc, value, level
Task: Retrieve depth from humidity whose depth is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007507 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: depth, unit, lon, level
Sensor: temperature | fields: lon, level, qc, unit
Task: Get level from air_quality where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007508 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: reading, lat, depth, qc
Sensor: humidity | fields: unit, qc, lat, ts
Task: Get reading from turbidity where ts appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007509 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: lon, depth, type, ts
Sensor: soil_moisture | fields: reading, lat, ts, level
Task: Fetch reading from evaporation that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007510 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: level, type, unit, value
Sensor: temperature | fields: ts, lon, depth, lat
Task: Get level from drought_index where reading exceeds the average value from temperature for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007511 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: lon, level, lat, ts
Sensor: sunlight | fields: qc, type, depth, ts
Task: Retrieve value from soil_moisture with value above the MAX(depth) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007512 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: lon, level, depth, ts
Sensor: drought_index | fields: ts, lon, reading, type
Task: Get lon from uv_index where value exceeds the minimum reading from drought_index for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007513 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: qc, value, unit, lon
Sensor: turbidity | fields: ts, value, qc, depth
Task: Retrieve level from cloud_cover that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007514 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: level, qc, value, ts
Sensor: snow_depth | fields: depth, qc, unit, level
Task: Fetch reading from temperature that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007515 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, level, reading, unit
Sensor: uv_index | fields: depth, unit, reading, level
Task: Fetch lon from wind_speed where value is greater than the maximum of depth in uv_index for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007516 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: unit, lat, level, reading
Sensor: soil_moisture | fields: level, depth, type, qc
Task: Get lon from visibility where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007517 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: unit, type, depth, lat
Sensor: pressure | fields: value, lat, unit, qc
Task: Fetch lon from turbidity where depth is greater than the count of of value in pressure for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007518 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: ts, level, depth, lon
Sensor: evaporation | fields: reading, ts, level, depth
Task: Get reading from uv_index where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007519 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: lon, ts, value, lat
Sensor: lightning | fields: unit, type, depth, lon
Task: Get lon from air_quality where ts appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007520 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: qc, lon, value, depth
Sensor: pressure | fields: ts, lat, level, type
Task: Get lon from frost where type appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007521 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lon, lat, reading, depth
Sensor: lightning | fields: type, qc, depth, ts
Task: Retrieve value from snow_depth whose qc is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007522 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: ts, lat, qc, type
Sensor: temperature | fields: lon, reading, value, depth
Task: Get level from cloud_cover where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007523 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: unit, ts, type, lon
Sensor: cloud_cover | fields: depth, lat, type, level
Task: Retrieve value from frost with value above the COUNT(reading) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007524 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, value, lat, lon
Sensor: air_quality | fields: ts, type, depth, reading
Task: Fetch depth from wind_speed where unit exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007525 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, unit, level, depth
Sensor: snow_depth | fields: depth, value, lat, type
Task: Get level from cloud_cover where unit appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007526 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: level, unit, ts, reading
Sensor: humidity | fields: lat, reading, qc, ts
Task: Fetch lat from temperature where unit exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007527 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: lon, qc, type, lat
Sensor: evaporation | fields: level, reading, depth, ts
Task: Get lon from wind_speed where value exceeds the count of reading from evaporation for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007528 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: lon, depth, value, lat
Sensor: humidity | fields: type, unit, depth, lon
Task: Fetch reading from rainfall where type exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007529 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: lat, level, depth, lon
Sensor: snow_depth | fields: depth, lon, level, unit
Task: Retrieve reading from pressure with depth above the AVG(depth) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007530 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: level, ts, unit, depth
Sensor: evaporation | fields: depth, type, lon, reading
Task: Get depth from humidity where qc appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007531 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: unit, qc, ts, lon
Sensor: rainfall | fields: value, lat, depth, level
Task: Fetch lat from visibility that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007532 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: lon, level, unit, value
Sensor: snow_depth | fields: unit, depth, value, lat
Task: Get reading from drought_index where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007533 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: ts, qc, type, lon
Sensor: pressure | fields: value, ts, type, lon
Task: Retrieve reading from sunlight that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007534 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: level, depth, value, ts
Sensor: visibility | fields: unit, lat, type, ts
Task: Fetch depth from temperature where value is greater than the average of reading in visibility for matching type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007535 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: reading, unit, level, value
Sensor: air_quality | fields: qc, type, ts, depth
Task: Get reading from cloud_cover where reading exceeds the total depth from air_quality for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007536 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: unit, value, qc, reading
Sensor: snow_depth | fields: level, lat, unit, depth
Task: Fetch lat from air_quality that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007537 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: lat, level, ts, lon
Sensor: temperature | fields: type, ts, reading, qc
Task: Retrieve level from drought_index with value above the MAX(depth) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007538 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: qc, lon, reading, value
Sensor: sunlight | fields: qc, lat, value, level
Task: Fetch value from drought_index where reading is greater than the total of reading in sunlight for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007539 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: reading, type, ts, value
Sensor: rainfall | fields: lon, depth, qc, ts
Task: Get level from wind_speed where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007540 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: ts, reading, type, unit
Sensor: humidity | fields: level, unit, value, reading
Task: Retrieve lon from lightning that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007541 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: type, lat, depth, qc
Sensor: sunlight | fields: lon, lat, type, reading
Task: Retrieve level from rainfall whose unit is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007542 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: reading, qc, level, value
Sensor: sunlight | fields: value, lat, reading, type
Task: Fetch value from dew_point where qc exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007543 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: reading, qc, level, value
Sensor: frost | fields: lon, lat, ts, reading
Task: Get level from humidity where depth exceeds the count of value from frost for the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007544 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: qc, value, lon, unit
Sensor: evaporation | fields: unit, ts, level, reading
Task: Fetch lat from humidity where depth is greater than the average of depth in evaporation for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007545 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: unit, depth, type, level
Sensor: evaporation | fields: unit, lat, level, reading
Task: Fetch lat from air_quality that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007546 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: reading, unit, ts, qc
Sensor: turbidity | fields: type, value, depth, reading
Task: Retrieve lat from evaporation with value above the COUNT(reading) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007547 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: qc, value, reading, type
Sensor: frost | fields: lat, level, value, ts
Task: Get lon from drought_index where depth exceeds the total reading from frost for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007548 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: qc, ts, value, type
Sensor: sunlight | fields: lon, depth, level, lat
Task: Fetch depth from turbidity where unit exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007549 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: qc, unit, ts, level
Sensor: dew_point | fields: depth, unit, type, value
Task: Fetch level from air_quality where depth exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007550 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: ts, lon, value, type
Sensor: sunlight | fields: lat, reading, depth, ts
Task: Fetch depth from soil_moisture where reading is greater than the count of of value in sunlight for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007551 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, type, reading, qc
Sensor: pressure | fields: lon, type, unit, depth
Task: Get depth from soil_moisture where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007552 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: qc, depth, level, lat
Sensor: evaporation | fields: value, type, ts, lat
Task: Get depth from turbidity where qc appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007553 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: lon, depth, unit, level
Sensor: sunlight | fields: value, unit, qc, level
Task: Fetch lon from drought_index that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007554 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: value, lon, lat, type
Sensor: drought_index | fields: qc, lon, type, reading
Task: Fetch level from humidity where value is greater than the count of of value in drought_index for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007555 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: lon, qc, value, depth
Sensor: soil_moisture | fields: lat, type, ts, qc
Task: Fetch lat from pressure where depth exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007556 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: depth, level, lon, type
Sensor: pressure | fields: depth, lat, lon, reading
Task: Get level from snow_depth where depth exceeds the average depth from pressure for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007557 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: lon, ts, value, depth
Sensor: visibility | fields: ts, type, lon, depth
Task: Get lon from drought_index where qc appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007558 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: ts, depth, lon, qc
Sensor: air_quality | fields: unit, type, qc, lon
Task: Fetch value from drought_index where reading is greater than the total of value in air_quality for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007559 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: type, value, level, qc
Sensor: temperature | fields: reading, qc, ts, unit
Task: Retrieve depth from rainfall with depth above the AVG(value) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007560 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: unit, lat, level, lon
Sensor: air_quality | fields: type, lon, value, reading
Task: Retrieve lon from soil_moisture with depth above the COUNT(reading) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007561 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: lon, depth, value, qc
Sensor: pressure | fields: lon, ts, unit, value
Task: Fetch lon from visibility where reading is greater than the count of of depth in pressure for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007562 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: lat, lon, qc, reading
Sensor: sunlight | fields: depth, ts, lon, lat
Task: Get reading from temperature where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007563 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: lon, qc, lat, depth
Sensor: drought_index | fields: lon, level, qc, ts
Task: Fetch lon from uv_index where value is greater than the minimum of reading in drought_index for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007564 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: type, ts, value, lon
Sensor: wind_speed | fields: type, lon, reading, lat
Task: Fetch level from temperature where unit exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007565 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: value, lat, qc, unit
Sensor: temperature | fields: lon, depth, unit, level
Task: Fetch depth from dew_point where depth is greater than the count of of value in temperature for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007566 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: level, type, qc, unit
Sensor: rainfall | fields: level, lat, lon, depth
Task: Fetch lon from air_quality where ts exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007567 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: qc, level, lon, lat
Sensor: humidity | fields: reading, level, type, unit
Task: Retrieve level from sunlight with value above the AVG(reading) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007568 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: reading, lat, lon, ts
Sensor: uv_index | fields: depth, value, ts, lon
Task: Get lon from pressure where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007569 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: level, unit, reading, type
Sensor: uv_index | fields: reading, type, lon, unit
Task: Fetch depth from lightning that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007570 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: type, value, lat, ts
Sensor: temperature | fields: lat, type, level, value
Task: Get depth from uv_index where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007571 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: level, unit, lon, depth
Sensor: humidity | fields: level, type, ts, qc
Task: Fetch reading from lightning where unit exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007572 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: type, value, unit, level
Sensor: frost | fields: unit, depth, value, qc
Task: Retrieve lon from rainfall that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007573 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: lon, unit, value, ts
Sensor: visibility | fields: qc, ts, unit, lat
Task: Fetch depth from temperature that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007574 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: qc, type, value, reading
Sensor: cloud_cover | fields: lon, depth, qc, reading
Task: Get lon from dew_point where reading exceeds the maximum value from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007575 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: type, depth, lat, level
Sensor: wind_speed | fields: qc, reading, type, ts
Task: Fetch depth from evaporation where ts exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007576 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: type, lat, reading, lon
Sensor: dew_point | fields: unit, reading, type, qc
Task: Get value from uv_index where ts appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007577 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: level, qc, value, unit
Sensor: turbidity | fields: ts, qc, reading, unit
Task: Fetch lat from evaporation where unit exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007578 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: ts, unit, value, level
Sensor: uv_index | fields: lon, level, type, lat
Task: Get level from air_quality where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007579 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: lon, unit, value, depth
Sensor: sunlight | fields: ts, depth, unit, level
Task: Fetch reading from drought_index where value is greater than the minimum of value in sunlight for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007580 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, lat, value, type
Sensor: temperature | fields: level, qc, lon, value
Task: Retrieve lon from snow_depth whose qc is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007581 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: level, lon, value, depth
Sensor: evaporation | fields: ts, lat, type, depth
Task: Retrieve level from soil_moisture that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007582 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: value, lon, reading, type
Sensor: evaporation | fields: unit, lat, level, value
Task: Retrieve lon from humidity with value above the COUNT(value) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007583 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: ts, unit, level, depth
Sensor: humidity | fields: ts, lon, qc, level
Task: Fetch reading from frost where qc exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007584 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: ts, depth, type, level
Sensor: cloud_cover | fields: reading, qc, unit, ts
Task: Get reading from pressure where reading exceeds the minimum value from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007585 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, lat, qc, level
Sensor: pressure | fields: type, lat, level, unit
Task: Get reading from cloud_cover where type appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007586 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: depth, ts, lat, unit
Sensor: lightning | fields: depth, unit, level, reading
Task: Get lat from dew_point where depth exceeds the count of reading from lightning for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007587 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: reading, lon, type, ts
Sensor: humidity | fields: ts, depth, qc, lat
Task: Fetch level from drought_index that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007588 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: unit, reading, lon, value
Sensor: temperature | fields: lat, qc, lon, type
Task: Fetch lon from air_quality where value is greater than the maximum of reading in temperature for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007589 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: level, ts, type, lon
Sensor: cloud_cover | fields: lon, reading, lat, depth
Task: Retrieve depth from pressure with depth above the MIN(reading) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007590 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: reading, lat, value, type
Sensor: air_quality | fields: type, lat, depth, value
Task: Get lat from sunlight where unit appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007591 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: depth, qc, lat, lon
Sensor: uv_index | fields: ts, type, reading, qc
Task: Retrieve depth from temperature that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007592 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: reading, value, level, unit
Sensor: drought_index | fields: unit, qc, value, reading
Task: Fetch lon from dew_point that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007593 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: reading, level, value, depth
Sensor: temperature | fields: ts, depth, unit, lat
Task: Fetch depth from rainfall that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007594 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: value, unit, qc, reading
Sensor: cloud_cover | fields: lat, reading, depth, ts
Task: Retrieve depth from wind_speed that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007595 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: depth, type, lat, reading
Sensor: frost | fields: depth, lat, reading, qc
Task: Get lon from wind_speed where value exceeds the total depth from frost for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007596 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: qc, unit, type, reading
Sensor: wind_speed | fields: value, lon, ts, type
Task: Fetch depth from temperature where depth is greater than the count of of value in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007597 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: level, unit, value, ts
Sensor: air_quality | fields: reading, value, qc, ts
Task: Fetch lat from uv_index where ts exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007598 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: level, type, ts, depth
Sensor: lightning | fields: level, depth, lon, value
Task: Get depth from visibility where depth appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.