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: dew_point | code: gst | fields: value, qc, unit, type
Sensor: uv_index | fields: depth, qc, unit, level
Task: Get lon from dew_point where depth exceeds the maximum reading from uv_index for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012200 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: type, qc, value, depth
Sensor: snow_depth | fields: qc, type, level, value
Task: Fetch lon from uv_index where value is greater than the maximum of value in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012201 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: type, value, level, lon
Sensor: temperature | fields: lat, value, reading, unit
Task: Fetch depth from sunlight that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012202 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: lon, depth, lat, value
Sensor: uv_index | fields: lat, unit, type, qc
Task: Get reading from dew_point where depth exceeds the average depth from uv_index for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012203 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: ts, lat, value, reading
Sensor: humidity | fields: type, lat, lon, ts
Task: Fetch depth from visibility where depth exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012204 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: value, ts, level, lon
Sensor: visibility | fields: unit, value, level, lat
Task: Fetch lon from uv_index that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012205 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: lat, ts, lon, level
Sensor: snow_depth | fields: depth, lat, ts, unit
Task: Fetch reading from sunlight that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012206 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, ts, lat, unit
Sensor: sunlight | fields: qc, lat, reading, unit
Task: Get level from wind_speed where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012207 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: unit, qc, type, level
Sensor: humidity | fields: ts, lat, qc, level
Task: Get value from uv_index where ts appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012208 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: type, lat, depth, level
Sensor: pressure | fields: value, reading, ts, lat
Task: Get level from dew_point where value exceeds the maximum depth from pressure for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012209 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: value, lon, ts, depth
Sensor: pressure | fields: type, qc, lon, depth
Task: Get level from cloud_cover where ts appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012210 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: value, level, unit, lon
Sensor: frost | fields: unit, qc, level, lat
Task: Fetch lon from uv_index where reading is greater than the maximum of value in frost for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012211 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: level, unit, ts, lat
Sensor: snow_depth | fields: qc, ts, depth, lat
Task: Retrieve level from drought_index whose qc is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012212 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: qc, unit, depth, type
Sensor: turbidity | fields: type, lat, level, reading
Task: Retrieve reading from lightning that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012213 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: ts, lon, qc, reading
Sensor: snow_depth | fields: type, lat, ts, unit
Task: Get lat from cloud_cover where depth exceeds the maximum depth from snow_depth for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012214 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: lat, reading, depth, value
Sensor: air_quality | fields: lon, lat, reading, unit
Task: Get lat from snow_depth where value exceeds the total depth from air_quality for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012215 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: type, lon, unit, lat
Sensor: cloud_cover | fields: type, qc, level, lat
Task: Retrieve lat from air_quality whose unit is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012216 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: unit, qc, value, type
Sensor: temperature | fields: qc, ts, reading, lon
Task: Retrieve lat from air_quality that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012217 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: type, unit, lon, reading
Sensor: visibility | fields: type, ts, reading, lat
Task: Fetch lat from snow_depth where value is greater than the maximum of value in visibility for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012218 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, lat, qc, lon
Sensor: drought_index | fields: lat, ts, qc, reading
Task: Fetch lon from soil_moisture where qc exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012219 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: value, unit, ts, reading
Sensor: soil_moisture | fields: depth, qc, lon, type
Task: Retrieve value from turbidity that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012220 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: qc, lat, unit, value
Sensor: pressure | fields: qc, depth, lon, unit
Task: Fetch depth from visibility where type exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012221 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: reading, type, ts, lon
Sensor: cloud_cover | fields: qc, reading, level, value
Task: Retrieve value from air_quality that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012222 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: reading, value, level, ts
Sensor: sunlight | fields: lat, reading, depth, unit
Task: Get depth from snow_depth where value exceeds the maximum reading from sunlight for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012223 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: unit, reading, qc, lat
Sensor: turbidity | fields: level, lon, reading, unit
Task: Get value from humidity where type appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012224 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: value, depth, qc, level
Sensor: sunlight | fields: lat, level, value, type
Task: Fetch depth from visibility that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012225 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: reading, level, value, depth
Sensor: visibility | fields: ts, lon, type, value
Task: Get lat from wind_speed where value exceeds the average depth from visibility for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012226 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: unit, depth, qc, reading
Sensor: temperature | fields: lon, value, level, reading
Task: Get lon from evaporation where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012227 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: level, reading, lat, depth
Sensor: dew_point | fields: depth, lat, value, unit
Task: Fetch lon from air_quality that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012228 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: ts, unit, qc, value
Sensor: wind_speed | fields: ts, lat, qc, level
Task: Get lat from frost where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012229 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: ts, level, lon, depth
Sensor: pressure | fields: lat, ts, depth, value
Task: Fetch lon from turbidity that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012230 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: reading, depth, lat, type
Sensor: sunlight | fields: value, reading, level, type
Task: Retrieve lat from humidity with reading above the COUNT(depth) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012231 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: lat, depth, lon, qc
Sensor: evaporation | fields: lat, ts, depth, lon
Task: Fetch depth from dew_point where unit exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012232 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: unit, lon, lat, value
Sensor: rainfall | fields: unit, lon, depth, qc
Task: Get lon from snow_depth where depth exceeds the count of value from rainfall for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012233 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: depth, type, unit, lat
Sensor: snow_depth | fields: lat, depth, unit, level
Task: Get level from evaporation where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012234 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: value, reading, lon, unit
Sensor: turbidity | fields: qc, lon, level, value
Task: Fetch lon from snow_depth that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012235 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: depth, qc, ts, level
Sensor: rainfall | fields: qc, value, lat, lon
Task: Get reading from air_quality where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012236 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: value, unit, qc, depth
Sensor: pressure | fields: unit, value, reading, type
Task: Retrieve depth from soil_moisture with reading above the SUM(reading) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"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_012237 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: lat, qc, ts, lon
Sensor: drought_index | fields: unit, qc, ts, lat
Task: Retrieve lon from soil_moisture with reading above the COUNT(depth) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012238 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: depth, value, qc, lat
Sensor: visibility | fields: lat, value, ts, qc
Task: Fetch reading from evaporation where reading is greater than the minimum of depth in visibility for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012239 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: depth, value, lon, type
Sensor: temperature | fields: reading, unit, lat, level
Task: Retrieve value from humidity with value above the SUM(depth) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012240 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: type, reading, lon, depth
Sensor: turbidity | fields: type, qc, lat, value
Task: Retrieve level from rainfall whose type is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012241 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: type, depth, lon, level
Sensor: sunlight | fields: ts, type, lon, qc
Task: Fetch value from evaporation that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012242 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: level, lat, unit, ts
Sensor: lightning | fields: qc, lat, unit, depth
Task: Retrieve value from uv_index with value above the COUNT(value) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012243 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: value, unit, ts, level
Sensor: soil_moisture | fields: ts, lon, type, unit
Task: Fetch level from lightning where depth exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012244 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: lon, ts, unit, type
Sensor: soil_moisture | fields: depth, ts, lat, type
Task: Retrieve reading from rainfall whose depth is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012245 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: unit, lon, depth, qc
Sensor: dew_point | fields: depth, ts, reading, unit
Task: Fetch level from humidity where type exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012246 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: qc, ts, reading, lat
Sensor: frost | fields: type, reading, qc, depth
Task: Fetch lat from drought_index that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012247 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: lon, depth, type, value
Sensor: uv_index | fields: level, unit, type, qc
Task: Fetch lat from sunlight that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012248 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: type, lat, value, depth
Sensor: turbidity | fields: unit, qc, lon, type
Task: Fetch value from rainfall where depth exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012249 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: level, type, depth, lat
Sensor: soil_moisture | fields: value, unit, type, lat
Task: Get value from visibility where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012250 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: type, lat, depth, qc
Sensor: wind_speed | fields: value, type, reading, ts
Task: Fetch level from rainfall where depth is greater than the maximum of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012251 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: reading, type, lat, ts
Sensor: sunlight | fields: depth, reading, level, type
Task: Retrieve level from snow_depth that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012252 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: reading, value, ts, unit
Sensor: evaporation | fields: qc, reading, unit, type
Task: Get lat from visibility where reading exceeds the average value from evaporation for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012253 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: lon, ts, reading, level
Sensor: dew_point | fields: level, lon, depth, value
Task: Fetch reading from soil_moisture that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012254 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: level, qc, value, depth
Sensor: wind_speed | fields: depth, value, reading, qc
Task: Get reading from drought_index where reading exceeds the minimum depth from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012255 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: value, ts, reading, lon
Sensor: lightning | fields: level, reading, depth, unit
Task: Get value from temperature where reading exceeds the maximum value from lightning for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012256 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: qc, reading, level, type
Sensor: temperature | fields: ts, lon, unit, lat
Task: Fetch value from turbidity where value is greater than the total of reading in temperature for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012257 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: level, value, qc, depth
Sensor: air_quality | fields: depth, value, ts, type
Task: Retrieve lat from lightning whose unit is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012258 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, unit, reading, value
Sensor: pressure | fields: unit, depth, qc, lon
Task: Get reading from wind_speed where depth appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012259 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: lat, value, reading, qc
Sensor: snow_depth | fields: level, reading, value, unit
Task: Get reading from dew_point where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012260 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: level, unit, depth, value
Sensor: rainfall | fields: reading, ts, lat, qc
Task: Fetch value from drought_index where value is greater than the count of of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012261 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: unit, type, lat, qc
Sensor: snow_depth | fields: qc, unit, type, level
Task: Retrieve value from rainfall whose type is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012262 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: qc, lon, value, type
Sensor: soil_moisture | fields: type, qc, depth, reading
Task: Fetch level from lightning that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012263 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: ts, lat, qc, value
Sensor: visibility | fields: level, reading, lat, unit
Task: Get level from cloud_cover where depth appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012264 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: type, lon, qc, value
Sensor: drought_index | fields: type, lon, ts, value
Task: Retrieve lat from sunlight whose type is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012265 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: unit, lon, value, reading
Sensor: sunlight | fields: lon, value, type, reading
Task: Retrieve reading from evaporation whose ts is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012266 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: ts, reading, depth, qc
Sensor: air_quality | fields: ts, level, lon, depth
Task: Fetch lon from visibility where depth is greater than the total of value in air_quality for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012267 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: lon, type, value, lat
Sensor: evaporation | fields: ts, type, unit, qc
Task: Retrieve reading from humidity with value above the SUM(depth) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012268 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: level, unit, lat, lon
Sensor: air_quality | fields: type, level, lat, depth
Task: Get reading from drought_index where unit appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012269 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: lat, type, qc, lon
Sensor: pressure | fields: level, reading, unit, type
Task: Get value from rainfall where value exceeds the minimum depth from pressure for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012270 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: lon, reading, type, qc
Sensor: wind_speed | fields: level, qc, unit, type
Task: Retrieve level from visibility that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012271 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, type, reading, value
Sensor: temperature | fields: lat, ts, qc, reading
Task: Fetch value from wind_speed where value is greater than the minimum of value in temperature for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012272 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: value, ts, lat, depth
Sensor: air_quality | fields: ts, lon, lat, value
Task: Fetch level from lightning where depth is greater than the average of value in air_quality for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012273 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: unit, lon, depth, level
Sensor: lightning | fields: reading, lon, unit, level
Task: Fetch level from pressure where qc exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012274 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: value, type, depth, reading
Sensor: dew_point | fields: lon, level, unit, type
Task: Get reading from snow_depth where unit appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012275 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: level, qc, lon, reading
Sensor: visibility | fields: lat, reading, qc, unit
Task: Fetch lon from evaporation where type exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012276 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: depth, lon, level, qc
Sensor: pressure | fields: reading, lon, ts, value
Task: Retrieve depth from humidity whose qc is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012277 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: level, ts, value, reading
Sensor: drought_index | fields: type, depth, qc, lon
Task: Fetch reading from turbidity that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012278 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: unit, qc, lat, ts
Sensor: lightning | fields: type, lon, lat, value
Task: Retrieve depth from frost with value above the AVG(depth) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012279 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: level, lat, depth, type
Sensor: frost | fields: qc, lon, unit, reading
Task: Retrieve value from pressure whose ts is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012280 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: value, depth, unit, ts
Sensor: cloud_cover | fields: reading, value, lon, level
Task: Get value from frost where reading exceeds the count of value from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012281 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: unit, qc, lon, ts
Sensor: turbidity | fields: ts, level, type, value
Task: Retrieve depth from humidity whose depth is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012282 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, depth, reading, lon
Sensor: soil_moisture | fields: lon, reading, level, ts
Task: Fetch lon from snow_depth where ts exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012283 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: lon, lat, reading, qc
Sensor: cloud_cover | fields: value, reading, depth, type
Task: Retrieve level from wind_speed that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012284 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: lat, depth, level, type
Sensor: drought_index | fields: value, lon, level, lat
Task: Retrieve level from lightning that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012285 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: reading, lat, qc, value
Sensor: drought_index | fields: qc, depth, level, reading
Task: Get reading from uv_index where depth exceeds the average value from drought_index for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012286 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: ts, reading, qc, type
Sensor: drought_index | fields: lon, reading, type, depth
Task: Get lat from air_quality where depth exceeds the maximum depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012287 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: reading, lon, depth, value
Sensor: wind_speed | fields: value, reading, level, ts
Task: Retrieve lat from dew_point whose ts is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012288 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: reading, depth, type, unit
Sensor: evaporation | fields: lon, ts, level, type
Task: Get level from wind_speed where value exceeds the total value from evaporation for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012289 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: value, type, reading, depth
Sensor: temperature | fields: lon, depth, ts, qc
Task: Retrieve value from cloud_cover whose qc is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012290 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: lat, type, value, lon
Sensor: sunlight | fields: type, depth, ts, value
Task: Fetch value from air_quality that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012291 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, type, qc, level
Sensor: frost | fields: type, level, ts, lon
Task: Get lat from soil_moisture where type appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012292 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: ts, level, unit, type
Sensor: dew_point | fields: ts, type, value, lat
Task: Fetch reading from frost that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012293 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: lat, type, reading, depth
Sensor: rainfall | fields: qc, lon, ts, unit
Task: Get lat from air_quality where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012294 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: qc, lat, ts, unit
Sensor: cloud_cover | fields: reading, lat, type, unit
Task: Fetch level from sunlight that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012295 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: reading, unit, type, lat
Sensor: temperature | fields: unit, reading, depth, level
Task: Get value from soil_moisture where depth exceeds the count of reading from temperature for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012296 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: lon, value, depth, unit
Sensor: pressure | fields: reading, unit, qc, lat
Task: Retrieve value from soil_moisture with depth above the MAX(reading) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012297 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: value, unit, lat, depth
Sensor: evaporation | fields: unit, ts, qc, depth
Task: Retrieve lat from turbidity with depth above the SUM(value) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012298 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: qc, value, unit, lon
Sensor: drought_index | fields: reading, value, type, qc
Task: Fetch depth from turbidity where depth exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.