variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: level, unit, value, lat
Sensor: soil_moisture | fields: reading, type, lat, ts
Task: Retrieve level from snow_depth whose type is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074400 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: lat, unit, lon, ts
Sensor: snow_depth | fields: ts, value, depth, qc
Task: Fetch reading from cloud_cover that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074401 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, ts, level, lon
Sensor: sunlight | fields: lat, qc, unit, reading
Task: Fetch reading from snow_depth that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074402 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: qc, depth, ts, reading
Sensor: visibility | fields: lat, value, qc, depth
Task: Fetch lon from snow_depth that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074403 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: value, lon, reading, ts
Sensor: uv_index | fields: lat, depth, lon, qc
Task: Retrieve level from frost whose ts is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074404 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: qc, depth, ts, unit
Sensor: pressure | fields: value, lon, depth, lat
Task: Get lat from uv_index where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074405 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: type, depth, unit, value
Sensor: pressure | fields: unit, lat, ts, type
Task: Retrieve lat from air_quality with value above the MIN(reading) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074406 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: type, unit, depth, value
Sensor: temperature | fields: depth, ts, level, lon
Task: Retrieve lat from sunlight with reading above the MIN(value) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074407 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: lat, ts, level, value
Sensor: rainfall | fields: depth, qc, unit, lat
Task: Get level from drought_index where unit appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074408 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, value, level, ts
Sensor: sunlight | fields: level, type, ts, qc
Task: Fetch lon from soil_moisture where value is greater than the minimum of reading in sunlight for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074409 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: value, level, qc, type
Sensor: rainfall | fields: type, lat, level, depth
Task: Fetch value from uv_index where unit exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074410 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: level, unit, ts, lon
Sensor: frost | fields: value, unit, ts, lat
Task: Retrieve value from uv_index with depth above the SUM(depth) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074411 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, qc, level, lat
Sensor: snow_depth | fields: unit, qc, level, lon
Task: Retrieve depth from soil_moisture with depth above the MAX(depth) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074412 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: ts, level, qc, depth
Sensor: soil_moisture | fields: depth, level, value, reading
Task: Fetch level from air_quality where depth exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074413 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: value, lon, level, qc
Sensor: pressure | fields: value, lon, unit, lat
Task: Retrieve value from sunlight whose unit is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074414 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: lat, type, value, lon
Sensor: rainfall | fields: depth, unit, value, type
Task: Fetch lon from cloud_cover where type exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"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_074415 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: qc, unit, lon, reading
Sensor: pressure | fields: depth, type, lat, level
Task: Retrieve lon from frost with value above the MAX(depth) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074416 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: qc, lon, depth, level
Sensor: frost | fields: value, unit, reading, depth
Task: Fetch lat from evaporation where value is greater than the average of depth in frost for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074417 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: lat, type, qc, lon
Sensor: lightning | fields: type, value, ts, lat
Task: Get reading from sunlight where depth appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074418 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: type, lon, value, depth
Sensor: temperature | fields: type, ts, unit, lon
Task: Get level from rainfall where depth appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074419 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: depth, lat, level, type
Sensor: dew_point | fields: reading, lat, depth, ts
Task: Get value from evaporation where unit appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074420 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: depth, ts, type, lat
Sensor: drought_index | fields: qc, level, lat, lon
Task: Retrieve depth from dew_point with reading above the COUNT(value) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074421 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: unit, qc, value, type
Sensor: drought_index | fields: level, type, value, ts
Task: Get depth from cloud_cover where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074422 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: type, qc, reading, level
Sensor: uv_index | fields: lat, level, reading, qc
Task: Retrieve level from pressure that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074423 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: type, value, lon, ts
Sensor: visibility | fields: value, unit, reading, lat
Task: Retrieve level from rainfall that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074424 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: depth, lon, type, ts
Sensor: evaporation | fields: qc, lat, reading, ts
Task: Get lon from air_quality where ts appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074425 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: level, lat, unit, lon
Sensor: pressure | fields: depth, reading, lon, ts
Task: Get value from dew_point where value exceeds the total depth from pressure for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074426 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: depth, qc, unit, type
Sensor: dew_point | fields: lon, depth, value, ts
Task: Retrieve value from sunlight with depth above the AVG(depth) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074427 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: ts, reading, lat, depth
Sensor: evaporation | fields: level, unit, depth, type
Task: Get lon from frost where value exceeds the maximum value from evaporation for the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"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_074428 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: unit, reading, type, depth
Sensor: humidity | fields: lon, lat, type, qc
Task: Get reading from rainfall where qc appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074429 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: qc, type, value, lat
Sensor: lightning | fields: unit, lon, ts, lat
Task: Get lat from uv_index where unit appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074430 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: depth, level, reading, lon
Sensor: wind_speed | fields: lon, depth, type, value
Task: Retrieve value from visibility with value above the MAX(depth) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074431 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: depth, unit, value, qc
Sensor: turbidity | fields: type, ts, unit, qc
Task: Get level from temperature where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074432 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: reading, depth, level, ts
Sensor: temperature | fields: lon, lat, qc, level
Task: Get lat from rainfall where qc appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074433 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, depth, unit, qc
Sensor: turbidity | fields: depth, type, unit, lon
Task: Fetch lon from wind_speed that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074434 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: lon, depth, unit, ts
Sensor: pressure | fields: reading, level, lon, ts
Task: Fetch depth from rainfall where value is greater than the average of depth in pressure for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074435 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: reading, value, lon, unit
Sensor: visibility | fields: level, type, lat, unit
Task: Get lat from air_quality where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074436 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: qc, depth, ts, type
Sensor: drought_index | fields: unit, lat, depth, lon
Task: Get reading from lightning where depth appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074437 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: level, lon, unit, depth
Sensor: visibility | fields: qc, ts, depth, unit
Task: Retrieve value from soil_moisture whose type is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074438 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, qc, depth, unit
Sensor: turbidity | fields: unit, value, qc, lat
Task: Fetch lon from soil_moisture that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074439 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: lat, unit, value, ts
Sensor: cloud_cover | fields: depth, value, lat, qc
Task: Retrieve depth from sunlight that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074440 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: unit, level, reading, lat
Sensor: drought_index | fields: lat, reading, ts, depth
Task: Retrieve lat from wind_speed that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074441 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: lon, level, lat, qc
Sensor: visibility | fields: reading, unit, depth, ts
Task: Retrieve lat from air_quality whose type is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074442 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: ts, value, type, reading
Sensor: air_quality | fields: unit, qc, ts, depth
Task: Get depth from pressure where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074443 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: lat, depth, value, level
Sensor: pressure | fields: qc, reading, type, ts
Task: Get level from sunlight where type appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074444 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: unit, lat, lon, reading
Sensor: visibility | fields: depth, lon, value, level
Task: Fetch value from cloud_cover where qc exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074445 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: depth, ts, unit, value
Sensor: sunlight | fields: lon, level, reading, lat
Task: Fetch value from soil_moisture where depth exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074446 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: value, ts, qc, level
Sensor: soil_moisture | fields: unit, lat, depth, qc
Task: Get value from visibility where type appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074447 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: ts, reading, unit, lon
Sensor: soil_moisture | fields: type, value, lat, unit
Task: Retrieve reading from air_quality that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074448 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: qc, type, depth, value
Sensor: frost | fields: reading, ts, level, lat
Task: Retrieve lat from snow_depth whose ts is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074449 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, ts, type, reading
Sensor: lightning | fields: qc, unit, level, type
Task: Retrieve value from soil_moisture with value above the MIN(depth) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074450 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: lat, level, reading, ts
Sensor: evaporation | fields: type, depth, lon, lat
Task: Retrieve value from uv_index with value above the MIN(depth) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074451 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: level, lon, reading, depth
Sensor: evaporation | fields: depth, qc, level, unit
Task: Retrieve level from sunlight that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074452 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: level, type, unit, lon
Sensor: cloud_cover | fields: reading, level, unit, depth
Task: Get lon from wind_speed where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074453 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: value, qc, reading, unit
Sensor: wind_speed | fields: reading, level, unit, type
Task: Get lon from pressure where depth exceeds the total reading from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074454 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: lat, ts, value, qc
Sensor: soil_moisture | fields: unit, qc, depth, lon
Task: Retrieve level from lightning whose type is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074455 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, qc, lat, depth
Sensor: cloud_cover | fields: unit, depth, level, qc
Task: Retrieve lat from snow_depth whose type is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074456 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: qc, lat, ts, unit
Sensor: drought_index | fields: lat, unit, value, ts
Task: Fetch reading from dew_point where reading is greater than the minimum of depth in drought_index for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074457 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: reading, lon, unit, level
Sensor: snow_depth | fields: level, qc, depth, ts
Task: Retrieve lon from rainfall with value above the COUNT(reading) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074458 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: type, lon, qc, unit
Sensor: uv_index | fields: lon, type, unit, level
Task: Fetch lon from frost where depth is greater than the maximum of depth in uv_index for matching ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"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_074459 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: reading, lon, ts, unit
Sensor: drought_index | fields: depth, reading, qc, ts
Task: Retrieve lon from air_quality with depth above the AVG(reading) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074460 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: type, value, qc, lon
Sensor: visibility | fields: reading, level, value, qc
Task: Get value from turbidity where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074461 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: qc, reading, type, ts
Sensor: snow_depth | fields: reading, qc, ts, level
Task: Get depth from dew_point where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074462 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, lat, type, unit
Sensor: sunlight | fields: value, ts, depth, level
Task: Fetch lon from wind_speed where ts exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074463 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: level, reading, type, qc
Sensor: drought_index | fields: lat, type, unit, ts
Task: Retrieve value from pressure with reading above the COUNT(reading) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"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_074464 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: level, reading, qc, ts
Sensor: sunlight | fields: value, type, depth, qc
Task: Retrieve lon from pressure with value above the SUM(reading) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074465 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: unit, depth, level, lon
Sensor: evaporation | fields: ts, level, unit, lat
Task: Retrieve lon from lightning with reading above the MIN(reading) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074466 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: qc, depth, value, level
Sensor: cloud_cover | fields: value, qc, unit, ts
Task: Retrieve lon from lightning whose ts is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074467 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: unit, ts, depth, reading
Sensor: rainfall | fields: level, unit, lon, qc
Task: Retrieve reading from drought_index that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074468 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: qc, lon, ts, level
Sensor: temperature | fields: type, lon, reading, value
Task: Get lon from pressure where depth exceeds the minimum depth from temperature for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074469 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: value, reading, lon, level
Sensor: frost | fields: level, lon, unit, reading
Task: Fetch reading from air_quality where type exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074470 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: level, type, ts, lon
Sensor: air_quality | fields: unit, value, lat, reading
Task: Fetch depth from dew_point where value is greater than the maximum of depth in air_quality for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074471 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: level, qc, depth, reading
Sensor: air_quality | fields: lon, reading, level, value
Task: Fetch value from drought_index that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074472 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: type, value, lat, reading
Sensor: rainfall | fields: reading, lat, unit, ts
Task: Fetch level from drought_index where value is greater than the total of value in rainfall for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074473 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: ts, qc, level, depth
Sensor: humidity | fields: lon, lat, unit, qc
Task: Retrieve value from rainfall with reading above the SUM(depth) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074474 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: depth, unit, lat, type
Sensor: soil_moisture | fields: type, lon, value, unit
Task: Fetch level from sunlight where reading is greater than the minimum of value in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074475 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: reading, qc, lat, value
Sensor: soil_moisture | fields: lat, qc, ts, unit
Task: Get lat from rainfall where reading exceeds the count of depth from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074476 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, value, lat, qc
Sensor: lightning | fields: depth, ts, lon, level
Task: Fetch lat from wind_speed where qc exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074477 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: type, depth, qc, reading
Sensor: snow_depth | fields: value, reading, depth, qc
Task: Fetch value from dew_point that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074478 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: level, type, ts, qc
Sensor: visibility | fields: ts, level, depth, unit
Task: Get level from dew_point where depth appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074479 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: qc, depth, reading, value
Sensor: frost | fields: qc, lon, lat, value
Task: Get reading from turbidity where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074480 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: value, lon, depth, level
Sensor: rainfall | fields: value, unit, level, lat
Task: Get lat from dew_point where depth exceeds the total value from rainfall for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074481 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: level, reading, type, unit
Sensor: snow_depth | fields: level, lon, reading, ts
Task: Get lon from evaporation where type appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074482 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: level, qc, type, unit
Sensor: lightning | fields: value, depth, ts, type
Task: Get level from drought_index where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074483 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: ts, value, type, level
Sensor: turbidity | fields: lat, ts, lon, value
Task: Retrieve value from air_quality whose ts is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074484 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: value, qc, ts, lat
Sensor: air_quality | fields: value, qc, ts, level
Task: Retrieve depth from humidity that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074485 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: type, level, unit, lat
Sensor: snow_depth | fields: qc, ts, level, lon
Task: Fetch lon from evaporation where reading is greater than the minimum of depth in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074486 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: value, lat, reading, depth
Sensor: visibility | fields: depth, unit, lon, value
Task: Get lon from turbidity where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074487 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, qc, reading, level
Sensor: temperature | fields: ts, depth, level, lat
Task: Fetch lat from soil_moisture where value is greater than the minimum of depth in temperature for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074488 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: qc, depth, value, type
Sensor: turbidity | fields: depth, ts, unit, qc
Task: Fetch level from frost where type exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074489 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lon, depth, level, value
Sensor: uv_index | fields: reading, type, unit, lon
Task: Fetch level from sunlight that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074490 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: qc, type, depth, ts
Sensor: rainfall | fields: depth, unit, lat, qc
Task: Retrieve lon from sunlight whose qc is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074491 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: qc, reading, ts, unit
Sensor: humidity | fields: qc, level, unit, lat
Task: Fetch level from drought_index that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074492 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: level, lat, qc, type
Sensor: pressure | fields: lat, unit, level, lon
Task: Get value from snow_depth where qc appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074493 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: unit, lon, level, ts
Sensor: evaporation | fields: unit, lat, value, ts
Task: Retrieve reading from visibility with depth above the MAX(value) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074494 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: lat, lon, reading, qc
Sensor: air_quality | fields: qc, level, lat, value
Task: Retrieve level from sunlight with reading above the SUM(reading) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074495 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: level, lat, lon, qc
Sensor: snow_depth | fields: type, lon, ts, level
Task: Fetch reading from wind_speed that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074496 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, reading, depth, qc
Sensor: dew_point | fields: unit, reading, ts, lat
Task: Fetch lat from cloud_cover where reading is greater than the maximum of reading in dew_point for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074497 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: unit, qc, lon, reading
Sensor: turbidity | fields: qc, value, reading, depth
Task: Get level from drought_index where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074498 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: lon, level, lat, value
Sensor: air_quality | fields: type, qc, lat, ts
Task: Fetch value from drought_index where type exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.