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: sunlight | code: thr | fields: value, depth, level, qc
Sensor: dew_point | fields: ts, type, reading, level
Task: Retrieve lon from sunlight whose unit is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000600 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: depth, value, lat, ts
Sensor: frost | fields: value, lon, depth, reading
Task: Fetch level from lightning where reading is greater than the total of value in frost for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000601 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: lon, ts, depth, unit
Sensor: humidity | fields: qc, depth, reading, type
Task: Fetch value from sunlight where qc exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000602 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: qc, level, type, unit
Sensor: humidity | fields: type, qc, lat, lon
Task: Retrieve lon from evaporation whose qc is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000603 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: depth, reading, type, unit
Sensor: snow_depth | fields: lat, reading, unit, type
Task: Get lon from dew_point where depth exceeds the minimum reading from snow_depth for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000604 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: reading, value, depth, qc
Sensor: dew_point | fields: value, type, lon, level
Task: Retrieve level from rainfall that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000605 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: type, qc, ts, lat
Sensor: sunlight | fields: value, depth, qc, lat
Task: Retrieve depth from uv_index with reading above the COUNT(depth) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000606 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: qc, lon, level, reading
Sensor: evaporation | fields: lon, depth, type, unit
Task: Get lat from air_quality where depth appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000607 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: ts, value, type, qc
Sensor: rainfall | fields: unit, depth, reading, lat
Task: Fetch reading from air_quality that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000608 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: ts, lon, unit, reading
Sensor: soil_moisture | fields: reading, lon, unit, ts
Task: Fetch level from dew_point where reading is greater than the minimum of reading in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000609 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: qc, type, unit, lon
Sensor: soil_moisture | fields: unit, type, value, qc
Task: Get reading from temperature where type appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000610 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, unit, type, lon
Sensor: dew_point | fields: reading, lon, level, ts
Task: Get value from wind_speed where depth exceeds the count of depth from dew_point for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000611 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: type, value, lon, unit
Sensor: temperature | fields: qc, type, level, lon
Task: Get depth from frost where value exceeds the average value from temperature for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000612 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: ts, lat, level, unit
Sensor: uv_index | fields: qc, lon, level, reading
Task: Get level from temperature where qc appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000613 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: ts, value, level, lon
Sensor: humidity | fields: unit, level, type, reading
Task: Retrieve level from cloud_cover that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000614 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: lat, reading, value, type
Sensor: uv_index | fields: ts, unit, type, lon
Task: Fetch value from cloud_cover where value is greater than the minimum of value in uv_index for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000615 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: depth, level, lon, reading
Sensor: soil_moisture | fields: lon, unit, ts, lat
Task: Fetch lon from uv_index where type exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000616 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: lat, ts, reading, level
Sensor: humidity | fields: level, reading, value, unit
Task: Get level from cloud_cover where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000617 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: lon, lat, depth, qc
Sensor: frost | fields: reading, level, lon, lat
Task: Retrieve depth from air_quality whose type is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000618 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: unit, type, depth, level
Sensor: evaporation | fields: qc, value, depth, type
Task: Get value from lightning where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000619 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: type, level, depth, qc
Sensor: wind_speed | fields: value, qc, lon, level
Task: Retrieve lat from sunlight that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000620 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: unit, level, depth, ts
Sensor: visibility | fields: value, qc, level, unit
Task: Fetch depth from sunlight where unit exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000621 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: value, qc, reading, type
Sensor: rainfall | fields: ts, depth, qc, level
Task: Retrieve reading from visibility that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000622 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: type, value, reading, unit
Sensor: evaporation | fields: lat, qc, level, value
Task: Retrieve lat from uv_index whose type is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000623 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, qc, unit, value
Sensor: air_quality | fields: type, reading, lat, level
Task: Fetch depth from cloud_cover where reading is greater than the total of depth in air_quality for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000624 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: ts, reading, qc, type
Sensor: temperature | fields: lon, ts, reading, lat
Task: Fetch depth from rainfall where depth is greater than the count of of depth in temperature for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000625 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: level, type, reading, unit
Sensor: temperature | fields: lat, reading, ts, lon
Task: Fetch lon from drought_index that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000626 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, type, depth, unit
Sensor: cloud_cover | fields: type, ts, lat, depth
Task: Fetch lon from soil_moisture where reading is greater than the maximum of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000627 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: value, level, type, depth
Sensor: soil_moisture | fields: qc, reading, unit, type
Task: Fetch depth from dew_point where ts exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000628 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: lon, value, unit, depth
Sensor: snow_depth | fields: lat, level, ts, reading
Task: Get reading from sunlight where qc appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000629 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: unit, ts, type, depth
Sensor: soil_moisture | fields: qc, reading, depth, lon
Task: Fetch value from snow_depth that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000630 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: ts, unit, lon, lat
Sensor: humidity | fields: depth, type, value, reading
Task: Get value from pressure where type appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000631 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: lat, type, lon, level
Sensor: air_quality | fields: unit, lon, value, depth
Task: Retrieve depth from temperature with reading above the SUM(value) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000632 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: depth, lon, value, ts
Sensor: lightning | fields: level, lat, value, lon
Task: Get lat from sunlight where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000633 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: depth, ts, value, lon
Sensor: snow_depth | fields: lat, lon, level, ts
Task: Fetch lon from rainfall where value is greater than the count of of reading in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"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_000634 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: value, qc, level, type
Sensor: sunlight | fields: ts, level, reading, lon
Task: Retrieve lon from humidity that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000635 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: unit, lat, lon, type
Sensor: pressure | fields: lon, depth, qc, unit
Task: Retrieve value from visibility whose depth is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000636 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: level, ts, unit, lat
Sensor: snow_depth | fields: ts, value, level, qc
Task: Fetch depth from visibility where qc exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000637 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: value, unit, qc, lat
Sensor: air_quality | fields: value, lon, unit, lat
Task: Retrieve level from wind_speed with depth above the COUNT(value) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000638 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: ts, unit, reading, type
Sensor: sunlight | fields: lon, type, depth, reading
Task: Fetch reading from dew_point where reading is greater than the minimum of value in sunlight for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000639 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, reading, level, ts
Sensor: temperature | fields: value, lat, lon, unit
Task: Fetch lat from cloud_cover where reading is greater than the maximum of depth in temperature for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000640 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: level, lon, value, lat
Sensor: evaporation | fields: value, level, ts, lon
Task: Retrieve reading from wind_speed that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000641 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, lat, type, ts
Sensor: frost | fields: type, level, unit, lon
Task: Get depth from cloud_cover where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000642 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: value, qc, reading, lat
Sensor: air_quality | fields: unit, depth, qc, lat
Task: Get lat from humidity where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000643 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: depth, qc, lon, ts
Sensor: rainfall | fields: depth, lon, qc, value
Task: Get value from temperature where unit appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000644 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: level, lon, reading, qc
Sensor: drought_index | fields: ts, depth, lon, level
Task: Get lon from humidity where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000645 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: type, qc, level, unit
Sensor: snow_depth | fields: reading, depth, ts, value
Task: Fetch lat from wind_speed that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000646 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lat, value, type, reading
Sensor: humidity | fields: qc, unit, lat, reading
Task: Retrieve level from sunlight that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000647 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: ts, level, lon, qc
Sensor: soil_moisture | fields: reading, lat, level, unit
Task: Retrieve level from humidity whose qc is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000648 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: lat, type, level, unit
Sensor: sunlight | fields: level, type, ts, depth
Task: Get lat from dew_point where value exceeds the average value from sunlight for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000649 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: qc, level, reading, lon
Sensor: soil_moisture | fields: value, qc, ts, depth
Task: Retrieve value from uv_index that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000650 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: value, reading, unit, lon
Sensor: cloud_cover | fields: unit, reading, lon, value
Task: Fetch depth from dew_point where value is greater than the maximum of depth in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000651 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: ts, value, reading, lon
Sensor: temperature | fields: ts, unit, lat, level
Task: Get lat from evaporation where ts appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000652 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: level, unit, lon, reading
Sensor: visibility | fields: unit, ts, level, type
Task: Fetch lon from drought_index where unit exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000653 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: lat, type, lon, value
Sensor: humidity | fields: qc, type, depth, ts
Task: Get reading from frost where ts appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000654 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: qc, reading, unit, lon
Sensor: lightning | fields: unit, lat, ts, reading
Task: Retrieve level from rainfall with value above the SUM(value) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000655 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: reading, value, unit, level
Sensor: wind_speed | fields: depth, level, type, reading
Task: Retrieve level from snow_depth with reading above the MIN(reading) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000656 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: reading, depth, ts, value
Sensor: dew_point | fields: unit, lat, reading, depth
Task: Retrieve lon from snow_depth whose qc is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000657 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, unit, type, ts
Sensor: snow_depth | fields: reading, level, depth, qc
Task: Get value from soil_moisture where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000658 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: ts, type, depth, lat
Sensor: dew_point | fields: depth, unit, level, qc
Task: Fetch value from air_quality that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000659 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: type, lat, value, reading
Sensor: uv_index | fields: reading, ts, unit, level
Task: Fetch reading from evaporation where type exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000660 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: type, unit, qc, lat
Sensor: frost | fields: level, depth, lon, unit
Task: Retrieve reading from pressure whose ts is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000661 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: lon, qc, ts, unit
Sensor: pressure | fields: lon, level, type, reading
Task: Retrieve lon from dew_point that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000662 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: type, reading, depth, value
Sensor: evaporation | fields: ts, type, lat, lon
Task: Fetch depth from humidity that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000663 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: qc, unit, type, level
Sensor: drought_index | fields: ts, lat, level, unit
Task: Fetch lat from air_quality that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000664 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: type, depth, ts, lat
Sensor: turbidity | fields: unit, lon, depth, qc
Task: Retrieve reading from temperature that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000665 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: unit, ts, level, lat
Sensor: humidity | fields: reading, ts, unit, depth
Task: Fetch depth from wind_speed where value is greater than the maximum of reading in humidity for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000666 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: level, type, value, lon
Sensor: frost | fields: qc, reading, depth, level
Task: Retrieve level from sunlight with depth above the AVG(value) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000667 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: level, lat, lon, qc
Sensor: cloud_cover | fields: ts, type, lat, qc
Task: Retrieve depth from temperature whose depth is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000668 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: reading, unit, ts, type
Sensor: frost | fields: reading, unit, depth, qc
Task: Retrieve lon from soil_moisture with value above the AVG(value) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000669 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: type, lat, level, depth
Sensor: temperature | fields: qc, ts, lon, unit
Task: Get lat from snow_depth where reading exceeds the average value from temperature for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000670 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: level, depth, qc, type
Sensor: wind_speed | fields: value, type, depth, unit
Task: Get level from humidity where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000671 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: ts, qc, level, depth
Sensor: temperature | fields: ts, lon, level, unit
Task: Fetch level from visibility where depth is greater than the maximum of value in temperature for matching type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000672 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: type, lat, qc, unit
Sensor: evaporation | fields: lon, lat, qc, type
Task: Get lon from soil_moisture where qc appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000673 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: unit, reading, level, depth
Sensor: air_quality | fields: qc, lat, level, ts
Task: Get depth from pressure where qc appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000674 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: lon, qc, lat, depth
Sensor: frost | fields: level, type, value, lon
Task: Get reading from dew_point where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000675 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, value, lat, qc
Sensor: visibility | fields: unit, qc, reading, level
Task: Get level from wind_speed where depth exceeds the total depth from visibility for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000676 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: qc, type, level, unit
Sensor: rainfall | fields: level, type, reading, lon
Task: Fetch value from soil_moisture where type exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000677 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: qc, lon, value, ts
Sensor: frost | fields: level, qc, depth, reading
Task: Retrieve reading from sunlight whose unit is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000678 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: lon, reading, qc, level
Sensor: cloud_cover | fields: ts, level, type, value
Task: Get depth from drought_index where unit appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000679 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: qc, depth, lon, unit
Sensor: visibility | fields: qc, level, value, depth
Task: Fetch reading from frost where value is greater than the minimum of reading in visibility for matching depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000680 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: lon, ts, lat, type
Sensor: rainfall | fields: lat, qc, lon, depth
Task: Get depth from lightning where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000681 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: lat, unit, value, reading
Sensor: rainfall | fields: type, qc, unit, lat
Task: Retrieve depth from temperature whose ts is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000682 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: reading, ts, lon, lat
Sensor: drought_index | fields: unit, reading, depth, lon
Task: Retrieve lat from humidity with value above the COUNT(value) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000683 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, unit, lat, depth
Sensor: humidity | fields: lon, depth, type, value
Task: Retrieve reading from cloud_cover with depth above the SUM(depth) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000684 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, value, type, lon
Sensor: humidity | fields: lat, unit, reading, qc
Task: Fetch lat from soil_moisture where value is greater than the count of of reading in humidity for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000685 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: level, unit, type, qc
Sensor: evaporation | fields: ts, unit, lon, type
Task: Get value from soil_moisture where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000686 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, ts, level, lat
Sensor: lightning | fields: depth, level, qc, reading
Task: Fetch lon from wind_speed where value is greater than the average of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000687 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: lon, reading, level, lat
Sensor: turbidity | fields: type, unit, level, lon
Task: Fetch value from frost where depth is greater than the maximum of reading in turbidity for matching unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000688 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, lon, ts, qc
Sensor: frost | fields: reading, lon, lat, unit
Task: Get depth from soil_moisture where value exceeds the count of reading from frost for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000689 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: level, depth, lon, reading
Sensor: dew_point | fields: depth, value, type, lat
Task: Fetch depth from temperature that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000690 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: type, level, reading, lat
Sensor: dew_point | fields: reading, unit, depth, type
Task: Fetch value from pressure where depth is greater than the count of of value in dew_point for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000691 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: lat, value, qc, lon
Sensor: visibility | fields: value, lat, qc, depth
Task: Fetch lat from cloud_cover where depth exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000692 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: qc, value, lon, type
Sensor: wind_speed | fields: depth, qc, lon, ts
Task: Retrieve lat from turbidity with depth above the AVG(value) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000693 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: lon, type, lat, ts
Sensor: humidity | fields: lat, reading, type, lon
Task: Fetch depth from temperature that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000694 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: lat, level, unit, qc
Sensor: turbidity | fields: unit, depth, lat, ts
Task: Get lon from lightning where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000695 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, level, qc, lat
Sensor: soil_moisture | fields: qc, reading, depth, type
Task: Retrieve lon from cloud_cover whose ts is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000696 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, ts, lon, type
Sensor: wind_speed | fields: ts, level, lat, qc
Task: Retrieve reading from cloud_cover that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000697 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: lat, reading, ts, qc
Sensor: rainfall | fields: unit, reading, ts, type
Task: Fetch value from cloud_cover where ts exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000698 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: lat, qc, unit, reading
Sensor: pressure | fields: unit, lon, ts, level
Task: Fetch reading from uv_index where ts exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.