variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: humidity | code: thr | fields: value, lon, depth, ts
Sensor: air_quality | fields: lat, value, depth, ts
Task: Fetch value from humidity where type exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079600 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: type, value, depth, lat
Sensor: frost | fields: ts, reading, type, value
Task: Retrieve reading from air_quality whose qc is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079601 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: type, ts, value, qc
Sensor: lightning | fields: lat, lon, level, type
Task: Fetch lat from dew_point where type exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079602 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, type, ts, reading
Sensor: humidity | fields: lat, unit, type, level
Task: Retrieve lon from wind_speed with reading above the SUM(value) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079603 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: type, lat, lon, depth
Sensor: air_quality | fields: type, ts, level, depth
Task: Fetch lon from dew_point where value is greater than the average of reading in air_quality for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079604 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, qc, depth, unit
Sensor: dew_point | fields: lon, type, unit, lat
Task: Fetch depth from snow_depth where value is greater than the maximum of value in dew_point for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079605 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: reading, depth, ts, qc
Sensor: humidity | fields: value, level, lat, type
Task: Get lat from pressure where reading exceeds the minimum value from humidity for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079606 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: ts, level, reading, value
Sensor: humidity | fields: depth, value, type, unit
Task: Retrieve reading from drought_index with reading above the MIN(depth) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079607 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: level, depth, ts, lat
Sensor: wind_speed | fields: reading, value, type, unit
Task: Fetch lon from drought_index where depth is greater than the average of value in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079608 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: qc, lon, ts, level
Sensor: temperature | fields: value, level, ts, lon
Task: Retrieve depth from rainfall whose unit is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079609 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: ts, type, depth, unit
Sensor: uv_index | fields: lon, lat, reading, value
Task: Get level from cloud_cover where depth exceeds the maximum value from uv_index for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079610 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, value, depth, type
Sensor: lightning | fields: unit, value, qc, ts
Task: Fetch lon from cloud_cover where type exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079611 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: reading, qc, level, lon
Sensor: rainfall | fields: unit, ts, level, type
Task: Fetch depth from evaporation where value is greater than the minimum of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079612 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: reading, qc, value, ts
Sensor: air_quality | fields: qc, depth, lat, value
Task: Get level from frost where value exceeds the total reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079613 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: lon, qc, lat, ts
Sensor: air_quality | fields: lat, reading, value, unit
Task: Get value from soil_moisture where ts appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079614 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: unit, ts, value, depth
Sensor: uv_index | fields: lon, value, unit, ts
Task: Get lat from air_quality where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079615 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: value, ts, lat, qc
Sensor: pressure | fields: lon, lat, value, ts
Task: Fetch depth from frost where value is greater than the maximum of value in pressure for matching unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079616 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: reading, lon, qc, type
Sensor: humidity | fields: level, reading, lat, unit
Task: Get depth from lightning where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079617 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, level, ts, reading
Sensor: pressure | fields: lat, lon, ts, level
Task: Retrieve depth from snow_depth whose type is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079618 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: unit, lat, lon, reading
Sensor: wind_speed | fields: value, qc, lat, lon
Task: Retrieve lat from lightning whose qc is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079619 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: unit, level, value, ts
Sensor: snow_depth | fields: depth, level, qc, value
Task: Fetch depth from humidity that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079620 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: ts, level, depth, reading
Sensor: frost | fields: lat, unit, depth, level
Task: Fetch value from rainfall that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079621 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: level, value, type, ts
Sensor: uv_index | fields: unit, ts, lon, type
Task: Fetch level from lightning where type exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079622 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: ts, value, type, lat
Sensor: uv_index | fields: type, reading, qc, lon
Task: Get lon from turbidity where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079623 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: unit, ts, reading, depth
Sensor: evaporation | fields: lon, level, value, unit
Task: Get depth from uv_index where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079624 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: value, reading, type, unit
Sensor: uv_index | fields: value, type, lon, ts
Task: Get value from pressure where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079625 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: lat, ts, type, unit
Sensor: temperature | fields: level, unit, ts, lat
Task: Get depth from evaporation where depth exceeds the count of depth from temperature for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079626 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: level, type, unit, ts
Sensor: sunlight | fields: reading, lat, qc, ts
Task: Get lon from humidity where reading exceeds the maximum depth from sunlight for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079627 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, type, ts, unit
Sensor: lightning | fields: lat, qc, depth, reading
Task: Retrieve lon from cloud_cover whose unit is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079628 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: unit, lon, ts, type
Sensor: sunlight | fields: value, type, depth, reading
Task: Fetch lon from turbidity where unit exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079629 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: qc, type, level, unit
Sensor: evaporation | fields: unit, level, type, lon
Task: Fetch value from lightning where value is greater than the minimum of value in evaporation for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079630 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: type, value, qc, ts
Sensor: visibility | fields: value, depth, ts, unit
Task: Get reading from lightning where depth appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079631 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: type, lat, ts, depth
Sensor: evaporation | fields: type, lat, level, unit
Task: Fetch value from pressure where value is greater than the average of value in evaporation for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079632 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: ts, qc, type, lat
Sensor: pressure | fields: qc, reading, type, lon
Task: Get depth from humidity where depth exceeds the maximum reading from pressure for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079633 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: level, type, lon, qc
Sensor: wind_speed | fields: ts, unit, lat, lon
Task: Fetch depth from turbidity where type exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079634 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: value, lon, ts, depth
Sensor: soil_moisture | fields: type, lon, qc, level
Task: Fetch value from visibility where reading is greater than the average of value in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079635 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: level, unit, depth, lon
Sensor: soil_moisture | fields: depth, ts, value, reading
Task: Retrieve level from uv_index with depth above the AVG(value) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079636 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: ts, depth, unit, lat
Sensor: frost | fields: lon, level, ts, qc
Task: Fetch level from sunlight that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079637 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: value, qc, level, reading
Sensor: cloud_cover | fields: unit, depth, value, level
Task: Get level from pressure where reading exceeds the maximum depth from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079638 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: type, value, qc, lat
Sensor: visibility | fields: lat, unit, level, lon
Task: Get depth from wind_speed where ts appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079639 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: reading, unit, depth, qc
Sensor: temperature | fields: ts, value, lat, unit
Task: Get depth from uv_index where ts appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079640 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lon, reading, qc, ts
Sensor: lightning | fields: value, reading, depth, type
Task: Retrieve lat from pressure with depth above the MAX(reading) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079641 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: qc, lat, ts, value
Sensor: snow_depth | fields: level, type, depth, unit
Task: Get reading from wind_speed where unit appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079642 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: qc, type, lon, reading
Sensor: uv_index | fields: reading, unit, depth, level
Task: Retrieve level from drought_index with reading above the SUM(depth) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079643 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: qc, value, unit, depth
Sensor: soil_moisture | fields: ts, unit, value, depth
Task: Fetch lat from frost where qc exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079644 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: lat, value, unit, type
Sensor: pressure | fields: lon, reading, ts, lat
Task: Fetch depth from air_quality where unit exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079645 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: lon, qc, level, depth
Sensor: evaporation | fields: type, lon, level, qc
Task: Get level from humidity where qc appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079646 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: lon, level, type, unit
Sensor: cloud_cover | fields: ts, level, qc, unit
Task: Get level from turbidity where ts appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079647 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: reading, lon, lat, ts
Sensor: cloud_cover | fields: depth, value, qc, unit
Task: Get level from temperature where ts appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079648 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: value, lat, reading, depth
Sensor: humidity | fields: reading, level, unit, depth
Task: Retrieve reading from pressure with value above the SUM(reading) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079649 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: qc, level, lon, unit
Sensor: soil_moisture | fields: unit, depth, value, reading
Task: Fetch value from rainfall where depth exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079650 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, qc, type, depth
Sensor: cloud_cover | fields: ts, value, unit, type
Task: Get lat from wind_speed where reading exceeds the maximum value from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079651 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: lat, lon, reading, type
Sensor: air_quality | fields: type, unit, lon, qc
Task: Fetch lon from humidity that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079652 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: depth, lat, unit, value
Sensor: dew_point | fields: lat, lon, qc, reading
Task: Fetch level from sunlight where ts exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079653 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: lat, depth, ts, lon
Sensor: lightning | fields: depth, type, reading, ts
Task: Get lat from dew_point where ts appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079654 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: reading, lat, qc, level
Sensor: lightning | fields: unit, reading, level, lat
Task: Get lat from air_quality where ts appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079655 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: value, lat, level, reading
Sensor: dew_point | fields: qc, depth, unit, value
Task: Retrieve depth from rainfall that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079656 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: reading, lat, type, unit
Sensor: rainfall | fields: ts, unit, reading, level
Task: Get depth from sunlight where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079657 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: unit, reading, ts, lon
Sensor: uv_index | fields: level, lat, lon, depth
Task: Fetch level from frost where type exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079658 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lon, unit, lat, qc
Sensor: wind_speed | fields: type, unit, lat, level
Task: Retrieve reading from dew_point with depth above the SUM(depth) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079659 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: value, reading, lat, type
Sensor: uv_index | fields: qc, reading, lat, lon
Task: Retrieve depth from temperature that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079660 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: lon, reading, qc, lat
Sensor: humidity | fields: depth, lat, unit, qc
Task: Retrieve depth from frost whose qc is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079661 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: depth, lat, reading, unit
Sensor: soil_moisture | fields: qc, value, reading, unit
Task: Get depth from lightning where ts appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079662 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: reading, type, value, unit
Sensor: uv_index | fields: level, type, reading, qc
Task: Get value from sunlight where depth exceeds the total reading from uv_index for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079663 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: ts, unit, level, qc
Sensor: pressure | fields: level, lat, value, depth
Task: Get reading from visibility where reading exceeds the maximum depth from pressure for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079664 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, reading, qc, ts
Sensor: air_quality | fields: value, lon, level, qc
Task: Fetch value from soil_moisture where ts exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079665 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: type, qc, ts, lat
Sensor: evaporation | fields: level, depth, lat, lon
Task: Get depth from snow_depth where unit appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079666 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: type, ts, unit, value
Sensor: lightning | fields: unit, depth, ts, reading
Task: Get lon from temperature where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079667 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: unit, value, qc, lon
Sensor: drought_index | fields: type, reading, lon, unit
Task: Fetch lon from wind_speed where type exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079668 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: ts, level, qc, lat
Sensor: snow_depth | fields: unit, type, lon, lat
Task: Retrieve depth from visibility with depth above the AVG(reading) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079669 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: depth, reading, level, unit
Sensor: turbidity | fields: reading, qc, unit, value
Task: Get reading from dew_point where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079670 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: unit, depth, lon, reading
Sensor: wind_speed | fields: ts, value, qc, depth
Task: Get level from pressure where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079671 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: ts, lat, reading, qc
Sensor: drought_index | fields: level, lat, unit, value
Task: Retrieve level from uv_index with depth above the MIN(value) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079672 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: value, lon, lat, unit
Sensor: cloud_cover | fields: lon, reading, lat, level
Task: Fetch lat from snow_depth where qc exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079673 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: lat, lon, value, qc
Sensor: rainfall | fields: level, unit, depth, ts
Task: Fetch depth from temperature where type exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079674 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, depth, ts, unit
Sensor: wind_speed | fields: unit, type, qc, level
Task: Get level from cloud_cover where qc appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079675 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: ts, type, unit, value
Sensor: rainfall | fields: qc, reading, level, ts
Task: Fetch lat from soil_moisture that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079676 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: unit, reading, lat, level
Sensor: snow_depth | fields: level, value, lon, qc
Task: Retrieve lat from frost whose type is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079677 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: lon, type, reading, level
Sensor: cloud_cover | fields: lat, ts, qc, value
Task: Get lat from dew_point where type appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079678 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, lon, level, qc
Sensor: temperature | fields: qc, type, lat, reading
Task: Get reading from soil_moisture where unit appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079679 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: depth, lat, lon, type
Sensor: sunlight | fields: type, ts, reading, unit
Task: Retrieve depth from frost whose qc is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079680 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: level, ts, unit, depth
Sensor: turbidity | fields: unit, lat, ts, level
Task: Fetch level from lightning where unit exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079681 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: lon, type, level, reading
Sensor: rainfall | fields: ts, type, qc, lon
Task: Get level from drought_index where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079682 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: type, lon, qc, unit
Sensor: visibility | fields: unit, type, ts, lat
Task: Get lon from temperature where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079683 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: reading, level, lon, value
Sensor: sunlight | fields: qc, reading, type, depth
Task: Get level from drought_index where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079684 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: unit, qc, depth, value
Sensor: lightning | fields: unit, lon, type, reading
Task: Retrieve depth from rainfall that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079685 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: lon, level, type, unit
Sensor: sunlight | fields: reading, qc, level, type
Task: Fetch reading from rainfall where depth is greater than the maximum of depth in sunlight for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"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_079686 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: lat, value, level, unit
Sensor: frost | fields: value, reading, ts, qc
Task: Fetch value from uv_index where ts exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079687 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: level, ts, value, qc
Sensor: wind_speed | fields: reading, unit, depth, lon
Task: Fetch lat from humidity where unit exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079688 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: depth, lat, level, reading
Sensor: evaporation | fields: type, ts, reading, lat
Task: Get value from visibility where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079689 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: qc, depth, type, value
Sensor: visibility | fields: qc, level, value, unit
Task: Retrieve lon from soil_moisture that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079690 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: unit, ts, reading, qc
Sensor: uv_index | fields: depth, lon, lat, unit
Task: Fetch reading from humidity that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079691 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: lon, reading, depth, unit
Sensor: rainfall | fields: value, unit, reading, type
Task: Retrieve lon from sunlight with value above the SUM(value) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079692 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: depth, unit, qc, lat
Sensor: humidity | fields: lon, ts, type, lat
Task: Fetch reading from wind_speed where qc exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079693 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: qc, ts, unit, level
Sensor: air_quality | fields: lat, type, depth, ts
Task: Fetch lat from evaporation where type exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079694 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: depth, qc, type, unit
Sensor: rainfall | fields: unit, level, lon, depth
Task: Retrieve lat from humidity with reading above the MAX(depth) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079695 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, ts, qc, lat
Sensor: frost | fields: lon, qc, ts, level
Task: Get level from soil_moisture where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079696 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: level, lon, qc, lat
Sensor: pressure | fields: reading, lon, type, level
Task: Get depth from snow_depth where type appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079697 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: level, lat, type, value
Sensor: humidity | fields: qc, level, type, unit
Task: Get value from wind_speed where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079698 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: level, value, qc, ts
Sensor: humidity | fields: type, lon, reading, value
Task: Fetch value from snow_depth that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.