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: air_quality | code: stn | fields: depth, ts, type, reading
Sensor: sunlight | fields: depth, unit, lat, ts
Task: Fetch depth from air_quality that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000900 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, reading, qc, unit
Sensor: humidity | fields: value, level, ts, reading
Task: Retrieve depth from cloud_cover with depth above the MIN(reading) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000901 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: reading, depth, level, type
Sensor: soil_moisture | fields: type, qc, unit, level
Task: Fetch lon from humidity that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000902 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: type, qc, reading, value
Sensor: temperature | fields: level, lat, unit, reading
Task: Fetch lon from snow_depth where unit exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000903 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: ts, qc, lon, unit
Sensor: soil_moisture | fields: unit, lon, depth, lat
Task: Get depth from dew_point where depth exceeds the total reading from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000904 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: qc, reading, type, level
Sensor: turbidity | fields: qc, value, lat, unit
Task: Get depth from evaporation where depth exceeds the minimum value from turbidity for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000905 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: depth, value, ts, lat
Sensor: rainfall | fields: unit, reading, type, value
Task: Get lon from sunlight where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000906 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, depth, qc, unit
Sensor: rainfall | fields: type, lon, value, reading
Task: Get lon from snow_depth where reading exceeds the minimum value from rainfall for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000907 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: lon, unit, ts, value
Sensor: visibility | fields: lat, type, reading, lon
Task: Retrieve depth from rainfall whose unit is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000908 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: ts, qc, level, type
Sensor: dew_point | fields: qc, type, value, depth
Task: Fetch reading from rainfall where depth is greater than the minimum of reading in dew_point for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000909 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: lat, unit, level, type
Sensor: cloud_cover | fields: depth, qc, type, lon
Task: Retrieve value from snow_depth with depth above the SUM(depth) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000910 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: level, value, lat, qc
Sensor: sunlight | fields: value, ts, unit, lon
Task: Fetch level from humidity where depth is greater than the maximum of reading in sunlight for matching type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000911 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: unit, qc, depth, value
Sensor: sunlight | fields: depth, lat, unit, level
Task: Fetch level from cloud_cover where qc exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000912 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: lon, ts, level, reading
Sensor: turbidity | fields: value, lat, qc, lon
Task: Get depth from wind_speed where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000913 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, qc, type, value
Sensor: uv_index | fields: ts, unit, level, reading
Task: Get level from snow_depth where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000914 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: ts, value, lat, depth
Sensor: snow_depth | fields: unit, reading, lat, value
Task: Retrieve lat from drought_index with reading above the MIN(value) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000915 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: lat, ts, level, unit
Sensor: pressure | fields: ts, type, depth, unit
Task: Fetch value from turbidity where depth exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000916 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: value, reading, ts, lat
Sensor: temperature | fields: level, qc, reading, type
Task: Get value from turbidity where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000917 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: unit, lat, type, depth
Sensor: cloud_cover | fields: lon, qc, type, reading
Task: Fetch depth from uv_index that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000918 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: depth, type, qc, level
Sensor: humidity | fields: ts, reading, unit, depth
Task: Retrieve value from uv_index whose depth is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000919 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: level, lat, qc, lon
Sensor: humidity | fields: value, level, reading, depth
Task: Get reading from sunlight where unit appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000920 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: qc, reading, level, lat
Sensor: dew_point | fields: level, unit, lon, type
Task: Retrieve value from turbidity whose qc is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000921 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: lat, depth, unit, lon
Sensor: frost | fields: reading, ts, lon, qc
Task: Retrieve depth from temperature whose qc is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000922 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: type, depth, reading, lat
Sensor: turbidity | fields: qc, ts, lon, depth
Task: Get lat from humidity where type appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000923 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: ts, depth, reading, value
Sensor: dew_point | fields: lat, value, type, qc
Task: Get level from air_quality where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000924 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: unit, value, reading, lon
Sensor: lightning | fields: type, unit, value, qc
Task: Get value from air_quality where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000925 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: reading, qc, depth, unit
Sensor: pressure | fields: unit, value, type, depth
Task: Fetch value from visibility where ts exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000926 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: ts, lon, type, qc
Sensor: snow_depth | fields: reading, ts, depth, qc
Task: Retrieve reading from lightning whose ts is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000927 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: unit, type, reading, depth
Sensor: frost | fields: unit, lat, level, depth
Task: Fetch level from rainfall where qc exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000928 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: lat, qc, ts, unit
Sensor: sunlight | fields: unit, level, value, lat
Task: Fetch level from frost that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000929 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: level, ts, value, depth
Sensor: sunlight | fields: reading, level, qc, ts
Task: Get value from lightning where reading exceeds the maximum value from sunlight for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"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_000930 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: reading, unit, ts, type
Sensor: uv_index | fields: reading, ts, lat, depth
Task: Fetch lat from drought_index where type exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000931 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, lon, unit, lat
Sensor: soil_moisture | fields: unit, value, type, qc
Task: Retrieve value from cloud_cover that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000932 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: lat, unit, qc, lon
Sensor: visibility | fields: level, type, unit, lat
Task: Get value from dew_point where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000933 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: lat, value, reading, ts
Sensor: soil_moisture | fields: depth, lon, type, reading
Task: Get lon from pressure where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000934 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, reading, qc, unit
Sensor: lightning | fields: depth, lat, ts, lon
Task: Retrieve depth from snow_depth that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000935 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: qc, lon, level, unit
Sensor: air_quality | fields: ts, depth, value, lat
Task: Get reading from dew_point where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000936 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: level, lat, type, depth
Sensor: drought_index | fields: value, reading, ts, lat
Task: Get depth from sunlight where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000937 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: value, lon, unit, level
Sensor: evaporation | fields: value, ts, unit, qc
Task: Fetch reading from dew_point where reading is greater than the average of depth in evaporation for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000938 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: qc, value, lon, reading
Sensor: evaporation | fields: value, lon, lat, unit
Task: Get depth from sunlight where value exceeds the count of reading from evaporation for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"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_000939 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: depth, qc, lat, lon
Sensor: pressure | fields: depth, lat, ts, type
Task: Fetch depth from evaporation that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000940 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: lon, qc, lat, type
Sensor: frost | fields: depth, level, qc, ts
Task: Get lat from wind_speed where depth appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000941 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: qc, lon, unit, ts
Sensor: soil_moisture | fields: lat, type, qc, depth
Task: Get reading from visibility where depth exceeds the minimum reading from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"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_000942 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: level, lon, ts, type
Sensor: humidity | fields: value, qc, level, lat
Task: Retrieve lat from visibility with reading above the COUNT(value) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000943 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: lat, depth, type, value
Sensor: wind_speed | fields: reading, depth, type, level
Task: Get lat from drought_index where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000944 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: reading, lon, level, depth
Sensor: frost | fields: qc, level, unit, lon
Task: Get depth from temperature where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000945 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: value, type, depth, lon
Sensor: sunlight | fields: lon, reading, type, value
Task: Fetch lat from temperature that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000946 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: type, ts, unit, depth
Sensor: air_quality | fields: unit, lon, reading, ts
Task: Retrieve lat from cloud_cover with reading above the MAX(reading) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000947 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: unit, reading, value, type
Sensor: evaporation | fields: unit, value, reading, level
Task: Retrieve depth from wind_speed that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000948 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: type, depth, lon, value
Sensor: frost | fields: lat, level, lon, reading
Task: Fetch lat from evaporation where reading is greater than the minimum of value in frost for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000949 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: level, lon, ts, unit
Sensor: soil_moisture | fields: qc, depth, ts, value
Task: Fetch depth from visibility where unit exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000950 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: reading, value, depth, level
Sensor: turbidity | fields: type, reading, qc, ts
Task: Fetch level from drought_index where ts exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000951 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: lon, qc, ts, level
Sensor: uv_index | fields: value, qc, level, lat
Task: Retrieve level from frost whose type is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000952 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: depth, type, level, unit
Sensor: air_quality | fields: depth, ts, reading, lon
Task: Retrieve level from humidity with depth above the MIN(depth) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000953 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: ts, lon, qc, level
Sensor: snow_depth | fields: depth, qc, type, value
Task: Fetch lat from drought_index that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000954 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, lat, value, qc
Sensor: evaporation | fields: value, reading, ts, type
Task: Retrieve level from wind_speed whose type is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000955 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: ts, lat, qc, lon
Sensor: visibility | fields: type, value, reading, unit
Task: Retrieve value from temperature that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000956 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: lon, depth, type, reading
Sensor: cloud_cover | fields: depth, unit, type, lat
Task: Fetch value from air_quality that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000957 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: qc, type, value, lon
Sensor: snow_depth | fields: value, depth, unit, lon
Task: Fetch value from temperature where ts exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000958 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: ts, unit, lon, lat
Sensor: air_quality | fields: value, ts, unit, qc
Task: Fetch lat from turbidity where depth is greater than the maximum of depth in air_quality for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000959 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, lon, lat, unit
Sensor: visibility | fields: value, lat, level, lon
Task: Retrieve lat from wind_speed with value above the COUNT(value) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000960 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: reading, level, ts, lat
Sensor: evaporation | fields: level, unit, value, lat
Task: Fetch level from dew_point that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000961 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: level, ts, unit, value
Sensor: humidity | fields: type, qc, ts, lon
Task: Get lat from dew_point where depth exceeds the count of reading from humidity for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000962 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: qc, value, level, depth
Sensor: drought_index | fields: lon, depth, value, ts
Task: Get depth from sunlight where value exceeds the total depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000963 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: lon, unit, depth, value
Sensor: uv_index | fields: depth, lon, type, unit
Task: Get reading from visibility where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000964 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: qc, level, depth, lon
Sensor: dew_point | fields: value, type, depth, qc
Task: Retrieve value from evaporation with reading above the COUNT(value) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000965 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: reading, depth, lon, lat
Sensor: snow_depth | fields: lat, type, reading, unit
Task: Retrieve lon from visibility whose unit is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000966 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: type, level, qc, unit
Sensor: humidity | fields: ts, qc, reading, lat
Task: Fetch lat from pressure that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000967 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, depth, qc, type
Sensor: snow_depth | fields: reading, level, lat, type
Task: Retrieve value from soil_moisture whose unit is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000968 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lon, depth, reading, unit
Sensor: frost | fields: level, reading, lon, unit
Task: Get lat from turbidity where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000969 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, qc, ts, unit
Sensor: rainfall | fields: depth, reading, ts, level
Task: Get depth from wind_speed where qc appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000970 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: depth, value, lon, level
Sensor: wind_speed | fields: type, value, qc, reading
Task: Fetch reading from humidity where depth exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000971 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: type, unit, qc, reading
Sensor: frost | fields: lon, lat, type, qc
Task: Fetch level from dew_point where unit exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000972 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: level, lat, ts, reading
Sensor: dew_point | fields: unit, level, qc, lat
Task: Get reading from evaporation where reading exceeds the count of depth from dew_point for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000973 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: ts, type, reading, level
Sensor: uv_index | fields: value, lon, type, ts
Task: Get depth from evaporation where unit appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000974 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: lon, depth, lat, unit
Sensor: drought_index | fields: unit, type, lon, qc
Task: Get level from uv_index where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000975 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, value, level, ts
Sensor: air_quality | fields: qc, reading, lat, lon
Task: Fetch value from cloud_cover where unit exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000976 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: qc, depth, ts, value
Sensor: turbidity | fields: ts, unit, lon, qc
Task: Fetch value from drought_index where reading is greater than the average of value in turbidity for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000977 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: type, ts, lon, unit
Sensor: lightning | fields: depth, qc, level, value
Task: Fetch lon from uv_index where depth is greater than the minimum of value in lightning for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000978 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: depth, lon, lat, ts
Sensor: visibility | fields: lat, type, depth, ts
Task: Retrieve lat from lightning that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000979 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: depth, qc, lon, value
Sensor: uv_index | fields: level, lon, value, qc
Task: Get depth from temperature where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000980 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, reading, level, unit
Sensor: turbidity | fields: type, lat, unit, reading
Task: Retrieve reading from cloud_cover whose unit is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000981 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: qc, reading, lat, ts
Sensor: visibility | fields: reading, unit, type, value
Task: Get lat from rainfall where depth exceeds the minimum depth from visibility for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000982 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: qc, lat, value, depth
Sensor: rainfall | fields: value, qc, unit, type
Task: Fetch lon from uv_index where type exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000983 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, value, reading, unit
Sensor: sunlight | fields: level, lon, unit, depth
Task: Retrieve value from snow_depth that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000984 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: qc, lon, level, depth
Sensor: humidity | fields: type, qc, lat, unit
Task: Retrieve lat from visibility that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000985 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, ts, depth, level
Sensor: soil_moisture | fields: reading, qc, unit, ts
Task: Fetch value from snow_depth that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000986 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lon, value, qc, level
Sensor: cloud_cover | fields: value, type, qc, unit
Task: Retrieve lat from sunlight that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000987 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, unit, level, qc
Sensor: turbidity | fields: qc, depth, value, unit
Task: Fetch depth from cloud_cover where depth is greater than the count of of depth in turbidity for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"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_000988 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: reading, type, lon, level
Sensor: soil_moisture | fields: value, ts, qc, lat
Task: Get lon from uv_index where depth exceeds the total value from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000989 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: unit, qc, type, lon
Sensor: humidity | fields: unit, type, qc, level
Task: Get level from turbidity where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000990 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: depth, qc, lat, type
Sensor: evaporation | fields: level, depth, lat, reading
Task: Fetch depth from visibility where value is greater than the count of of reading in evaporation for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000991 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: value, depth, type, reading
Sensor: dew_point | fields: lat, lon, depth, ts
Task: Retrieve reading from lightning whose depth is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000992 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: lon, unit, depth, qc
Sensor: humidity | fields: lon, depth, ts, type
Task: Retrieve lat from dew_point that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000993 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: level, ts, depth, lon
Sensor: turbidity | fields: lon, value, type, lat
Task: Get level from uv_index where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000994 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: value, unit, reading, lon
Sensor: air_quality | fields: lat, depth, unit, level
Task: Get depth from pressure where value exceeds the count of reading from air_quality for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000995 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: value, type, level, unit
Sensor: drought_index | fields: unit, level, lat, lon
Task: Retrieve lat from soil_moisture that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000996 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, level, ts, qc
Sensor: uv_index | fields: lat, reading, value, level
Task: Retrieve lon from cloud_cover whose depth is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000997 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: depth, value, type, level
Sensor: frost | fields: qc, value, ts, depth
Task: Get reading from snow_depth where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000998 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: qc, level, ts, depth
Sensor: lightning | fields: lat, level, value, ts
Task: Fetch lon from sunlight where unit exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.