variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: dew_point | code: thr | fields: level, unit, lat, lon
Sensor: air_quality | fields: lon, ts, depth, qc
Task: Retrieve reading from dew_point with reading above the MAX(reading) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004600 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: level, depth, type, unit
Sensor: frost | fields: type, reading, lat, value
Task: Retrieve lat from pressure that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004601 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: type, qc, ts, lon
Sensor: humidity | fields: lat, reading, depth, unit
Task: Retrieve level from drought_index whose depth is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004602 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: qc, lon, depth, value
Sensor: snow_depth | fields: level, ts, type, lon
Task: Fetch lon from lightning that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004603 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: lon, level, lat, value
Sensor: drought_index | fields: unit, lat, ts, type
Task: Get lon from pressure where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004604 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lat, level, lon, depth
Sensor: soil_moisture | fields: reading, ts, level, depth
Task: Get level from drought_index where value exceeds the minimum value from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004605 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: unit, lon, level, value
Sensor: turbidity | fields: level, value, reading, ts
Task: Fetch depth from pressure where qc exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004606 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: level, lat, ts, type
Sensor: pressure | fields: unit, reading, lon, qc
Task: Get depth from drought_index where type appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004607 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: qc, type, lat, reading
Sensor: lightning | fields: lon, lat, qc, depth
Task: Retrieve reading from frost whose qc is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004608 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: reading, unit, depth, lon
Sensor: frost | fields: qc, type, level, depth
Task: Fetch value from lightning where ts exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004609 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: depth, ts, unit, level
Sensor: cloud_cover | fields: reading, level, type, depth
Task: Get level from uv_index where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004610 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: lat, depth, value, qc
Sensor: drought_index | fields: reading, unit, qc, depth
Task: Retrieve lon from temperature that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004611 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: lat, type, ts, level
Sensor: sunlight | fields: value, qc, depth, reading
Task: Fetch lat from evaporation that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004612 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: value, unit, level, reading
Sensor: drought_index | fields: type, depth, value, ts
Task: Fetch value from visibility that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004613 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: ts, depth, level, lat
Sensor: air_quality | fields: level, lat, lon, type
Task: Fetch depth from soil_moisture where depth exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004614 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: qc, type, ts, unit
Sensor: temperature | fields: ts, level, unit, qc
Task: Get lon from sunlight where reading exceeds the maximum reading from temperature for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004615 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, depth, lat, lon
Sensor: snow_depth | fields: reading, lat, value, lon
Task: Fetch reading from cloud_cover that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004616 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: lon, reading, depth, lat
Sensor: sunlight | fields: qc, lat, ts, value
Task: Retrieve level from rainfall with value above the COUNT(value) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004617 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: level, lat, reading, qc
Sensor: rainfall | fields: type, level, value, qc
Task: Retrieve value from uv_index that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004618 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: lat, unit, value, level
Sensor: humidity | fields: lon, lat, type, qc
Task: Get depth from temperature where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004619 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: unit, level, lat, lon
Sensor: rainfall | fields: reading, unit, lat, level
Task: Get lon from visibility where value exceeds the average reading from rainfall for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004620 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: ts, lon, qc, reading
Sensor: frost | fields: lat, lon, type, value
Task: Fetch reading from sunlight that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004621 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, lon, lat, depth
Sensor: frost | fields: reading, type, value, qc
Task: Fetch value from wind_speed that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004622 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: level, value, type, ts
Sensor: soil_moisture | fields: unit, depth, ts, lon
Task: Retrieve value from snow_depth that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004623 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: depth, value, level, ts
Sensor: uv_index | fields: reading, ts, lat, level
Task: Retrieve lat from drought_index whose qc is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004624 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: depth, lat, qc, reading
Sensor: temperature | fields: type, reading, value, level
Task: Get value from wind_speed where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004625 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: reading, type, value, qc
Sensor: cloud_cover | fields: value, lat, type, lon
Task: Fetch depth from visibility where reading is greater than the maximum of depth in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004626 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: unit, qc, type, depth
Sensor: dew_point | fields: lon, value, qc, reading
Task: Fetch lon from frost where ts exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004627 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, unit, qc, lon
Sensor: cloud_cover | fields: lon, ts, depth, value
Task: Get lon from wind_speed where depth appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004628 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: unit, reading, qc, ts
Sensor: snow_depth | fields: unit, depth, value, qc
Task: Get value from turbidity where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004629 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: type, reading, value, lon
Sensor: turbidity | fields: type, level, lon, ts
Task: Fetch value from dew_point where depth is greater than the average of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004630 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: ts, value, level, type
Sensor: snow_depth | fields: type, unit, reading, ts
Task: Get level from lightning where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004631 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, lon, ts, level
Sensor: pressure | fields: ts, value, level, reading
Task: Retrieve depth from snow_depth that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
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",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004632 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: qc, lat, depth, ts
Sensor: uv_index | fields: reading, depth, unit, type
Task: Fetch value from evaporation where depth is greater than the count of of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004633 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: level, lat, reading, value
Sensor: evaporation | fields: depth, lon, type, unit
Task: Get value from dew_point where unit appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004634 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: depth, ts, type, reading
Sensor: frost | fields: level, value, lon, reading
Task: Fetch level from rainfall where depth exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004635 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: depth, reading, type, ts
Sensor: wind_speed | fields: ts, reading, value, level
Task: Get lat from drought_index where depth appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004636 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: type, level, depth, value
Sensor: soil_moisture | fields: reading, type, value, level
Task: Fetch reading from evaporation that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004637 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: qc, value, level, lon
Sensor: soil_moisture | fields: depth, lon, lat, value
Task: Retrieve value from evaporation that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004638 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: unit, ts, reading, lon
Sensor: rainfall | fields: type, lon, level, ts
Task: Get level from wind_speed where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004639 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: lat, depth, value, type
Sensor: air_quality | fields: value, level, type, ts
Task: Fetch lon from turbidity that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004640 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: qc, unit, depth, lon
Sensor: dew_point | fields: depth, lon, value, ts
Task: Fetch level from rainfall where depth is greater than the average of reading in dew_point for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004641 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: type, unit, depth, qc
Sensor: pressure | fields: level, unit, reading, depth
Task: Get depth from wind_speed where ts appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004642 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, level, reading, unit
Sensor: dew_point | fields: lon, lat, value, unit
Task: Retrieve depth from soil_moisture that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004643 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: type, lon, value, lat
Sensor: evaporation | fields: qc, unit, level, ts
Task: Retrieve depth from drought_index whose unit is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004644 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: type, lon, lat, reading
Sensor: drought_index | fields: reading, ts, unit, depth
Task: Retrieve reading from wind_speed with reading above the COUNT(reading) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004645 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: qc, type, value, unit
Sensor: wind_speed | fields: ts, unit, depth, type
Task: Retrieve reading from humidity with reading above the MAX(depth) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004646 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: value, lat, lon, unit
Sensor: temperature | fields: reading, qc, type, level
Task: Retrieve reading from wind_speed that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004647 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: level, reading, depth, value
Sensor: dew_point | fields: qc, lon, ts, unit
Task: Get lon from rainfall where depth appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004648 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: level, lat, type, lon
Sensor: pressure | fields: value, type, reading, unit
Task: Get value from snow_depth where depth exceeds the minimum depth from pressure for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004649 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: lat, unit, ts, depth
Sensor: uv_index | fields: unit, value, qc, type
Task: Get level from cloud_cover where qc appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004650 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: lat, type, level, qc
Sensor: visibility | fields: lon, qc, unit, value
Task: Retrieve lat from snow_depth with depth above the SUM(value) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004651 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: reading, depth, lat, qc
Sensor: dew_point | fields: level, lon, value, lat
Task: Retrieve value from lightning whose type is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004652 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: lon, unit, level, qc
Sensor: visibility | fields: qc, ts, value, unit
Task: Get level from snow_depth where value exceeds the average reading from visibility for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004653 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: depth, level, qc, ts
Sensor: cloud_cover | fields: lat, level, unit, depth
Task: Retrieve reading from dew_point that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004654 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: lat, value, type, qc
Sensor: sunlight | fields: value, lat, lon, level
Task: Fetch value from humidity where qc exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004655 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: type, unit, value, lat
Sensor: frost | fields: unit, type, qc, reading
Task: Retrieve level from wind_speed with reading above the SUM(value) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"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_004656 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: level, lon, depth, unit
Sensor: sunlight | fields: reading, level, lon, type
Task: Get lat from humidity where depth appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004657 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lon, type, lat, qc
Sensor: cloud_cover | fields: reading, lat, ts, value
Task: Retrieve level from air_quality that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004658 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, reading, unit, type
Sensor: evaporation | fields: level, value, type, depth
Task: Fetch level from cloud_cover that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004659 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: ts, qc, level, lat
Sensor: sunlight | fields: reading, ts, unit, type
Task: Fetch level from visibility where reading is greater than the total of depth in sunlight for matching type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004660 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: depth, qc, ts, value
Sensor: pressure | fields: unit, lat, reading, depth
Task: Retrieve value from lightning whose qc is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004661 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: unit, depth, type, lat
Sensor: dew_point | fields: qc, type, ts, unit
Task: Fetch lon from lightning where depth exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004662 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: level, ts, lon, type
Sensor: uv_index | fields: qc, depth, lon, type
Task: Fetch depth from drought_index that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004663 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: qc, reading, type, level
Sensor: humidity | fields: reading, level, depth, ts
Task: Fetch level from pressure where depth exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004664 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: unit, ts, qc, reading
Sensor: lightning | fields: lon, depth, qc, lat
Task: Get value from uv_index where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004665 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, depth, value, lon
Sensor: visibility | fields: qc, type, depth, unit
Task: Get level from soil_moisture where depth exceeds the count of reading from visibility for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004666 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, value, reading, unit
Sensor: pressure | fields: reading, depth, qc, unit
Task: Retrieve lon from cloud_cover whose depth is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004667 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: level, unit, type, depth
Sensor: pressure | fields: level, type, ts, lon
Task: Retrieve lat from air_quality that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004668 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: depth, type, qc, level
Sensor: humidity | fields: reading, lon, value, qc
Task: Fetch lat from pressure where depth exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004669 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: unit, qc, level, ts
Sensor: dew_point | fields: qc, unit, lat, reading
Task: Retrieve value from frost whose qc is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004670 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: type, depth, lat, unit
Sensor: turbidity | fields: qc, type, level, lon
Task: Get reading from visibility where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004671 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: level, lat, value, reading
Sensor: drought_index | fields: level, value, reading, ts
Task: Get level from temperature where unit appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004672 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: qc, level, reading, value
Sensor: snow_depth | fields: unit, lon, depth, qc
Task: Retrieve lat from drought_index that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004673 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, reading, type, depth
Sensor: humidity | fields: type, reading, lat, ts
Task: Get reading from wind_speed where qc appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004674 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: lon, type, value, qc
Sensor: frost | fields: lon, qc, unit, reading
Task: Get reading from visibility where depth appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004675 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: unit, lon, level, qc
Sensor: temperature | fields: value, unit, qc, ts
Task: Get depth from lightning where type appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004676 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: qc, depth, lat, type
Sensor: visibility | fields: type, lat, unit, value
Task: Fetch value from temperature where value is greater than the count of of value in visibility for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004677 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, lat, type, ts
Sensor: sunlight | fields: lat, lon, ts, type
Task: Fetch lon from soil_moisture where depth exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004678 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: unit, depth, value, reading
Sensor: visibility | fields: reading, depth, qc, lat
Task: Retrieve lat from evaporation with reading above the MAX(depth) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004679 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: lat, unit, depth, ts
Sensor: pressure | fields: lon, level, reading, type
Task: Get lat from evaporation where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004680 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: qc, lon, ts, lat
Sensor: wind_speed | fields: value, level, depth, lat
Task: Fetch lat from temperature that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004681 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: depth, unit, lat, level
Sensor: frost | fields: level, unit, reading, depth
Task: Retrieve depth from visibility with value above the COUNT(value) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004682 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: reading, lat, type, level
Sensor: rainfall | fields: qc, type, lon, ts
Task: Retrieve level from lightning whose ts is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004683 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: lat, qc, depth, ts
Sensor: dew_point | fields: qc, type, ts, unit
Task: Fetch lon from frost that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004684 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: level, type, qc, value
Sensor: lightning | fields: reading, lat, lon, type
Task: Fetch lon from pressure where depth exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004685 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: lon, type, reading, level
Sensor: temperature | fields: ts, depth, lon, qc
Task: Get lat from frost where type appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004686 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: lat, qc, type, depth
Sensor: humidity | fields: lon, reading, depth, type
Task: Fetch lat from snow_depth that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004687 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: level, qc, reading, ts
Sensor: cloud_cover | fields: lat, unit, level, ts
Task: Fetch lat from air_quality where value is greater than the count of of reading in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004688 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: level, depth, lon, ts
Sensor: lightning | fields: ts, unit, level, depth
Task: Retrieve reading from sunlight that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004689 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, depth, ts, lat
Sensor: air_quality | fields: ts, lat, level, type
Task: Fetch level from soil_moisture where qc exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004690 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: type, reading, lon, level
Sensor: lightning | fields: lat, qc, lon, unit
Task: Fetch reading from air_quality where depth exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004691 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: reading, depth, value, lon
Sensor: visibility | fields: type, unit, ts, level
Task: Retrieve reading from rainfall with depth above the COUNT(value) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004692 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: lon, qc, type, unit
Sensor: visibility | fields: lat, type, qc, value
Task: Get lon from drought_index where qc appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004693 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: reading, level, type, unit
Sensor: wind_speed | fields: depth, reading, qc, value
Task: Fetch reading from evaporation where reading is greater than the minimum of depth in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004694 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, depth, lat, type
Sensor: evaporation | fields: reading, value, unit, qc
Task: Fetch value from cloud_cover where unit exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004695 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: lon, type, depth, reading
Sensor: sunlight | fields: depth, lon, value, ts
Task: Retrieve level from wind_speed that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004696 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, reading, unit, type
Sensor: drought_index | fields: lat, unit, level, ts
Task: Fetch lat from wind_speed where type exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004697 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: depth, type, value, level
Sensor: drought_index | fields: reading, depth, level, lon
Task: Retrieve lon from turbidity whose ts is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004698 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: type, reading, ts, qc
Sensor: soil_moisture | fields: level, value, lon, qc
Task: Fetch depth from drought_index where depth exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.