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: frost | code: hub | fields: ts, value, lon, type
Sensor: soil_moisture | fields: lon, level, lat, reading
Task: Fetch reading from frost that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018600 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: ts, value, qc, reading
Sensor: uv_index | fields: lat, value, type, unit
Task: Fetch value from drought_index where depth is greater than the average of value in uv_index for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018601 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: type, unit, qc, value
Sensor: wind_speed | fields: depth, lat, ts, unit
Task: Retrieve lat from pressure whose ts is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018602 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: lat, unit, reading, level
Sensor: rainfall | fields: value, ts, type, level
Task: Fetch lon from pressure where ts exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018603 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: value, type, lat, unit
Sensor: turbidity | fields: value, unit, lat, lon
Task: Retrieve level from air_quality whose type is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018604 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: type, reading, lon, level
Sensor: sunlight | fields: lon, type, qc, ts
Task: Get lat from drought_index where depth exceeds the maximum value from sunlight for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018605 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: reading, lon, value, ts
Sensor: sunlight | fields: reading, type, lon, lat
Task: Retrieve lon from humidity with value above the COUNT(depth) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018606 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: depth, value, qc, unit
Sensor: temperature | fields: type, qc, depth, reading
Task: Retrieve lat from sunlight with value above the MIN(depth) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018607 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: level, ts, lat, qc
Sensor: wind_speed | fields: depth, reading, value, lon
Task: Fetch lat from snow_depth where depth is greater than the count of of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018608 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: qc, reading, lon, unit
Sensor: turbidity | fields: level, qc, value, depth
Task: Get depth from dew_point where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018609 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: value, lon, type, lat
Sensor: wind_speed | fields: lat, qc, type, lon
Task: Retrieve depth from temperature that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018610 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: type, ts, qc, value
Sensor: wind_speed | fields: level, value, reading, lat
Task: Retrieve level from uv_index whose ts is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018611 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: value, lon, unit, reading
Sensor: humidity | fields: value, type, qc, level
Task: Fetch lat from cloud_cover where value is greater than the average of depth in humidity for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018612 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: value, type, unit, lat
Sensor: turbidity | fields: lon, ts, level, depth
Task: Get reading from soil_moisture where depth appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018613 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: lat, type, lon, unit
Sensor: snow_depth | fields: lon, level, lat, type
Task: Get level from rainfall where qc appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018614 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: lat, level, unit, ts
Sensor: rainfall | fields: value, reading, unit, qc
Task: Fetch lon from lightning where unit exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018615 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: unit, ts, lat, value
Sensor: rainfall | fields: unit, qc, lat, lon
Task: Fetch lon from humidity that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018616 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: reading, level, qc, value
Sensor: visibility | fields: type, ts, unit, reading
Task: Get level from lightning where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018617 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: value, type, lat, reading
Sensor: pressure | fields: ts, lon, reading, level
Task: Retrieve lat from wind_speed that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018618 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: lon, depth, lat, level
Sensor: snow_depth | fields: type, qc, reading, value
Task: Fetch lat from drought_index that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018619 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: lon, value, lat, reading
Sensor: air_quality | fields: value, lon, level, type
Task: Retrieve depth from frost with depth above the AVG(depth) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018620 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: value, ts, type, lon
Sensor: lightning | fields: lon, type, unit, lat
Task: Get reading from drought_index where reading exceeds the maximum depth from lightning for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018621 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: ts, unit, type, depth
Sensor: evaporation | fields: type, depth, level, reading
Task: Get lon from dew_point where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018622 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, type, lon, level
Sensor: snow_depth | fields: type, reading, value, level
Task: Retrieve lat from cloud_cover whose unit is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018623 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, qc, lon, type
Sensor: pressure | fields: qc, type, lon, level
Task: Get reading from soil_moisture where ts appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018624 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: depth, lat, unit, ts
Sensor: lightning | fields: depth, lat, type, lon
Task: Get level from snow_depth where depth exceeds the total depth from lightning for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018625 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: type, unit, depth, level
Sensor: uv_index | fields: type, unit, level, ts
Task: Get depth from turbidity where value exceeds the total value from uv_index for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018626 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: reading, qc, ts, level
Sensor: uv_index | fields: ts, type, value, unit
Task: Retrieve reading from temperature that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018627 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, qc, depth, value
Sensor: lightning | fields: depth, unit, lon, qc
Task: Get lon from soil_moisture where depth exceeds the count of depth from lightning for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018628 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: unit, lat, ts, lon
Sensor: snow_depth | fields: lon, value, type, reading
Task: Fetch lat from dew_point that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018629 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: ts, level, type, qc
Sensor: air_quality | fields: level, value, reading, type
Task: Get value from soil_moisture where reading exceeds the minimum depth from air_quality for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018630 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: lat, qc, value, depth
Sensor: temperature | fields: lat, ts, reading, type
Task: Fetch reading from dew_point where value is greater than the average of reading in temperature for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018631 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: reading, ts, type, unit
Sensor: drought_index | fields: unit, lat, value, depth
Task: Fetch depth from sunlight where value is greater than the maximum of value in drought_index for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018632 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: unit, lon, depth, lat
Sensor: humidity | fields: level, reading, lon, type
Task: Fetch reading from drought_index that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018633 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: ts, depth, lon, type
Sensor: cloud_cover | fields: ts, qc, lon, value
Task: Fetch depth from frost where reading is greater than the minimum of reading in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018634 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: qc, depth, level, value
Sensor: turbidity | fields: reading, lon, qc, lat
Task: Get lat from rainfall where type appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018635 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: value, lon, depth, unit
Sensor: frost | fields: value, level, lat, depth
Task: Fetch lon from wind_speed that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018636 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: lat, reading, ts, unit
Sensor: snow_depth | fields: level, type, depth, reading
Task: Retrieve lon from turbidity whose type is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018637 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: qc, ts, level, unit
Sensor: frost | fields: qc, depth, reading, unit
Task: Get reading from pressure where depth exceeds the count of depth from frost for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018638 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, qc, value, reading
Sensor: temperature | fields: unit, lat, type, lon
Task: Retrieve lat from cloud_cover with depth above the SUM(value) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018639 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: depth, unit, value, level
Sensor: soil_moisture | fields: reading, value, lon, type
Task: Get depth from uv_index where depth appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018640 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: value, depth, ts, unit
Sensor: pressure | fields: value, lon, type, lat
Task: Get lat from dew_point where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018641 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: unit, ts, value, type
Sensor: rainfall | fields: lon, qc, depth, unit
Task: Get depth from humidity where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018642 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: level, type, reading, qc
Sensor: snow_depth | fields: lat, lon, depth, level
Task: Fetch reading from air_quality where depth exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018643 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: ts, qc, unit, type
Sensor: rainfall | fields: value, level, depth, reading
Task: Get level from turbidity where ts appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018644 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: lon, value, reading, depth
Sensor: sunlight | fields: depth, qc, ts, unit
Task: Retrieve level from visibility whose ts is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018645 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: unit, depth, reading, value
Sensor: uv_index | fields: depth, reading, qc, lon
Task: Get reading from soil_moisture where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018646 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: reading, qc, ts, depth
Sensor: sunlight | fields: level, type, unit, ts
Task: Retrieve lat from uv_index whose depth is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018647 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: qc, level, type, value
Sensor: soil_moisture | fields: level, lon, qc, ts
Task: Retrieve depth from uv_index that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018648 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, reading, lon, qc
Sensor: sunlight | fields: lat, unit, type, value
Task: Fetch reading from snow_depth where reading is greater than the count of of reading in sunlight for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018649 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: lat, value, depth, ts
Sensor: evaporation | fields: value, reading, level, qc
Task: Fetch lon from uv_index where type exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018650 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: lat, qc, unit, reading
Sensor: uv_index | fields: reading, qc, value, lon
Task: Fetch depth from cloud_cover that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018651 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, type, value, reading
Sensor: frost | fields: qc, lat, depth, type
Task: Get reading from cloud_cover where depth exceeds the count of depth from frost for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018652 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: ts, lon, depth, value
Sensor: temperature | fields: depth, type, ts, unit
Task: Fetch lat from air_quality where value is greater than the average of depth in temperature for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018653 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: depth, level, ts, reading
Sensor: wind_speed | fields: type, unit, reading, value
Task: Fetch lon from drought_index where reading is greater than the maximum of depth in wind_speed for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018654 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: lat, depth, level, lon
Sensor: turbidity | fields: level, value, ts, depth
Task: Retrieve lon from lightning whose type is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018655 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, level, ts, type
Sensor: drought_index | fields: type, value, level, unit
Task: Retrieve depth from cloud_cover that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018656 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: depth, lat, unit, qc
Sensor: snow_depth | fields: reading, value, qc, level
Task: Fetch level from air_quality where reading is greater than the minimum of value in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018657 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: qc, ts, unit, type
Sensor: drought_index | fields: level, reading, lon, ts
Task: Fetch level from frost where value is greater than the total of value in drought_index for matching depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018658 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: reading, type, value, ts
Sensor: pressure | fields: type, level, value, unit
Task: Fetch lat from lightning where depth is greater than the total of reading in pressure for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018659 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: lon, lat, ts, type
Sensor: uv_index | fields: ts, lat, reading, unit
Task: Retrieve value from frost whose ts is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018660 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: value, qc, lat, reading
Sensor: dew_point | fields: qc, value, depth, reading
Task: Fetch depth from drought_index where value is greater than the average of value in dew_point for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018661 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: lon, type, level, reading
Sensor: cloud_cover | fields: type, ts, value, lon
Task: Retrieve depth from sunlight with value above the AVG(depth) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018662 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: ts, level, qc, value
Sensor: visibility | fields: depth, ts, lat, unit
Task: Get lon from uv_index where value exceeds the minimum depth from visibility for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018663 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: unit, reading, depth, lat
Sensor: snow_depth | fields: level, qc, lon, lat
Task: Retrieve depth from uv_index whose depth is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018664 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: value, depth, ts, qc
Sensor: turbidity | fields: lon, reading, type, qc
Task: Get lat from pressure where type appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018665 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: ts, depth, lat, type
Sensor: dew_point | fields: depth, unit, level, qc
Task: Retrieve reading from lightning that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018666 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: lat, value, qc, type
Sensor: lightning | fields: ts, depth, lon, type
Task: Get lat from sunlight where depth appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018667 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, lat, type, unit
Sensor: pressure | fields: ts, lat, qc, unit
Task: Fetch depth from snow_depth where type exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018668 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, ts, value, level
Sensor: drought_index | fields: qc, value, ts, depth
Task: Fetch value from wind_speed where reading is greater than the total of depth in drought_index for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018669 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: ts, qc, lat, level
Sensor: cloud_cover | fields: ts, lat, type, reading
Task: Retrieve level from turbidity that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018670 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: lon, level, value, reading
Sensor: pressure | fields: reading, level, qc, depth
Task: Get depth from drought_index where depth appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018671 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: type, reading, depth, qc
Sensor: frost | fields: lat, unit, ts, type
Task: Get depth from lightning where type appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018672 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: lat, lon, unit, type
Sensor: lightning | fields: level, reading, unit, lat
Task: Retrieve value from air_quality with depth above the AVG(reading) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018673 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: ts, type, qc, depth
Sensor: dew_point | fields: value, level, lat, type
Task: Get depth from drought_index where unit appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018674 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: qc, depth, level, lat
Sensor: uv_index | fields: depth, lat, ts, lon
Task: Get lat from pressure where value exceeds the count of value from uv_index for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018675 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: reading, depth, value, type
Sensor: soil_moisture | fields: type, value, ts, depth
Task: Get lon from air_quality where ts appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018676 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, level, depth, unit
Sensor: frost | fields: unit, level, reading, lat
Task: Fetch reading from cloud_cover that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018677 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: ts, unit, lat, level
Sensor: temperature | fields: unit, ts, qc, reading
Task: Get value from drought_index where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018678 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: type, ts, reading, level
Sensor: sunlight | fields: ts, qc, lat, level
Task: Retrieve value from rainfall that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018679 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, value, reading, lon
Sensor: temperature | fields: lat, value, depth, level
Task: Get lat from wind_speed where type appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018680 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: depth, value, type, unit
Sensor: uv_index | fields: type, ts, lon, unit
Task: Fetch lat from turbidity that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018681 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: type, ts, depth, lat
Sensor: air_quality | fields: level, lat, reading, unit
Task: Get reading from temperature where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018682 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: value, qc, lat, level
Sensor: temperature | fields: level, type, value, reading
Task: Retrieve lat from humidity whose qc is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018683 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, unit, lat, depth
Sensor: visibility | fields: depth, reading, value, unit
Task: Get lat from snow_depth where depth exceeds the count of depth from visibility for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018684 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: level, depth, qc, reading
Sensor: air_quality | fields: ts, unit, depth, reading
Task: Get lat from sunlight where depth exceeds the total reading from air_quality for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018685 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: reading, lon, value, depth
Sensor: snow_depth | fields: qc, depth, type, lat
Task: Fetch lat from evaporation that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018686 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: qc, depth, reading, lon
Sensor: visibility | fields: unit, qc, lat, level
Task: Get value from evaporation where value exceeds the total value from visibility for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018687 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: unit, ts, type, lat
Sensor: sunlight | fields: level, lat, reading, ts
Task: Retrieve reading from soil_moisture with reading above the COUNT(depth) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018688 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: lat, unit, qc, type
Sensor: pressure | fields: depth, ts, lon, qc
Task: Retrieve lon from drought_index whose type is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018689 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: reading, unit, ts, type
Sensor: frost | fields: depth, qc, type, reading
Task: Retrieve level from air_quality that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018690 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: depth, lon, qc, level
Sensor: turbidity | fields: lon, depth, type, ts
Task: Retrieve lat from temperature that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018691 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: type, unit, value, lon
Sensor: soil_moisture | fields: unit, lon, type, value
Task: Get depth from dew_point where type appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018692 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: type, lon, depth, ts
Sensor: turbidity | fields: unit, value, qc, level
Task: Fetch lon from drought_index where depth is greater than the maximum of depth in turbidity for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018693 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: value, depth, reading, qc
Sensor: drought_index | fields: lon, ts, type, value
Task: Get lat from lightning where depth exceeds the total reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018694 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: lon, depth, level, ts
Sensor: lightning | fields: value, ts, type, reading
Task: Fetch lat from dew_point where qc exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018695 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: level, value, lat, lon
Sensor: lightning | fields: qc, level, reading, depth
Task: Fetch depth from evaporation that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018696 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: lat, qc, ts, lon
Sensor: wind_speed | fields: value, lon, unit, qc
Task: Fetch level from dew_point that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018697 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: unit, reading, type, level
Sensor: pressure | fields: unit, qc, lon, lat
Task: Retrieve lon from sunlight with reading above the AVG(value) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018698 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: qc, reading, ts, level
Sensor: sunlight | fields: qc, value, depth, lat
Task: Retrieve level from pressure that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.