variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: qc, level, value, lat
Sensor: humidity | fields: type, reading, unit, lat
Task: Fetch value from cloud_cover that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011600 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: type, unit, lon, reading
Sensor: rainfall | fields: reading, qc, value, depth
Task: Get value from sunlight where value exceeds the maximum value from rainfall for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"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_011601 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: unit, lon, value, qc
Sensor: lightning | fields: unit, depth, qc, ts
Task: Retrieve lon from humidity whose depth is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011602 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: qc, depth, unit, reading
Sensor: snow_depth | fields: value, depth, type, lat
Task: Get lat from rainfall where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011603 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: reading, ts, depth, qc
Sensor: snow_depth | fields: ts, unit, lon, value
Task: Get value from air_quality where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011604 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: type, level, lon, ts
Sensor: rainfall | fields: value, level, lat, qc
Task: Retrieve reading from turbidity with reading above the SUM(reading) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011605 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: value, unit, level, lat
Sensor: pressure | fields: depth, type, level, ts
Task: Retrieve depth from evaporation with reading above the SUM(value) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011606 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, type, ts, lon
Sensor: soil_moisture | fields: unit, ts, depth, type
Task: Get reading from snow_depth where value exceeds the average depth from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011607 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: qc, type, ts, depth
Sensor: uv_index | fields: depth, qc, unit, reading
Task: Fetch level from evaporation where reading is greater than the average of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011608 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: ts, reading, value, level
Sensor: lightning | fields: reading, unit, type, lat
Task: Retrieve lon from evaporation that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011609 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: ts, qc, level, depth
Sensor: cloud_cover | fields: qc, level, value, depth
Task: Get depth from dew_point where value exceeds the maximum value from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011610 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: level, qc, lon, depth
Sensor: pressure | fields: value, type, unit, depth
Task: Fetch level from humidity where ts exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011611 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: qc, type, level, unit
Sensor: snow_depth | fields: qc, ts, reading, value
Task: Retrieve lon from wind_speed with reading above the AVG(value) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011612 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: value, type, unit, depth
Sensor: visibility | fields: type, value, lat, ts
Task: Retrieve reading from turbidity with reading above the SUM(depth) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011613 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: level, type, value, qc
Sensor: turbidity | fields: reading, qc, ts, value
Task: Retrieve lat from cloud_cover with depth above the SUM(value) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011614 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: unit, qc, level, value
Sensor: humidity | fields: depth, qc, lon, reading
Task: Fetch lon from rainfall where value is greater than the average of depth in humidity for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011615 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: lat, level, unit, lon
Sensor: uv_index | fields: value, ts, reading, unit
Task: Fetch value from cloud_cover that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011616 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, type, depth, qc
Sensor: evaporation | fields: type, qc, value, unit
Task: Get lon from soil_moisture where depth appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011617 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: value, qc, unit, lat
Sensor: dew_point | fields: type, level, qc, value
Task: Fetch reading from air_quality where qc exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011618 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, reading, ts, depth
Sensor: frost | fields: depth, lat, level, reading
Task: Retrieve depth from soil_moisture whose qc is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011619 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: depth, reading, qc, unit
Sensor: snow_depth | fields: type, depth, ts, lon
Task: Get value from wind_speed where depth exceeds the count of depth from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011620 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: value, depth, level, unit
Sensor: frost | fields: lat, value, unit, type
Task: Get lat from sunlight where depth exceeds the count of value from frost for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011621 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: lat, lon, type, value
Sensor: uv_index | fields: unit, level, lat, qc
Task: Get lon from wind_speed where reading exceeds the total reading from uv_index for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011622 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: unit, type, lat, value
Sensor: pressure | fields: depth, ts, type, level
Task: Get lat from frost where depth exceeds the average reading from pressure for the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011623 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: level, lon, reading, ts
Sensor: humidity | fields: level, type, reading, value
Task: Get level from wind_speed where depth exceeds the count of reading from humidity for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011624 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: lat, level, type, unit
Sensor: humidity | fields: qc, depth, value, unit
Task: Retrieve lon from visibility that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011625 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: reading, value, qc, depth
Sensor: evaporation | fields: reading, type, value, lon
Task: Retrieve depth from wind_speed that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011626 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: ts, type, level, value
Sensor: lightning | fields: value, ts, unit, level
Task: Get depth from humidity where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011627 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: type, ts, reading, value
Sensor: frost | fields: depth, unit, level, ts
Task: Retrieve lat from temperature with reading above the COUNT(reading) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011628 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: reading, level, unit, lat
Sensor: humidity | fields: lon, depth, level, qc
Task: Get depth from rainfall where value exceeds the count of reading from humidity for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011629 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: lon, qc, ts, reading
Sensor: wind_speed | fields: ts, qc, depth, reading
Task: Get value from air_quality where qc appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011630 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: ts, depth, unit, type
Sensor: uv_index | fields: lon, level, unit, depth
Task: Fetch lat from frost where type exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011631 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: lon, depth, qc, type
Sensor: dew_point | fields: depth, lat, type, level
Task: Fetch lon from turbidity where depth is greater than the count of of depth in dew_point for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011632 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: level, lat, type, lon
Sensor: humidity | fields: level, depth, lat, type
Task: Retrieve level from evaporation that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011633 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: reading, unit, qc, lat
Sensor: sunlight | fields: type, ts, unit, lon
Task: Fetch level from temperature that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"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_011634 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, ts, depth, value
Sensor: turbidity | fields: ts, value, qc, depth
Task: Get depth from snow_depth where value exceeds the total depth from turbidity for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011635 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: qc, value, unit, reading
Sensor: turbidity | fields: reading, depth, ts, lon
Task: Get lon from drought_index where value exceeds the total value from turbidity for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011636 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: lon, level, type, reading
Sensor: sunlight | fields: level, qc, lon, value
Task: Fetch lon from snow_depth where depth exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011637 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: depth, type, value, reading
Sensor: drought_index | fields: qc, unit, depth, reading
Task: Retrieve value from lightning whose unit is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011638 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: level, lat, type, value
Sensor: uv_index | fields: ts, lon, lat, value
Task: Retrieve reading from frost that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011639 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: level, lat, reading, unit
Sensor: drought_index | fields: reading, level, ts, lat
Task: Retrieve reading from visibility that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011640 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: unit, reading, lat, type
Sensor: dew_point | fields: ts, qc, level, lat
Task: Fetch depth from air_quality where unit exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011641 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: type, lat, qc, ts
Sensor: dew_point | fields: lon, level, unit, qc
Task: Fetch reading from soil_moisture where reading is greater than the minimum of reading in dew_point for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011642 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: type, depth, reading, ts
Sensor: frost | fields: reading, ts, lon, value
Task: Get reading from temperature where unit appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011643 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: unit, type, ts, lat
Sensor: snow_depth | fields: qc, reading, type, unit
Task: Retrieve lat from cloud_cover with depth above the MAX(reading) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011644 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: reading, lon, level, value
Sensor: uv_index | fields: unit, type, depth, qc
Task: Fetch depth from rainfall where qc exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011645 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: qc, lon, type, depth
Sensor: humidity | fields: value, lat, lon, type
Task: Get value from rainfall where value exceeds the total value from humidity for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011646 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: lon, value, lat, qc
Sensor: cloud_cover | fields: ts, level, value, type
Task: Get value from frost where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011647 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: depth, lon, level, ts
Sensor: dew_point | fields: type, lon, depth, unit
Task: Get value from cloud_cover where type appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011648 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: qc, lat, unit, depth
Sensor: lightning | fields: value, type, lat, reading
Task: Fetch depth from pressure that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011649 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: reading, level, unit, ts
Sensor: turbidity | fields: value, reading, level, lat
Task: Retrieve lat from cloud_cover with reading above the COUNT(depth) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011650 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, reading, qc, unit
Sensor: sunlight | fields: reading, qc, type, depth
Task: Retrieve level from wind_speed with reading above the AVG(reading) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011651 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: depth, unit, ts, level
Sensor: pressure | fields: type, depth, ts, level
Task: Get lat from air_quality where reading exceeds the average reading from pressure for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011652 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: ts, qc, level, unit
Sensor: soil_moisture | fields: level, type, reading, unit
Task: Retrieve value from frost with value above the MAX(reading) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011653 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: value, unit, ts, type
Sensor: turbidity | fields: unit, depth, ts, type
Task: Retrieve level from soil_moisture whose depth is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011654 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, reading, type, value
Sensor: uv_index | fields: level, type, ts, lat
Task: Retrieve reading from cloud_cover with depth above the COUNT(value) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011655 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: depth, unit, qc, reading
Sensor: rainfall | fields: level, depth, value, qc
Task: Get depth from turbidity where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011656 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: level, unit, lon, type
Sensor: wind_speed | fields: reading, ts, type, value
Task: Fetch level from visibility that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011657 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: type, lon, level, lat
Sensor: rainfall | fields: value, unit, type, ts
Task: Retrieve level from visibility whose depth is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011658 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: type, lat, unit, level
Sensor: visibility | fields: ts, unit, depth, type
Task: Retrieve value from drought_index whose type is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011659 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, unit, qc, level
Sensor: evaporation | fields: level, unit, type, lat
Task: Get level from cloud_cover where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011660 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: type, unit, level, lon
Sensor: humidity | fields: ts, unit, value, depth
Task: Retrieve lat from uv_index with reading above the MAX(depth) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011661 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: ts, qc, depth, lat
Sensor: temperature | fields: lat, type, reading, value
Task: Fetch value from visibility that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011662 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: unit, reading, lat, value
Sensor: dew_point | fields: type, qc, value, reading
Task: Get lon from lightning where unit appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011663 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: lat, lon, unit, reading
Sensor: air_quality | fields: qc, level, reading, value
Task: Fetch level from visibility that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011664 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: reading, value, level, unit
Sensor: wind_speed | fields: qc, unit, type, depth
Task: Fetch lat from air_quality that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011665 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: value, type, reading, depth
Sensor: evaporation | fields: depth, reading, value, level
Task: Retrieve level from temperature that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011666 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: lat, reading, type, value
Sensor: snow_depth | fields: lon, depth, qc, type
Task: Fetch depth from lightning where ts exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011667 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: level, reading, lat, type
Sensor: cloud_cover | fields: qc, reading, depth, level
Task: Fetch level from snow_depth that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011668 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, lon, qc, lat
Sensor: visibility | fields: unit, type, qc, depth
Task: Fetch reading from soil_moisture where depth is greater than the total of value in visibility for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011669 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: type, ts, qc, reading
Sensor: uv_index | fields: level, lat, value, ts
Task: Get reading from turbidity where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011670 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: lat, type, reading, depth
Sensor: soil_moisture | fields: lon, qc, depth, value
Task: Get reading from drought_index where type appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011671 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: type, reading, qc, level
Sensor: drought_index | fields: reading, qc, lon, ts
Task: Fetch depth from temperature where type exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011672 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: reading, lat, value, unit
Sensor: air_quality | fields: qc, reading, lat, level
Task: Retrieve reading from sunlight whose type is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011673 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, value, level, unit
Sensor: evaporation | fields: reading, qc, ts, value
Task: Fetch lat from snow_depth where depth is greater than the average of reading in evaporation for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011674 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: qc, type, ts, reading
Sensor: uv_index | fields: reading, depth, qc, lon
Task: Fetch reading from evaporation that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011675 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: unit, lon, value, type
Sensor: dew_point | fields: lon, level, unit, depth
Task: Get value from drought_index where ts appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011676 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: unit, level, reading, ts
Sensor: rainfall | fields: lon, type, unit, level
Task: Retrieve level from evaporation that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011677 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: unit, level, value, depth
Sensor: sunlight | fields: unit, lat, reading, depth
Task: Fetch reading from humidity where depth is greater than the count of of depth in sunlight for matching type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011678 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: qc, unit, value, lat
Sensor: uv_index | fields: level, qc, ts, depth
Task: Get depth from temperature where depth appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011679 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: value, level, lon, depth
Sensor: turbidity | fields: level, lon, depth, ts
Task: Retrieve lat from evaporation that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011680 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: lat, qc, depth, level
Sensor: snow_depth | fields: reading, lat, ts, unit
Task: Retrieve level from humidity whose type is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011681 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, reading, type, unit
Sensor: uv_index | fields: qc, level, reading, value
Task: Fetch value from wind_speed where ts exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011682 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: type, ts, depth, qc
Sensor: sunlight | fields: unit, lat, qc, ts
Task: Get level from rainfall where type appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011683 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: ts, qc, lon, unit
Sensor: sunlight | fields: depth, lat, unit, reading
Task: Retrieve lat from uv_index whose type is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011684 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: ts, qc, type, value
Sensor: frost | fields: unit, qc, depth, lon
Task: Retrieve lon from rainfall with reading above the MAX(value) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011685 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: unit, type, level, qc
Sensor: air_quality | fields: value, level, type, unit
Task: Get lon from frost where type appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011686 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: reading, lat, qc, type
Sensor: lightning | fields: type, lon, reading, value
Task: Retrieve lon from soil_moisture whose unit is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011687 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, lat, reading, lon
Sensor: soil_moisture | fields: lat, ts, level, type
Task: Get lat from cloud_cover where reading exceeds the maximum reading from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011688 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: reading, level, qc, type
Sensor: lightning | fields: lon, qc, ts, reading
Task: Get level from uv_index where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011689 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, value, ts, depth
Sensor: dew_point | fields: level, lat, reading, depth
Task: Retrieve lat from soil_moisture with reading above the MIN(reading) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011690 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: reading, level, type, qc
Sensor: humidity | fields: reading, qc, lat, value
Task: Get level from sunlight where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011691 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: unit, lat, qc, reading
Sensor: humidity | fields: lon, lat, value, level
Task: Get lat from pressure where qc appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011692 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: qc, depth, type, reading
Sensor: cloud_cover | fields: depth, value, qc, lat
Task: Fetch depth from air_quality that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011693 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: reading, lat, type, lon
Sensor: sunlight | fields: ts, depth, qc, lon
Task: Get value from humidity where depth appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011694 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: type, lon, value, qc
Sensor: turbidity | fields: ts, lon, depth, value
Task: Retrieve depth from dew_point with value above the AVG(value) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011695 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: lat, ts, lon, depth
Sensor: visibility | fields: lat, reading, value, qc
Task: Fetch depth from frost that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011696 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: reading, ts, depth, qc
Sensor: rainfall | fields: reading, ts, lon, type
Task: Retrieve depth from visibility that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011697 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: lat, ts, type, depth
Sensor: cloud_cover | fields: type, unit, lat, qc
Task: Get level from rainfall where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011698 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: type, lat, value, reading
Sensor: frost | fields: lon, level, value, reading
Task: Get lat from pressure where depth appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.