variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: frost | code: thr | fields: depth, value, level, qc
Sensor: rainfall | fields: lat, level, unit, depth
Task: Get reading from frost where depth exceeds the count of depth from rainfall for the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018700 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: value, unit, lon, qc
Sensor: evaporation | fields: qc, reading, level, ts
Task: Fetch reading from wind_speed where value is greater than the maximum of reading in evaporation for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018701 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, unit, qc, reading
Sensor: uv_index | fields: value, qc, reading, depth
Task: Get level from wind_speed where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018702 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: lon, lat, unit, ts
Sensor: lightning | fields: level, type, qc, unit
Task: Retrieve lat from sunlight with reading above the MIN(depth) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018703 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: level, depth, value, lon
Sensor: humidity | fields: level, lon, qc, type
Task: Retrieve lon from rainfall with reading above the COUNT(depth) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"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_018704 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: value, ts, reading, unit
Sensor: evaporation | fields: depth, lon, unit, qc
Task: Retrieve value from cloud_cover whose qc is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018705 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: depth, ts, lat, reading
Sensor: wind_speed | fields: type, reading, value, unit
Task: Get level from sunlight where type appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018706 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: qc, level, ts, type
Sensor: cloud_cover | fields: depth, reading, type, lon
Task: Retrieve lon from dew_point whose type is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018707 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: lon, qc, lat, value
Sensor: drought_index | fields: lon, level, ts, unit
Task: Retrieve value from rainfall whose type is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018708 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, value, lon, level
Sensor: temperature | fields: lon, ts, qc, unit
Task: Get depth from cloud_cover where value exceeds the total reading from temperature for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018709 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: lat, type, unit, reading
Sensor: humidity | fields: value, type, qc, unit
Task: Retrieve lon from temperature that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018710 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: qc, depth, unit, level
Sensor: visibility | fields: type, ts, unit, lon
Task: Fetch value from air_quality where value is greater than the total of depth in visibility for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018711 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: level, lon, value, type
Sensor: rainfall | fields: lat, reading, value, qc
Task: Fetch value from dew_point where type exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018712 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: depth, ts, qc, unit
Sensor: humidity | fields: qc, depth, level, type
Task: Get depth from cloud_cover where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018713 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: depth, value, level, ts
Sensor: wind_speed | fields: value, reading, lon, level
Task: Retrieve lon from rainfall that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018714 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: ts, depth, type, qc
Sensor: evaporation | fields: ts, lon, unit, value
Task: Retrieve lat from temperature whose unit is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018715 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, qc, lat, value
Sensor: turbidity | fields: unit, ts, value, reading
Task: Fetch depth from cloud_cover where qc exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018716 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, qc, depth, type
Sensor: drought_index | fields: qc, level, lon, unit
Task: Retrieve lon from snow_depth whose ts is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018717 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: type, lat, level, reading
Sensor: lightning | fields: lon, type, unit, lat
Task: Fetch value from soil_moisture where depth is greater than the count of of value in lightning for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018718 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: reading, ts, qc, lat
Sensor: lightning | fields: qc, type, reading, unit
Task: Fetch lon from wind_speed that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018719 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: type, lon, unit, qc
Sensor: rainfall | fields: type, unit, qc, lon
Task: Fetch level from pressure that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018720 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: qc, depth, value, unit
Sensor: evaporation | fields: reading, level, value, ts
Task: Get depth from visibility where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018721 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: level, value, lat, type
Sensor: dew_point | fields: ts, depth, level, qc
Task: Retrieve level from turbidity with reading above the SUM(value) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018722 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: reading, lat, ts, value
Sensor: cloud_cover | fields: lat, ts, type, qc
Task: Fetch level from turbidity where value is greater than the count of of value in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018723 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: value, lat, depth, qc
Sensor: humidity | fields: value, ts, qc, type
Task: Fetch level from lightning where ts exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018724 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: level, unit, depth, lon
Sensor: sunlight | fields: type, level, ts, lat
Task: Retrieve lon from wind_speed with depth above the AVG(value) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018725 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: level, lon, depth, type
Sensor: pressure | fields: value, level, qc, lon
Task: Retrieve depth from lightning that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018726 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: type, unit, lon, qc
Sensor: drought_index | fields: lon, type, ts, reading
Task: Fetch lon from frost that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018727 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: lat, lon, unit, type
Sensor: lightning | fields: qc, level, reading, lon
Task: Get reading from air_quality where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018728 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, lon, lat, value
Sensor: pressure | fields: level, reading, depth, ts
Task: Get depth from cloud_cover where reading exceeds the total depth from pressure for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018729 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: qc, level, value, depth
Sensor: humidity | fields: type, unit, reading, ts
Task: Retrieve value from temperature with reading above the AVG(depth) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018730 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: lon, unit, type, value
Sensor: wind_speed | fields: ts, type, qc, unit
Task: Retrieve value from rainfall with reading above the SUM(reading) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018731 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: value, lat, level, depth
Sensor: soil_moisture | fields: lat, depth, unit, value
Task: Fetch lat from humidity where reading is greater than the minimum of depth in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018732 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, unit, value, depth
Sensor: evaporation | fields: qc, lon, type, lat
Task: Retrieve lon from soil_moisture that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018733 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: qc, lat, reading, depth
Sensor: soil_moisture | fields: ts, qc, lon, value
Task: Retrieve reading from turbidity whose unit is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018734 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: level, reading, unit, lon
Sensor: evaporation | fields: type, ts, unit, qc
Task: Fetch lat from lightning where depth exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018735 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: type, ts, unit, level
Sensor: evaporation | fields: lat, qc, level, value
Task: Fetch depth from frost that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018736 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, depth, lon, lat
Sensor: turbidity | fields: level, qc, reading, type
Task: Retrieve lat from snow_depth with reading above the COUNT(depth) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018737 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, level, reading, depth
Sensor: visibility | fields: reading, unit, lon, type
Task: Retrieve lon from snow_depth whose ts is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018738 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: value, lat, lon, level
Sensor: temperature | fields: qc, ts, type, depth
Task: Retrieve lon from rainfall with reading above the COUNT(value) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018739 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: reading, level, lat, ts
Sensor: frost | fields: reading, ts, type, lon
Task: Retrieve reading from temperature that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018740 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: reading, value, level, lon
Sensor: drought_index | fields: level, lat, depth, type
Task: Get lat from rainfall where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018741 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, depth, type, lat
Sensor: temperature | fields: lat, depth, unit, ts
Task: Get depth from cloud_cover where qc appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018742 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: type, depth, value, level
Sensor: rainfall | fields: type, value, lon, ts
Task: Fetch value from evaporation that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018743 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: level, value, ts, qc
Sensor: rainfall | fields: lat, qc, lon, level
Task: Retrieve lon from lightning whose type is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018744 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: ts, lon, unit, lat
Sensor: evaporation | fields: depth, qc, lon, type
Task: Retrieve reading from temperature that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018745 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: level, lon, reading, depth
Sensor: rainfall | fields: unit, lon, value, ts
Task: Get depth from pressure where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018746 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: value, qc, ts, level
Sensor: sunlight | fields: type, reading, lon, qc
Task: Get lon from frost where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018747 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: lat, level, qc, reading
Sensor: dew_point | fields: value, level, reading, lat
Task: Retrieve level from pressure with reading above the MAX(value) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018748 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: value, type, lon, lat
Sensor: rainfall | fields: depth, value, unit, level
Task: Fetch level from wind_speed where value is greater than the average of depth in rainfall for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018749 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: level, unit, reading, value
Sensor: lightning | fields: value, depth, unit, lat
Task: Get depth from sunlight where depth exceeds the maximum value from lightning for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018750 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, type, level, value
Sensor: soil_moisture | fields: depth, lat, ts, qc
Task: Get lon from snow_depth where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018751 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: type, depth, unit, lat
Sensor: frost | fields: value, unit, reading, type
Task: Get lon from temperature where depth appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018752 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: reading, qc, lat, type
Sensor: wind_speed | fields: type, level, depth, ts
Task: Fetch depth from humidity that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018753 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: lon, lat, level, ts
Sensor: wind_speed | fields: type, lat, ts, reading
Task: Fetch value from uv_index where value is greater than the minimum of depth in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018754 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: reading, depth, qc, lat
Sensor: drought_index | fields: lat, type, qc, level
Task: Retrieve lat from pressure whose type is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018755 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: type, ts, depth, qc
Sensor: air_quality | fields: level, ts, value, lat
Task: Get depth from frost where qc appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018756 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: ts, lat, reading, depth
Sensor: humidity | fields: value, qc, depth, reading
Task: Get lon from uv_index where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018757 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: value, type, unit, reading
Sensor: sunlight | fields: type, unit, lon, depth
Task: Fetch level from drought_index where unit exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018758 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: lat, depth, qc, lon
Sensor: visibility | fields: level, value, reading, lon
Task: Fetch level from air_quality that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018759 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: value, level, lon, lat
Sensor: wind_speed | fields: level, unit, value, ts
Task: Retrieve level from snow_depth that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018760 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: unit, lon, level, lat
Sensor: visibility | fields: lat, level, depth, qc
Task: Fetch lat from rainfall where value is greater than the maximum of reading in visibility for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018761 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: depth, qc, lat, value
Sensor: humidity | fields: type, ts, level, lat
Task: Retrieve value from uv_index whose depth is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018762 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: lon, value, qc, lat
Sensor: turbidity | fields: lon, reading, value, depth
Task: Fetch reading from rainfall where depth is greater than the minimum of depth in turbidity for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018763 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: ts, unit, reading, value
Sensor: uv_index | fields: lat, depth, level, qc
Task: Get lon from sunlight where depth appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018764 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lon, value, depth, level
Sensor: cloud_cover | fields: lon, lat, reading, unit
Task: Retrieve lon from drought_index with depth above the MIN(value) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018765 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: type, value, ts, lon
Sensor: pressure | fields: value, level, unit, ts
Task: Fetch lon from frost where reading is greater than the count of of value in pressure for matching type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018766 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: lon, unit, type, value
Sensor: turbidity | fields: ts, value, lon, type
Task: Get lat from snow_depth where value exceeds the maximum reading from turbidity for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018767 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: ts, value, level, qc
Sensor: soil_moisture | fields: depth, value, level, ts
Task: Fetch value from sunlight that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018768 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: lon, type, unit, reading
Sensor: rainfall | fields: reading, level, depth, qc
Task: Get value from lightning where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018769 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, lon, ts, lat
Sensor: frost | fields: lon, value, unit, qc
Task: Fetch value from soil_moisture where ts exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018770 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: value, lat, qc, lon
Sensor: frost | fields: level, ts, reading, type
Task: Get lon from drought_index where reading exceeds the minimum depth from frost for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018771 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: ts, level, lon, reading
Sensor: humidity | fields: lat, type, unit, qc
Task: Get lat from turbidity where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018772 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, unit, lon, level
Sensor: evaporation | fields: value, reading, type, depth
Task: Get lon from wind_speed where type appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018773 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: reading, qc, type, lon
Sensor: visibility | fields: lon, qc, reading, type
Task: Get level from snow_depth where depth appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018774 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, lat, type, lon
Sensor: drought_index | fields: lat, lon, reading, value
Task: Get lat from cloud_cover where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018775 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: type, depth, unit, qc
Sensor: frost | fields: qc, ts, depth, reading
Task: Get depth from snow_depth where value exceeds the total reading from frost for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018776 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: reading, lat, type, level
Sensor: uv_index | fields: unit, lon, level, ts
Task: Retrieve lon from drought_index whose qc is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018777 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: value, qc, type, depth
Sensor: air_quality | fields: reading, type, level, ts
Task: Get value from drought_index where depth exceeds the minimum value from air_quality for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018778 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, qc, unit, level
Sensor: rainfall | fields: qc, ts, value, lat
Task: Get reading from wind_speed where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018779 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: lon, reading, unit, depth
Sensor: air_quality | fields: reading, ts, lat, depth
Task: Fetch reading from evaporation that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018780 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: unit, type, ts, reading
Sensor: wind_speed | fields: value, depth, reading, unit
Task: Retrieve reading from turbidity that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018781 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: qc, type, depth, reading
Sensor: frost | fields: lon, level, ts, unit
Task: Fetch value from lightning where depth is greater than the minimum of value in frost for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"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_018782 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: type, ts, unit, reading
Sensor: sunlight | fields: depth, lat, ts, value
Task: Get depth from turbidity where depth exceeds the count of depth from sunlight for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018783 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: depth, value, ts, unit
Sensor: temperature | fields: type, depth, value, lon
Task: Retrieve lat from soil_moisture whose type is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018784 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: ts, reading, value, level
Sensor: humidity | fields: ts, lon, lat, level
Task: Fetch level from sunlight that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018785 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: ts, unit, qc, reading
Sensor: evaporation | fields: type, lat, lon, ts
Task: Retrieve level from uv_index whose type is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018786 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: type, qc, value, reading
Sensor: soil_moisture | fields: ts, type, lat, unit
Task: Fetch reading from snow_depth that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018787 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: level, qc, unit, ts
Sensor: cloud_cover | fields: reading, unit, type, value
Task: Fetch depth from lightning where reading is greater than the total of depth in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018788 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: value, depth, type, qc
Sensor: sunlight | fields: type, lat, depth, lon
Task: Retrieve reading from temperature whose ts is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018789 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: depth, unit, ts, lon
Sensor: lightning | fields: lon, unit, level, reading
Task: Retrieve level from dew_point whose qc is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018790 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, type, depth, ts
Sensor: lightning | fields: type, reading, lon, qc
Task: Get lat from soil_moisture where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018791 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: value, type, ts, unit
Sensor: pressure | fields: lat, ts, lon, value
Task: Get lon from frost where reading exceeds the average value from pressure for the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018792 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: unit, qc, reading, level
Sensor: drought_index | fields: ts, depth, unit, reading
Task: Retrieve lon from air_quality with depth above the MIN(depth) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018793 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: value, type, ts, lon
Sensor: snow_depth | fields: qc, depth, lat, reading
Task: Fetch lat from evaporation where reading is greater than the total of reading in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018794 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: level, lat, reading, depth
Sensor: wind_speed | fields: level, ts, depth, lon
Task: Fetch lon from cloud_cover that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018795 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: type, level, ts, lon
Sensor: humidity | fields: lon, depth, unit, lat
Task: Retrieve level from soil_moisture that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018796 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: lat, depth, reading, ts
Sensor: air_quality | fields: ts, lat, unit, depth
Task: Fetch depth from dew_point that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018797 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: unit, type, qc, ts
Sensor: dew_point | fields: reading, depth, value, lat
Task: Get depth from rainfall where value exceeds the minimum reading from dew_point for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018798 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: unit, reading, type, level
Sensor: snow_depth | fields: depth, level, reading, lon
Task: Fetch lon from air_quality where reading is greater than the count of of reading in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.