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: sunlight | code: clr | fields: unit, level, lon, ts
Sensor: air_quality | fields: depth, ts, level, unit
Task: Get value from sunlight where reading exceeds the average reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076600 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: level, reading, depth, ts
Sensor: evaporation | fields: ts, level, depth, type
Task: Get lon from frost where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076601 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: lat, lon, reading, ts
Sensor: cloud_cover | fields: value, lat, type, qc
Task: Get value from drought_index where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076602 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, reading, ts, unit
Sensor: temperature | fields: qc, type, ts, unit
Task: Fetch depth from cloud_cover where value is greater than the maximum of reading in temperature for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076603 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: ts, qc, type, lon
Sensor: drought_index | fields: reading, depth, unit, value
Task: Fetch depth from frost that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076604 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: level, value, depth, ts
Sensor: cloud_cover | fields: value, lon, level, depth
Task: Fetch depth from lightning where value is greater than the average of depth in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076605 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: ts, type, value, unit
Sensor: evaporation | fields: depth, level, reading, value
Task: Retrieve value from temperature whose type is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076606 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: qc, value, unit, type
Sensor: visibility | fields: value, qc, unit, reading
Task: Retrieve depth from rainfall that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076607 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: level, lon, lat, unit
Sensor: wind_speed | fields: depth, reading, value, lon
Task: Get depth from dew_point where qc appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076608 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: reading, depth, value, ts
Sensor: temperature | fields: type, lat, unit, level
Task: Fetch reading from pressure where depth is greater than the count of of reading in temperature for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076609 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: type, ts, qc, lat
Sensor: drought_index | fields: value, unit, lon, reading
Task: Retrieve level from uv_index that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076610 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: ts, lat, qc, level
Sensor: pressure | fields: qc, level, reading, lon
Task: Retrieve depth from visibility with depth above the AVG(depth) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076611 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: value, lat, lon, ts
Sensor: sunlight | fields: type, value, ts, lat
Task: Retrieve value from turbidity with reading above the MAX(value) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076612 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: depth, ts, lat, lon
Sensor: cloud_cover | fields: ts, qc, level, lat
Task: Retrieve lon from snow_depth with value above the COUNT(reading) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076613 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: qc, reading, ts, unit
Sensor: evaporation | fields: value, reading, depth, ts
Task: Retrieve lat from snow_depth that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076614 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: depth, lon, lat, type
Sensor: snow_depth | fields: unit, level, reading, qc
Task: Retrieve value from evaporation with reading above the SUM(reading) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076615 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: ts, depth, value, lat
Sensor: sunlight | fields: lon, depth, level, ts
Task: Get reading from frost where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076616 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: qc, lat, depth, level
Sensor: evaporation | fields: lat, value, ts, reading
Task: Retrieve level from humidity with reading above the MAX(reading) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076617 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: qc, lat, ts, lon
Sensor: wind_speed | fields: value, qc, type, ts
Task: Get value from temperature where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076618 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, unit, type, ts
Sensor: drought_index | fields: level, depth, reading, type
Task: Retrieve depth from snow_depth with depth above the AVG(reading) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076619 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: ts, level, type, qc
Sensor: rainfall | fields: lat, level, lon, reading
Task: Get lon from lightning where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076620 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: depth, lat, level, lon
Sensor: lightning | fields: ts, reading, value, level
Task: Retrieve reading from evaporation with depth above the MAX(reading) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"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_076621 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: ts, type, value, lon
Sensor: snow_depth | fields: qc, level, unit, depth
Task: Get reading from rainfall where depth appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076622 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: depth, type, reading, unit
Sensor: snow_depth | fields: unit, reading, qc, level
Task: Retrieve lat from frost whose qc is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076623 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: type, unit, lat, level
Sensor: drought_index | fields: value, reading, qc, ts
Task: Get depth from turbidity where type appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076624 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: type, value, unit, lat
Sensor: lightning | fields: ts, lat, type, lon
Task: Fetch depth from humidity where ts exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076625 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, reading, lat, type
Sensor: lightning | fields: type, lon, value, depth
Task: Fetch lon from wind_speed that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076626 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: unit, depth, level, reading
Sensor: turbidity | fields: reading, qc, lat, unit
Task: Retrieve lat from temperature whose unit is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076627 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: lat, qc, unit, lon
Sensor: lightning | fields: lon, qc, lat, reading
Task: Fetch level from sunlight where reading is greater than the maximum of depth in lightning for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076628 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: depth, ts, type, lat
Sensor: visibility | fields: qc, ts, value, lon
Task: Fetch value from frost where unit exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076629 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: value, ts, reading, qc
Sensor: snow_depth | fields: reading, value, unit, type
Task: Retrieve depth from frost that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076630 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: value, type, qc, lon
Sensor: evaporation | fields: qc, level, lat, value
Task: Fetch value from sunlight where depth is greater than the average of depth in evaporation for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076631 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: reading, type, value, lat
Sensor: pressure | fields: unit, reading, value, depth
Task: Retrieve depth from sunlight with value above the SUM(value) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076632 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: qc, unit, type, value
Sensor: visibility | fields: lon, depth, reading, ts
Task: Get depth from drought_index where reading exceeds the maximum reading from visibility for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076633 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: lat, reading, qc, unit
Sensor: turbidity | fields: ts, unit, reading, lat
Task: Fetch reading from sunlight where reading is greater than the minimum of value in turbidity for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076634 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: ts, value, lon, type
Sensor: snow_depth | fields: unit, depth, qc, value
Task: Retrieve level from frost with depth above the COUNT(reading) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076635 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: lat, ts, unit, level
Sensor: rainfall | fields: depth, unit, qc, lon
Task: Fetch value from dew_point that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076636 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: qc, value, unit, reading
Sensor: pressure | fields: unit, value, reading, depth
Task: Fetch lat from turbidity that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076637 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: value, unit, lat, level
Sensor: lightning | fields: value, reading, ts, qc
Task: Fetch lat from uv_index that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076638 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: type, lat, qc, value
Sensor: rainfall | fields: type, value, ts, qc
Task: Get reading from lightning where value exceeds the total value from rainfall for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076639 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, lat, reading, level
Sensor: temperature | fields: qc, ts, unit, value
Task: Fetch value from wind_speed where reading is greater than the maximum of value in temperature for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076640 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: level, value, lat, unit
Sensor: wind_speed | fields: ts, lon, depth, reading
Task: Retrieve level from drought_index whose unit is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076641 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: value, depth, ts, reading
Sensor: frost | fields: level, qc, type, ts
Task: Fetch lon from evaporation where value is greater than the maximum of reading in frost for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076642 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: lon, reading, qc, value
Sensor: frost | fields: level, reading, qc, lat
Task: Retrieve reading from turbidity that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076643 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: reading, value, unit, lon
Sensor: evaporation | fields: qc, reading, depth, type
Task: Retrieve reading from temperature that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076644 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: value, type, reading, ts
Sensor: pressure | fields: lat, depth, unit, reading
Task: Get depth from humidity where reading exceeds the maximum depth from pressure for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076645 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: depth, unit, reading, qc
Sensor: frost | fields: level, lon, value, ts
Task: Fetch lat from visibility that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076646 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: value, lon, level, qc
Sensor: evaporation | fields: depth, type, lon, value
Task: Retrieve depth from uv_index with reading above the SUM(reading) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076647 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: unit, level, depth, type
Sensor: visibility | fields: level, ts, reading, qc
Task: Retrieve depth from snow_depth that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076648 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: depth, unit, level, value
Sensor: frost | fields: value, ts, qc, lat
Task: Retrieve lon from sunlight whose ts is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076649 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: lon, unit, type, value
Sensor: temperature | fields: value, type, qc, depth
Task: Get level from humidity where value exceeds the minimum depth from temperature for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076650 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: depth, level, ts, qc
Sensor: temperature | fields: lon, reading, unit, type
Task: Retrieve reading from turbidity that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076651 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: lat, lon, level, reading
Sensor: lightning | fields: value, lat, level, ts
Task: Retrieve reading from rainfall whose ts is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076652 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: qc, depth, unit, ts
Sensor: lightning | fields: type, lon, unit, ts
Task: Retrieve value from temperature whose unit is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076653 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: qc, type, reading, value
Sensor: cloud_cover | fields: lat, reading, unit, qc
Task: Retrieve value from lightning that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076654 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: level, reading, lat, type
Sensor: turbidity | fields: type, reading, value, depth
Task: Get value from cloud_cover where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076655 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: unit, value, lon, ts
Sensor: sunlight | fields: lat, qc, unit, type
Task: Retrieve lat from rainfall whose ts is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076656 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, level, value, unit
Sensor: uv_index | fields: type, lat, value, lon
Task: Retrieve value from wind_speed whose qc is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076657 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: type, lon, level, lat
Sensor: snow_depth | fields: type, lon, value, ts
Task: Get lon from wind_speed where value exceeds the minimum reading from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076658 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: unit, lon, value, level
Sensor: snow_depth | fields: unit, lon, level, reading
Task: Retrieve reading from rainfall with reading above the COUNT(depth) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076659 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: level, value, lat, qc
Sensor: pressure | fields: qc, lat, level, depth
Task: Fetch lat from air_quality where ts exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076660 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, reading, unit, lat
Sensor: drought_index | fields: level, lon, reading, type
Task: Get depth from wind_speed where value exceeds the minimum value from drought_index for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076661 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: reading, level, value, qc
Sensor: snow_depth | fields: ts, depth, type, qc
Task: Get reading from pressure where unit appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076662 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: type, ts, qc, lat
Sensor: snow_depth | fields: level, reading, type, qc
Task: Fetch reading from cloud_cover where depth is greater than the maximum of value in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076663 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: qc, level, reading, unit
Sensor: uv_index | fields: level, type, reading, unit
Task: Retrieve level from pressure that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076664 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: lat, lon, depth, unit
Sensor: air_quality | fields: lat, level, unit, type
Task: Get reading from wind_speed where unit appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076665 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: reading, lat, lon, unit
Sensor: air_quality | fields: depth, unit, level, value
Task: Retrieve reading from evaporation with reading above the MIN(depth) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076666 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: ts, unit, level, value
Sensor: pressure | fields: type, level, unit, reading
Task: Get lon from frost where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076667 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: value, level, ts, lat
Sensor: rainfall | fields: level, ts, qc, reading
Task: Fetch lat from temperature where depth exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076668 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: qc, ts, unit, level
Sensor: cloud_cover | fields: ts, lat, unit, reading
Task: Retrieve reading from lightning whose unit is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076669 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: level, unit, lon, reading
Sensor: evaporation | fields: qc, value, unit, lon
Task: Get reading from lightning where depth exceeds the maximum reading from evaporation for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076670 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: value, level, unit, lat
Sensor: humidity | fields: qc, depth, lon, level
Task: Get lat from snow_depth where type appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076671 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: qc, lat, depth, unit
Sensor: temperature | fields: ts, value, level, lat
Task: Retrieve reading from drought_index with depth above the MIN(depth) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076672 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: ts, value, depth, unit
Sensor: snow_depth | fields: lat, value, lon, level
Task: Get reading from uv_index where reading exceeds the minimum reading from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076673 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: lon, qc, level, lat
Sensor: wind_speed | fields: type, reading, depth, lon
Task: Get value from lightning where value exceeds the count of reading from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076674 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: level, depth, reading, lon
Sensor: wind_speed | fields: qc, reading, depth, lon
Task: Retrieve lat from sunlight that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076675 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: depth, reading, level, ts
Sensor: drought_index | fields: ts, depth, level, lat
Task: Fetch lon from dew_point where reading is greater than the maximum of depth in drought_index for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076676 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: lat, reading, ts, lon
Sensor: temperature | fields: reading, level, ts, qc
Task: Get level from rainfall where depth exceeds the total depth from temperature for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076677 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: qc, ts, reading, type
Sensor: visibility | fields: qc, lat, depth, ts
Task: Get value from temperature where reading exceeds the minimum depth from visibility for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076678 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: lat, depth, ts, value
Sensor: soil_moisture | fields: reading, type, qc, lat
Task: Retrieve lat from snow_depth that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076679 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: qc, depth, type, level
Sensor: snow_depth | fields: value, unit, reading, ts
Task: Get reading from turbidity where reading exceeds the count of depth from snow_depth for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076680 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: qc, reading, lat, type
Sensor: snow_depth | fields: unit, depth, value, lon
Task: Get reading from frost where reading exceeds the count of value from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076681 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: lon, lat, qc, depth
Sensor: drought_index | fields: reading, lat, value, lon
Task: Retrieve value from uv_index with reading above the MAX(reading) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076682 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: level, reading, depth, type
Sensor: visibility | fields: depth, type, reading, level
Task: Fetch lat from humidity that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076683 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, type, reading, qc
Sensor: turbidity | fields: ts, unit, lon, depth
Task: Fetch level from soil_moisture where depth exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076684 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: ts, unit, level, type
Sensor: frost | fields: depth, ts, type, reading
Task: Get lon from evaporation where value exceeds the maximum value from frost for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076685 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, lon, type, qc
Sensor: rainfall | fields: reading, ts, lat, type
Task: Get level from cloud_cover where ts appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076686 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: reading, unit, qc, type
Sensor: sunlight | fields: depth, lon, ts, reading
Task: Get reading from lightning where value exceeds the total depth from sunlight for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076687 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: lon, reading, lat, unit
Sensor: uv_index | fields: qc, level, ts, lon
Task: Fetch depth from temperature where ts exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076688 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: value, lon, ts, qc
Sensor: snow_depth | fields: lat, depth, qc, reading
Task: Fetch depth from evaporation that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076689 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: reading, lat, type, depth
Sensor: turbidity | fields: lat, level, value, depth
Task: Fetch lat from uv_index where depth exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076690 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: ts, lon, unit, type
Sensor: snow_depth | fields: lon, value, level, depth
Task: Retrieve reading from lightning whose depth is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076691 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: ts, reading, qc, level
Sensor: cloud_cover | fields: lon, depth, ts, value
Task: Get lon from wind_speed where value exceeds the count of value from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076692 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: type, reading, level, unit
Sensor: dew_point | fields: level, unit, value, depth
Task: Get lat from turbidity where qc appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076693 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: lat, level, type, lon
Sensor: sunlight | fields: unit, qc, lat, level
Task: Retrieve lon from uv_index that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076694 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: lon, ts, type, reading
Sensor: drought_index | fields: ts, lat, depth, unit
Task: Get level from temperature where qc appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076695 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: unit, reading, value, depth
Sensor: sunlight | fields: lat, value, level, lon
Task: Retrieve reading from drought_index with value above the MIN(reading) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076696 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: reading, value, lat, level
Sensor: snow_depth | fields: level, ts, reading, lon
Task: Get value from drought_index where value exceeds the total value from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076697 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: lon, reading, qc, ts
Sensor: dew_point | fields: qc, lon, value, lat
Task: Fetch level from air_quality where reading is greater than the minimum of value in dew_point for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"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_076698 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: lat, lon, level, value
Sensor: soil_moisture | fields: lat, ts, unit, level
Task: Fetch depth from pressure that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.