variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, type, qc, lon
Sensor: dew_point | fields: qc, type, reading, level
Task: Retrieve lon from soil_moisture that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081700 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: type, lon, ts, qc
Sensor: pressure | fields: depth, type, ts, lat
Task: Get level from snow_depth where reading exceeds the total value from pressure for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081701 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: lat, type, lon, reading
Sensor: uv_index | fields: reading, ts, lon, level
Task: Retrieve value from humidity with value above the MAX(depth) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081702 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, unit, reading, level
Sensor: evaporation | fields: value, qc, unit, type
Task: Fetch lon from snow_depth where value is greater than the maximum of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081703 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: type, value, qc, lon
Sensor: cloud_cover | fields: qc, lat, ts, reading
Task: Get reading from temperature where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081704 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: reading, level, lon, lat
Sensor: wind_speed | fields: lat, depth, level, ts
Task: Fetch reading from visibility where type exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081705 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: depth, ts, lon, type
Sensor: snow_depth | fields: qc, type, lon, unit
Task: Retrieve reading from evaporation with depth above the SUM(value) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081706 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: ts, depth, value, level
Sensor: lightning | fields: value, ts, lon, reading
Task: Get depth from humidity where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081707 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: unit, depth, lon, qc
Sensor: dew_point | fields: lat, qc, ts, depth
Task: Fetch lat from sunlight where depth is greater than the average of reading in dew_point for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081708 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: depth, value, lat, type
Sensor: rainfall | fields: unit, depth, reading, qc
Task: Retrieve lat from air_quality with depth above the AVG(reading) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081709 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: lat, depth, qc, reading
Sensor: drought_index | fields: lat, unit, reading, level
Task: Retrieve value from evaporation that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081710 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: type, level, reading, lon
Sensor: lightning | fields: lon, lat, reading, ts
Task: Get level from soil_moisture where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081711 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lat, lon, depth, ts
Sensor: turbidity | fields: ts, lat, level, unit
Task: Retrieve depth from drought_index with depth above the COUNT(depth) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081712 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: lon, unit, ts, reading
Sensor: sunlight | fields: level, qc, lon, type
Task: Fetch depth from cloud_cover where value is greater than the average of depth in sunlight for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"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_081713 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: lat, unit, level, value
Sensor: pressure | fields: type, ts, depth, unit
Task: Get depth from drought_index where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081714 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: lat, level, lon, type
Sensor: dew_point | fields: lon, qc, unit, depth
Task: Fetch depth from sunlight that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081715 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: lat, depth, value, type
Sensor: soil_moisture | fields: lat, value, level, unit
Task: Get level from humidity where unit appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081716 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: reading, lat, level, ts
Sensor: uv_index | fields: ts, unit, qc, lat
Task: Retrieve depth from sunlight that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081717 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: depth, lon, qc, ts
Sensor: rainfall | fields: value, level, qc, unit
Task: Fetch lon from pressure where ts exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081718 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: ts, qc, value, reading
Sensor: pressure | fields: ts, depth, value, type
Task: Retrieve value from humidity that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081719 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: lat, depth, lon, unit
Sensor: soil_moisture | fields: level, qc, value, type
Task: Retrieve value from lightning that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081720 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: unit, ts, depth, value
Sensor: pressure | fields: value, ts, qc, reading
Task: Get depth from evaporation where value exceeds the average reading from pressure for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081721 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, level, type, reading
Sensor: drought_index | fields: unit, lon, type, qc
Task: Retrieve value from snow_depth with depth above the COUNT(value) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081722 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: value, depth, ts, reading
Sensor: drought_index | fields: value, reading, type, depth
Task: Fetch depth from soil_moisture where type exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081723 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: value, type, ts, unit
Sensor: pressure | fields: level, depth, lat, lon
Task: Retrieve depth from snow_depth with depth above the COUNT(depth) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081724 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: level, value, ts, depth
Sensor: drought_index | fields: unit, lon, lat, ts
Task: Fetch reading from soil_moisture where depth exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081725 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: lon, level, lat, qc
Sensor: soil_moisture | fields: depth, lon, lat, reading
Task: Fetch lon from lightning that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081726 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: reading, type, lat, lon
Sensor: pressure | fields: depth, value, qc, ts
Task: Get reading from lightning where type appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081727 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lat, reading, lon, unit
Sensor: uv_index | fields: lon, lat, depth, level
Task: Fetch level from temperature where unit exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081728 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, level, value, unit
Sensor: visibility | fields: lat, level, qc, reading
Task: Fetch lat from wind_speed where depth is greater than the count of of reading in visibility for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081729 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: type, unit, depth, value
Sensor: wind_speed | fields: lat, unit, depth, level
Task: Fetch depth from snow_depth that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081730 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: level, reading, value, depth
Sensor: turbidity | fields: lat, ts, depth, reading
Task: Get level from uv_index where value exceeds the maximum value from turbidity for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081731 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, value, lon, unit
Sensor: lightning | fields: level, ts, type, value
Task: Fetch value from cloud_cover where depth exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081732 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: unit, ts, value, type
Sensor: soil_moisture | fields: ts, qc, reading, type
Task: Retrieve lon from dew_point that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081733 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: lon, level, ts, type
Sensor: frost | fields: reading, qc, level, lat
Task: Get level from drought_index where qc appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081734 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: level, depth, type, qc
Sensor: dew_point | fields: depth, type, level, qc
Task: Retrieve level from rainfall whose qc is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081735 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: depth, unit, reading, type
Sensor: wind_speed | fields: reading, level, ts, unit
Task: Get value from sunlight where qc appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081736 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: lon, unit, depth, value
Sensor: soil_moisture | fields: qc, reading, lat, depth
Task: Fetch value from rainfall where reading is greater than the count of of depth in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081737 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: unit, value, qc, depth
Sensor: wind_speed | fields: type, value, ts, reading
Task: Retrieve level from frost that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081738 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: unit, reading, ts, value
Sensor: drought_index | fields: type, unit, qc, lat
Task: Fetch value from turbidity where depth is greater than the maximum of depth in drought_index for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081739 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: lat, level, unit, reading
Sensor: frost | fields: lat, ts, reading, lon
Task: Get depth from temperature where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081740 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: reading, ts, depth, value
Sensor: temperature | fields: reading, lat, qc, level
Task: Get lon from frost where reading exceeds the total reading from temperature for the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081741 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: reading, depth, ts, type
Sensor: drought_index | fields: reading, lon, type, qc
Task: Retrieve lon from sunlight that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081742 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: level, lon, type, lat
Sensor: air_quality | fields: value, reading, lon, depth
Task: Fetch reading from cloud_cover where value is greater than the minimum of reading in air_quality for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081743 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: lon, depth, qc, value
Sensor: wind_speed | fields: level, depth, lon, qc
Task: Retrieve value from frost with reading above the MIN(reading) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081744 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: lat, type, qc, depth
Sensor: humidity | fields: unit, depth, lat, qc
Task: Retrieve level from air_quality with depth above the MIN(depth) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081745 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: level, lon, reading, qc
Sensor: soil_moisture | fields: value, lat, level, qc
Task: Fetch reading from rainfall where value is greater than the maximum of reading in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081746 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, depth, reading, ts
Sensor: temperature | fields: qc, level, reading, ts
Task: Retrieve lat from cloud_cover that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081747 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: level, lon, reading, lat
Sensor: turbidity | fields: ts, lon, type, reading
Task: Retrieve reading from wind_speed whose depth is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081748 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: value, unit, lat, type
Sensor: dew_point | fields: unit, value, depth, level
Task: Fetch level from evaporation where depth is greater than the average of reading in dew_point for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081749 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: unit, ts, type, reading
Sensor: temperature | fields: ts, reading, value, type
Task: Retrieve reading from humidity with depth above the MIN(depth) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081750 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lon, value, type, qc
Sensor: visibility | fields: unit, type, reading, level
Task: Fetch level from pressure where type exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081751 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, ts, type, value
Sensor: humidity | fields: value, type, level, qc
Task: Fetch depth from soil_moisture where type exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081752 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: lon, level, depth, qc
Sensor: sunlight | fields: reading, level, type, qc
Task: Retrieve depth from lightning with depth above the SUM(value) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081753 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: depth, unit, qc, value
Sensor: rainfall | fields: level, lat, type, value
Task: Retrieve reading from frost that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081754 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: lon, level, depth, unit
Sensor: cloud_cover | fields: ts, depth, reading, level
Task: Fetch level from turbidity where reading is greater than the maximum of depth in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081755 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, reading, lon, depth
Sensor: frost | fields: unit, reading, lat, ts
Task: Fetch lat from wind_speed where value is greater than the minimum of reading in frost for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081756 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: level, unit, value, depth
Sensor: soil_moisture | fields: value, type, lon, unit
Task: Get value from visibility where reading exceeds the total value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081757 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: level, qc, reading, lon
Sensor: soil_moisture | fields: ts, reading, unit, qc
Task: Fetch reading from air_quality that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081758 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: type, ts, lon, qc
Sensor: evaporation | fields: ts, reading, depth, lon
Task: Retrieve depth from rainfall that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081759 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, unit, depth, qc
Sensor: uv_index | fields: type, depth, qc, lat
Task: Fetch lat from cloud_cover where reading is greater than the average of depth in uv_index for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081760 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: type, unit, lat, ts
Sensor: dew_point | fields: type, value, lat, qc
Task: Fetch value from evaporation where depth is greater than the maximum of value in dew_point for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081761 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: level, reading, lat, unit
Sensor: lightning | fields: type, qc, ts, depth
Task: Fetch lon from dew_point where qc exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081762 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lon, lat, depth, type
Sensor: frost | fields: lat, unit, value, reading
Task: Retrieve reading from dew_point with depth above the AVG(depth) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081763 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, unit, value, type
Sensor: pressure | fields: lon, unit, reading, ts
Task: Retrieve depth from cloud_cover that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081764 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: value, reading, type, depth
Sensor: temperature | fields: value, ts, lat, type
Task: Fetch lat from evaporation that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081765 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: lon, value, depth, lat
Sensor: temperature | fields: type, reading, level, depth
Task: Fetch level from cloud_cover where unit exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081766 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: reading, lon, qc, type
Sensor: soil_moisture | fields: lon, unit, depth, qc
Task: Get lon from dew_point where ts appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081767 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: unit, ts, level, qc
Sensor: visibility | fields: lon, value, ts, type
Task: Retrieve depth from turbidity that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081768 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: level, reading, depth, value
Sensor: uv_index | fields: depth, reading, value, lon
Task: Fetch level from rainfall where value is greater than the average of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081769 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: ts, value, lat, qc
Sensor: dew_point | fields: unit, type, lat, depth
Task: Get reading from drought_index where unit appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081770 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: unit, type, depth, ts
Sensor: lightning | fields: unit, qc, ts, reading
Task: Fetch value from sunlight where ts exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081771 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: unit, value, type, lat
Sensor: rainfall | fields: type, value, depth, reading
Task: Retrieve level from temperature with value above the AVG(depth) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081772 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: value, unit, depth, ts
Sensor: visibility | fields: reading, unit, level, qc
Task: Retrieve reading from turbidity whose ts is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081773 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: type, reading, lon, lat
Sensor: cloud_cover | fields: type, lon, unit, reading
Task: Retrieve level from rainfall with reading above the SUM(depth) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081774 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: level, reading, unit, lon
Sensor: visibility | fields: lat, type, reading, lon
Task: Fetch level from evaporation where value is greater than the maximum of reading in visibility for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081775 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: level, lon, ts, value
Sensor: lightning | fields: qc, unit, type, value
Task: Get lat from wind_speed where ts appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081776 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: type, qc, ts, depth
Sensor: air_quality | fields: lat, reading, qc, lon
Task: Fetch lat from wind_speed where qc exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081777 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: ts, depth, unit, type
Sensor: evaporation | fields: value, unit, reading, type
Task: Fetch lon from dew_point that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081778 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: value, type, unit, lon
Sensor: evaporation | fields: depth, unit, qc, ts
Task: Retrieve value from wind_speed that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081779 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, unit, qc, level
Sensor: frost | fields: unit, value, level, reading
Task: Get lat from soil_moisture where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081780 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: type, unit, depth, qc
Sensor: evaporation | fields: unit, depth, lon, reading
Task: Fetch lat from uv_index where depth is greater than the maximum of depth in evaporation for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081781 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: lat, level, depth, type
Sensor: evaporation | fields: reading, depth, lon, ts
Task: Retrieve lat from sunlight that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081782 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: depth, lat, ts, reading
Sensor: dew_point | fields: depth, type, level, reading
Task: Retrieve value from air_quality with value above the MIN(depth) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081783 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: lat, value, level, reading
Sensor: visibility | fields: lon, type, ts, value
Task: Fetch reading from evaporation where depth is greater than the minimum of value in visibility for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081784 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: ts, lat, qc, depth
Sensor: humidity | fields: value, level, qc, reading
Task: Retrieve value from cloud_cover whose unit is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081785 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: qc, level, lon, lat
Sensor: dew_point | fields: qc, level, lon, lat
Task: Retrieve reading from lightning that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081786 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: lat, qc, level, unit
Sensor: pressure | fields: type, unit, qc, reading
Task: Retrieve depth from humidity whose qc is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081787 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: value, type, level, depth
Sensor: temperature | fields: value, lon, lat, type
Task: Get reading from pressure where value exceeds the minimum value from temperature for the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081788 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: lon, level, reading, unit
Sensor: snow_depth | fields: reading, depth, ts, lat
Task: Fetch level from visibility where type exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081789 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: ts, value, lon, unit
Sensor: wind_speed | fields: ts, type, level, depth
Task: Retrieve lat from uv_index with depth above the AVG(depth) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081790 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: reading, lon, level, type
Sensor: wind_speed | fields: value, level, qc, ts
Task: Fetch reading from snow_depth where reading is greater than the average of depth in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081791 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: qc, type, lat, depth
Sensor: lightning | fields: depth, qc, lat, reading
Task: Fetch lon from visibility where type exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081792 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: reading, ts, lat, depth
Sensor: wind_speed | fields: level, ts, reading, qc
Task: Retrieve lon from cloud_cover with value above the COUNT(value) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081793 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, lat, level, unit
Sensor: cloud_cover | fields: ts, type, qc, depth
Task: Get reading from wind_speed where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081794 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: lon, level, unit, lat
Sensor: dew_point | fields: lat, depth, ts, reading
Task: Fetch lon from temperature where value is greater than the maximum of reading in dew_point for matching type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081795 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: lat, ts, unit, depth
Sensor: wind_speed | fields: unit, level, type, reading
Task: Fetch lon from sunlight where type exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081796 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: unit, ts, qc, depth
Sensor: air_quality | fields: reading, lon, ts, lat
Task: Fetch level from humidity where ts exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081797 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, ts, lon, value
Sensor: drought_index | fields: reading, type, unit, lat
Task: Get lon from cloud_cover where depth appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081798 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: unit, lon, qc, level
Sensor: soil_moisture | fields: value, reading, unit, lon
Task: Retrieve depth from turbidity whose ts is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.