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: rainfall | code: prt | fields: unit, reading, qc, value
Sensor: snow_depth | fields: value, depth, level, lon
Task: Retrieve depth from rainfall with value above the MAX(value) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041600 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: unit, qc, depth, ts
Sensor: humidity | fields: lon, ts, lat, type
Task: Retrieve level from frost with reading above the COUNT(depth) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041601 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: level, lat, lon, unit
Sensor: snow_depth | fields: reading, value, depth, unit
Task: Get lon from dew_point where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041602 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, level, ts, qc
Sensor: rainfall | fields: unit, value, lat, ts
Task: Fetch lat from snow_depth that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041603 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: qc, ts, lat, type
Sensor: evaporation | fields: type, level, lat, lon
Task: Fetch reading from drought_index where depth is greater than the maximum of reading in evaporation for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041604 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: qc, depth, lon, ts
Sensor: visibility | fields: level, qc, reading, unit
Task: Retrieve reading from evaporation with depth above the MAX(reading) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041605 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, type, reading, level
Sensor: sunlight | fields: unit, lat, reading, ts
Task: Retrieve lat from snow_depth that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041606 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: level, lat, lon, qc
Sensor: uv_index | fields: qc, type, lat, lon
Task: Retrieve level from drought_index with value above the MIN(reading) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041607 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: qc, type, depth, ts
Sensor: humidity | fields: lon, depth, value, qc
Task: Get lat from visibility where ts appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041608 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: type, ts, reading, qc
Sensor: pressure | fields: qc, reading, depth, unit
Task: Get reading from frost where depth exceeds the total depth from pressure for the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041609 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, ts, reading, unit
Sensor: temperature | fields: level, value, qc, lat
Task: Get lon from soil_moisture where unit appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041610 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: unit, reading, qc, lat
Sensor: visibility | fields: depth, value, level, type
Task: Retrieve lat from cloud_cover whose ts is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041611 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: type, qc, lon, ts
Sensor: cloud_cover | fields: unit, lon, qc, level
Task: Fetch depth from temperature where value is greater than the average of reading in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041612 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: qc, lon, depth, level
Sensor: pressure | fields: lat, ts, value, unit
Task: Fetch level from visibility where unit exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041613 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: unit, reading, level, type
Sensor: snow_depth | fields: level, unit, lat, depth
Task: Get value from lightning where qc appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041614 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: lat, qc, lon, type
Sensor: evaporation | fields: reading, level, lat, type
Task: Retrieve lon from turbidity whose qc is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041615 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: unit, qc, level, reading
Sensor: snow_depth | fields: ts, value, depth, unit
Task: Retrieve reading from rainfall with reading above the AVG(reading) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041616 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: depth, type, ts, reading
Sensor: air_quality | fields: lon, unit, qc, depth
Task: Get reading from turbidity where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041617 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: lon, ts, type, lat
Sensor: drought_index | fields: type, lon, depth, value
Task: Get value from evaporation where depth exceeds the maximum value from drought_index for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041618 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: level, ts, lat, value
Sensor: pressure | fields: type, unit, level, depth
Task: Fetch level from drought_index that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041619 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: depth, value, lat, unit
Sensor: soil_moisture | fields: depth, qc, reading, level
Task: Get level from frost where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041620 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: depth, lat, qc, unit
Sensor: humidity | fields: lon, qc, unit, type
Task: Retrieve lon from pressure that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041621 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: type, reading, value, depth
Sensor: wind_speed | fields: ts, qc, type, lon
Task: Fetch lat from pressure where type exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041622 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: ts, qc, depth, type
Sensor: frost | fields: depth, value, qc, lon
Task: Retrieve lat from uv_index that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041623 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, unit, level, value
Sensor: lightning | fields: reading, type, unit, value
Task: Get level from snow_depth where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041624 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: ts, value, lat, lon
Sensor: air_quality | fields: lon, ts, depth, value
Task: Fetch value from lightning that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041625 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: ts, qc, lon, lat
Sensor: temperature | fields: lat, level, lon, value
Task: Get depth from frost where depth exceeds the maximum reading from temperature for the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041626 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: ts, qc, type, unit
Sensor: lightning | fields: unit, reading, lon, level
Task: Retrieve lat from frost with value above the MIN(depth) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041627 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: level, lon, unit, depth
Sensor: frost | fields: lat, lon, qc, reading
Task: Fetch lon from uv_index that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041628 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: lat, type, reading, lon
Sensor: rainfall | fields: depth, lon, value, ts
Task: Fetch lon from evaporation that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041629 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: ts, depth, level, unit
Sensor: temperature | fields: value, type, reading, ts
Task: Retrieve lat from turbidity whose type is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041630 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: depth, qc, lat, lon
Sensor: pressure | fields: depth, value, level, type
Task: Get depth from turbidity where ts appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041631 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: lon, level, type, value
Sensor: humidity | fields: type, lat, reading, unit
Task: Get value from pressure where reading exceeds the minimum value from humidity for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041632 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: ts, lat, depth, unit
Sensor: dew_point | fields: qc, unit, type, lat
Task: Fetch value from evaporation where depth exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041633 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: lat, qc, type, depth
Sensor: soil_moisture | fields: qc, lat, type, unit
Task: Retrieve depth from temperature with value above the COUNT(value) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041634 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: value, type, lat, reading
Sensor: sunlight | fields: depth, reading, ts, level
Task: Fetch reading from air_quality where value is greater than the total of value in sunlight for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041635 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: level, depth, qc, type
Sensor: soil_moisture | fields: type, lon, reading, lat
Task: Retrieve depth from sunlight whose type is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041636 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: reading, value, type, unit
Sensor: cloud_cover | fields: type, depth, value, lon
Task: Fetch depth from humidity where qc exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041637 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: lat, qc, reading, ts
Sensor: temperature | fields: unit, ts, qc, lat
Task: Retrieve reading from wind_speed whose depth is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041638 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: lat, qc, lon, reading
Sensor: dew_point | fields: depth, qc, lon, value
Task: Retrieve reading from frost that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041639 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: type, level, lon, reading
Sensor: cloud_cover | fields: lon, value, ts, level
Task: Get value from dew_point where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041640 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: value, lat, qc, unit
Sensor: turbidity | fields: ts, level, reading, depth
Task: Retrieve value from air_quality with depth above the MIN(reading) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041641 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: unit, ts, type, qc
Sensor: lightning | fields: reading, qc, unit, lat
Task: Get reading from sunlight where reading exceeds the count of reading from lightning for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041642 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: lat, qc, type, lon
Sensor: dew_point | fields: unit, qc, type, value
Task: Fetch depth from air_quality where depth is greater than the count of of value in dew_point for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041643 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, lat, depth, unit
Sensor: snow_depth | fields: value, unit, depth, lat
Task: Retrieve value from soil_moisture with depth above the MIN(value) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041644 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: type, depth, unit, value
Sensor: pressure | fields: lat, unit, value, reading
Task: Fetch value from soil_moisture where depth is greater than the maximum of depth in pressure for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041645 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: lat, lon, value, depth
Sensor: pressure | fields: ts, level, value, unit
Task: Get level from sunlight where depth exceeds the maximum value from pressure for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041646 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: type, lat, level, depth
Sensor: evaporation | fields: qc, lat, value, type
Task: Retrieve depth from pressure that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041647 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: depth, level, lon, value
Sensor: uv_index | fields: level, type, ts, unit
Task: Fetch lon from rainfall where depth exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041648 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: value, type, level, reading
Sensor: cloud_cover | fields: reading, value, type, ts
Task: Retrieve level from air_quality with reading above the MIN(depth) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041649 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: depth, level, qc, reading
Sensor: turbidity | fields: unit, ts, depth, lat
Task: Retrieve reading from wind_speed with value above the MAX(depth) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041650 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: reading, lon, lat, type
Sensor: cloud_cover | fields: lon, reading, depth, lat
Task: Get depth from visibility where reading exceeds the maximum reading from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041651 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: lat, type, ts, value
Sensor: frost | fields: qc, value, unit, ts
Task: Retrieve lon from lightning with value above the SUM(reading) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041652 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: reading, qc, value, lon
Sensor: air_quality | fields: reading, lon, type, ts
Task: Retrieve level from sunlight whose qc is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041653 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: qc, depth, lon, reading
Sensor: rainfall | fields: level, lon, reading, unit
Task: Get value from air_quality where value exceeds the minimum reading from rainfall for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041654 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: type, ts, level, depth
Sensor: rainfall | fields: type, unit, depth, lat
Task: Retrieve depth from air_quality that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041655 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: type, qc, level, lat
Sensor: uv_index | fields: value, lon, level, ts
Task: Get lon from evaporation where unit appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041656 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: lon, level, value, reading
Sensor: cloud_cover | fields: depth, qc, lat, lon
Task: Fetch reading from temperature where reading is greater than the count of of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041657 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: type, depth, ts, lon
Sensor: lightning | fields: lat, type, value, reading
Task: Get lon from turbidity where value exceeds the maximum reading from lightning for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041658 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: level, lon, value, ts
Sensor: uv_index | fields: qc, depth, value, lat
Task: Get value from sunlight where type appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041659 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: depth, level, unit, lat
Sensor: humidity | fields: type, reading, lat, level
Task: Fetch lat from sunlight where reading is greater than the average of reading in humidity for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041660 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: lon, depth, type, qc
Sensor: temperature | fields: level, reading, unit, type
Task: Retrieve level from lightning whose type is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041661 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: unit, qc, lon, level
Sensor: sunlight | fields: unit, level, qc, lon
Task: Get reading from rainfall where qc appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041662 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: qc, type, ts, level
Sensor: rainfall | fields: lon, type, depth, unit
Task: Fetch reading from dew_point where reading is greater than the count of of value in rainfall for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041663 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: qc, lat, level, type
Sensor: uv_index | fields: reading, depth, level, unit
Task: Retrieve lon from dew_point whose ts is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041664 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: depth, value, lat, type
Sensor: evaporation | fields: depth, type, reading, level
Task: Retrieve value from humidity whose type is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"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_041665 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, qc, level, lon
Sensor: dew_point | fields: lon, level, reading, unit
Task: Retrieve reading from cloud_cover with value above the AVG(depth) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041666 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: depth, lat, unit, qc
Sensor: turbidity | fields: ts, lon, depth, qc
Task: Fetch lon from drought_index that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041667 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: lon, type, qc, depth
Sensor: dew_point | fields: unit, ts, depth, level
Task: Get reading from drought_index where unit appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041668 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: value, lon, level, lat
Sensor: cloud_cover | fields: reading, lon, level, value
Task: Get level from wind_speed where type appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041669 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: lat, reading, type, ts
Sensor: air_quality | fields: value, ts, depth, unit
Task: Fetch value from cloud_cover that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041670 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: type, ts, reading, lon
Sensor: uv_index | fields: level, ts, reading, lat
Task: Fetch level from soil_moisture where reading is greater than the total of depth in uv_index for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041671 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: ts, type, level, qc
Sensor: uv_index | fields: unit, value, reading, lon
Task: Fetch lat from evaporation where unit exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041672 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: qc, level, value, lat
Sensor: turbidity | fields: level, depth, unit, lat
Task: Retrieve lat from soil_moisture with reading above the MIN(depth) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041673 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: level, lon, unit, value
Sensor: cloud_cover | fields: value, level, depth, ts
Task: Get reading from frost where qc appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041674 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: depth, ts, value, level
Sensor: drought_index | fields: ts, type, lon, lat
Task: Retrieve lon from dew_point that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041675 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: qc, lon, type, ts
Sensor: dew_point | fields: level, value, reading, qc
Task: Get lat from visibility where depth exceeds the count of reading from dew_point for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041676 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: depth, unit, ts, qc
Sensor: air_quality | fields: value, depth, level, lat
Task: Get value from turbidity where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041677 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: lon, reading, unit, depth
Sensor: uv_index | fields: type, reading, qc, ts
Task: Retrieve lon from visibility that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041678 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: lat, unit, depth, lon
Sensor: drought_index | fields: unit, depth, type, lat
Task: Retrieve lat from dew_point with depth above the AVG(value) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041679 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: level, depth, unit, value
Sensor: lightning | fields: ts, value, depth, unit
Task: Retrieve lon from rainfall that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041680 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: value, level, depth, type
Sensor: soil_moisture | fields: qc, unit, reading, value
Task: Fetch level from sunlight where type exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041681 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: unit, ts, type, level
Sensor: evaporation | fields: unit, qc, value, ts
Task: Get level from turbidity where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041682 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: reading, qc, type, ts
Sensor: drought_index | fields: reading, value, type, ts
Task: Retrieve lat from temperature that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041683 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: level, unit, value, ts
Sensor: evaporation | fields: unit, qc, lat, lon
Task: Retrieve value from sunlight that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041684 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: unit, depth, ts, type
Sensor: frost | fields: type, qc, lon, lat
Task: Fetch reading from wind_speed where type exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041685 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: level, unit, depth, qc
Sensor: cloud_cover | fields: lat, lon, reading, type
Task: Fetch lon from humidity that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041686 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: reading, unit, lon, lat
Sensor: temperature | fields: lon, reading, unit, type
Task: Retrieve reading from sunlight that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041687 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: ts, depth, unit, level
Sensor: air_quality | fields: value, depth, lon, unit
Task: Fetch value from cloud_cover where depth exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041688 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: unit, reading, type, qc
Sensor: visibility | fields: depth, value, reading, unit
Task: Retrieve depth from pressure that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041689 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: type, value, level, reading
Sensor: turbidity | fields: type, ts, value, depth
Task: Fetch lat from temperature where unit exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041690 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: value, ts, type, lat
Sensor: visibility | fields: type, lat, ts, level
Task: Fetch depth from uv_index where value is greater than the minimum of value in visibility for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041691 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: ts, depth, unit, type
Sensor: uv_index | fields: lat, depth, type, ts
Task: Get lat from air_quality where depth exceeds the minimum depth from uv_index for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041692 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: depth, level, qc, type
Sensor: soil_moisture | fields: lon, level, qc, ts
Task: Retrieve lon from pressure that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041693 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: value, reading, lon, ts
Sensor: air_quality | fields: qc, value, lat, unit
Task: Get level from temperature where value exceeds the minimum reading from air_quality for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041694 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: qc, unit, lat, depth
Sensor: rainfall | fields: depth, lat, value, reading
Task: Fetch level from pressure where reading is greater than the average of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041695 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: lon, type, level, ts
Sensor: frost | fields: unit, lon, qc, lat
Task: Retrieve lat from temperature with value above the MIN(reading) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041696 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: unit, lon, qc, type
Sensor: soil_moisture | fields: reading, qc, depth, lat
Task: Get lat from dew_point where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041697 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: level, depth, unit, lat
Sensor: uv_index | fields: lon, depth, type, unit
Task: Retrieve reading from rainfall that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041698 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: unit, level, lon, qc
Sensor: sunlight | fields: value, lon, lat, level
Task: Retrieve lat from wind_speed with reading above the SUM(reading) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.