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: snow_depth | code: thr | fields: lon, depth, qc, level
Sensor: air_quality | fields: type, depth, lat, level
Task: Retrieve lon from snow_depth with value above the SUM(value) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008600 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: unit, level, lon, lat
Sensor: humidity | fields: value, ts, lon, level
Task: Retrieve reading from uv_index whose qc is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008601 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lat, lon, qc, type
Sensor: frost | fields: ts, unit, lat, level
Task: Retrieve depth from turbidity that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008602 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: qc, level, type, reading
Sensor: pressure | fields: reading, type, qc, ts
Task: Fetch lon from dew_point that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008603 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: depth, reading, level, unit
Sensor: temperature | fields: unit, lat, value, qc
Task: Get level from pressure where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008604 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: value, unit, level, lat
Sensor: rainfall | fields: depth, level, type, lon
Task: Get depth from air_quality where depth exceeds the total reading from rainfall for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008605 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: level, qc, depth, unit
Sensor: drought_index | fields: qc, value, reading, ts
Task: Fetch value from dew_point that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008606 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: reading, type, qc, ts
Sensor: wind_speed | fields: type, reading, qc, value
Task: Retrieve value from sunlight that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008607 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: ts, level, depth, qc
Sensor: soil_moisture | fields: qc, unit, type, reading
Task: Retrieve lon from sunlight with value above the MAX(depth) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008608 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: unit, value, qc, ts
Sensor: dew_point | fields: ts, qc, type, level
Task: Retrieve value from uv_index whose qc is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008609 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: unit, reading, value, qc
Sensor: temperature | fields: unit, lat, value, qc
Task: Get lon from humidity where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008610 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: type, unit, qc, level
Sensor: temperature | fields: unit, lon, depth, level
Task: Fetch reading from lightning where value is greater than the minimum of depth in temperature for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008611 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, depth, lon, ts
Sensor: drought_index | fields: type, lon, depth, level
Task: Fetch lon from cloud_cover where reading is greater than the minimum of value in drought_index for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008612 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: qc, unit, type, level
Sensor: lightning | fields: depth, lat, reading, qc
Task: Retrieve lon from sunlight whose qc is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008613 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: value, lat, depth, unit
Sensor: snow_depth | fields: type, lon, value, ts
Task: Fetch depth from wind_speed where depth is greater than the minimum of reading in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008614 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: lat, level, ts, depth
Sensor: sunlight | fields: ts, lon, depth, lat
Task: Retrieve lon from drought_index whose depth is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008615 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: depth, qc, lat, ts
Sensor: uv_index | fields: ts, qc, type, depth
Task: Retrieve level from air_quality that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008616 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: lon, lat, qc, ts
Sensor: sunlight | fields: depth, value, lat, reading
Task: Get reading from lightning where qc appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008617 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: depth, qc, unit, ts
Sensor: visibility | fields: reading, depth, value, unit
Task: Fetch reading from rainfall where depth is greater than the maximum of value in visibility for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008618 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, value, level, qc
Sensor: visibility | fields: unit, type, value, qc
Task: Fetch lon from soil_moisture where value is greater than the average of reading in visibility for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008619 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: ts, reading, lat, qc
Sensor: temperature | fields: lon, type, unit, level
Task: Retrieve depth from lightning with value above the COUNT(depth) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008620 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, ts, unit, value
Sensor: snow_depth | fields: qc, ts, depth, type
Task: Fetch value from wind_speed where ts exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008621 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, unit, reading, depth
Sensor: drought_index | fields: ts, lat, qc, depth
Task: Fetch lon from wind_speed where depth is greater than the minimum of reading in drought_index for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008622 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: ts, lat, lon, type
Sensor: lightning | fields: ts, depth, qc, lon
Task: Fetch depth from rainfall where depth exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008623 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: unit, lat, depth, reading
Sensor: air_quality | fields: lat, unit, depth, lon
Task: Fetch level from rainfall that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008624 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: lat, depth, ts, level
Sensor: evaporation | fields: ts, qc, unit, reading
Task: Retrieve level from humidity with value above the SUM(value) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008625 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: lon, ts, qc, level
Sensor: turbidity | fields: level, type, qc, unit
Task: Retrieve reading from dew_point that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008626 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: ts, level, lon, depth
Sensor: lightning | fields: unit, lat, value, qc
Task: Fetch value from evaporation that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008627 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: unit, lon, qc, type
Sensor: humidity | fields: level, value, type, lat
Task: Get lat from lightning where depth exceeds the minimum reading from humidity for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008628 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: lat, unit, lon, type
Sensor: air_quality | fields: lat, value, reading, qc
Task: Get depth from rainfall where depth appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008629 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: type, reading, depth, lon
Sensor: evaporation | fields: type, qc, unit, depth
Task: Get depth from snow_depth where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008630 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: type, lon, lat, value
Sensor: humidity | fields: unit, level, type, lat
Task: Get value from frost where unit appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008631 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: lat, value, ts, type
Sensor: turbidity | fields: reading, qc, depth, ts
Task: Get lon from temperature where value exceeds the maximum value from turbidity for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008632 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: unit, depth, lon, lat
Sensor: pressure | fields: level, lon, ts, unit
Task: Retrieve lat from soil_moisture with value above the COUNT(depth) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008633 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, ts, lat, level
Sensor: lightning | fields: value, lon, unit, level
Task: Fetch value from snow_depth where qc exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008634 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: reading, ts, depth, lat
Sensor: snow_depth | fields: value, ts, level, reading
Task: Retrieve lat from pressure that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008635 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, type, unit, lat
Sensor: snow_depth | fields: ts, lon, unit, depth
Task: Get level from cloud_cover where depth exceeds the total value from snow_depth for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008636 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: unit, value, level, lat
Sensor: pressure | fields: unit, reading, ts, value
Task: Get level from frost where depth appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008637 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: type, lat, lon, ts
Sensor: cloud_cover | fields: level, ts, value, qc
Task: Fetch value from temperature that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008638 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: reading, type, ts, value
Sensor: soil_moisture | fields: ts, value, reading, lat
Task: Fetch value from air_quality where qc exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008639 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: value, unit, level, ts
Sensor: frost | fields: lat, ts, type, level
Task: Retrieve lon from turbidity with depth above the MAX(reading) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008640 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, reading, type, lat
Sensor: lightning | fields: ts, reading, lon, qc
Task: Get depth from soil_moisture where depth exceeds the average depth from lightning for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008641 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, lat, depth, type
Sensor: wind_speed | fields: type, level, lat, lon
Task: Retrieve lat from snow_depth that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008642 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: level, qc, value, lat
Sensor: frost | fields: qc, unit, ts, lat
Task: Retrieve lon from air_quality with depth above the COUNT(value) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008643 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, value, type, ts
Sensor: uv_index | fields: ts, reading, lat, value
Task: Fetch lon from cloud_cover that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008644 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: value, lon, depth, unit
Sensor: cloud_cover | fields: level, qc, depth, lat
Task: Fetch value from air_quality where ts exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008645 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: unit, qc, type, ts
Sensor: soil_moisture | fields: lat, ts, unit, level
Task: Retrieve depth from visibility whose type is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008646 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: lon, unit, type, reading
Sensor: rainfall | fields: level, ts, type, qc
Task: Get level from soil_moisture where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008647 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: value, qc, depth, level
Sensor: visibility | fields: level, value, lat, type
Task: Get depth from wind_speed where depth appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008648 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: ts, value, reading, lat
Sensor: soil_moisture | fields: ts, reading, lon, qc
Task: Retrieve value from turbidity whose ts is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008649 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: lat, unit, qc, reading
Sensor: visibility | fields: type, lat, level, value
Task: Get level from snow_depth where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008650 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: type, reading, qc, ts
Sensor: air_quality | fields: ts, qc, level, reading
Task: Fetch lat from drought_index where type exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008651 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: lat, reading, value, level
Sensor: dew_point | fields: qc, level, value, unit
Task: Retrieve level from evaporation whose type is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008652 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: lon, qc, type, ts
Sensor: turbidity | fields: depth, ts, value, lat
Task: Fetch value from drought_index that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008653 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: lon, depth, reading, lat
Sensor: dew_point | fields: qc, ts, lon, lat
Task: Retrieve value from sunlight whose qc is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008654 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: lon, depth, value, ts
Sensor: pressure | fields: reading, ts, value, depth
Task: Fetch reading from humidity where depth exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008655 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: lat, depth, type, qc
Sensor: sunlight | fields: ts, qc, lon, level
Task: Retrieve value from lightning whose qc is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008656 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: ts, value, level, reading
Sensor: wind_speed | fields: value, lat, qc, ts
Task: Get lon from air_quality where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008657 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: unit, ts, type, lon
Sensor: temperature | fields: value, type, ts, reading
Task: Fetch level from evaporation where unit exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008658 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: depth, qc, level, unit
Sensor: humidity | fields: value, reading, lat, qc
Task: Get reading from temperature where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008659 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: lat, ts, value, type
Sensor: wind_speed | fields: qc, lat, reading, depth
Task: Get depth from pressure where value exceeds the maximum value from wind_speed for the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008660 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: reading, ts, value, level
Sensor: temperature | fields: qc, level, depth, lon
Task: Fetch depth from visibility where reading is greater than the maximum of value in temperature for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008661 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: unit, type, ts, depth
Sensor: temperature | fields: value, unit, lat, level
Task: Get lat from sunlight where depth exceeds the count of value from temperature for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008662 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, value, reading, lon
Sensor: turbidity | fields: qc, unit, lat, lon
Task: Retrieve lon from cloud_cover whose qc is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008663 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: qc, value, depth, level
Sensor: visibility | fields: type, value, level, ts
Task: Retrieve value from lightning with depth above the AVG(value) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008664 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: value, lat, lon, level
Sensor: turbidity | fields: unit, lat, lon, type
Task: Fetch reading from wind_speed where qc exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008665 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: reading, value, ts, qc
Sensor: soil_moisture | fields: lat, level, lon, reading
Task: Retrieve level from evaporation with depth above the COUNT(reading) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008666 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: unit, reading, ts, depth
Sensor: temperature | fields: unit, qc, lat, ts
Task: Get depth from lightning where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008667 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: ts, type, value, level
Sensor: air_quality | fields: reading, unit, qc, lat
Task: Get value from lightning where type appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008668 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: depth, qc, ts, level
Sensor: turbidity | fields: lon, depth, value, ts
Task: Fetch value from evaporation where type exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008669 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: qc, lat, ts, lon
Sensor: visibility | fields: value, depth, qc, ts
Task: Retrieve lat from dew_point whose depth is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008670 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: level, lat, value, ts
Sensor: snow_depth | fields: depth, lat, qc, ts
Task: Fetch reading from dew_point where depth is greater than the minimum of depth in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008671 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: qc, lon, type, level
Sensor: sunlight | fields: value, unit, ts, reading
Task: Fetch depth from air_quality where value is greater than the total of value in sunlight for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008672 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: level, lon, value, reading
Sensor: visibility | fields: type, value, qc, ts
Task: Retrieve level from sunlight with reading above the AVG(value) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008673 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lon, unit, level, reading
Sensor: evaporation | fields: lon, unit, level, lat
Task: Fetch reading from air_quality that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008674 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: type, depth, level, unit
Sensor: rainfall | fields: lat, type, depth, qc
Task: Retrieve reading from humidity with depth above the MAX(depth) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008675 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: depth, level, qc, lon
Sensor: pressure | fields: ts, lon, qc, type
Task: Retrieve reading from uv_index whose qc is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008676 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: unit, qc, lat, depth
Sensor: drought_index | fields: depth, reading, lat, ts
Task: Get lon from lightning where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008677 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: ts, level, reading, depth
Sensor: evaporation | fields: unit, level, lat, reading
Task: Fetch depth from cloud_cover where qc exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008678 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: reading, level, lon, qc
Sensor: drought_index | fields: qc, lon, unit, reading
Task: Retrieve depth from lightning with value above the MIN(reading) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008679 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: lat, lon, qc, level
Sensor: pressure | fields: depth, lat, type, level
Task: Fetch value from air_quality where unit exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008680 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: lon, lat, ts, qc
Sensor: drought_index | fields: unit, type, ts, lon
Task: Retrieve lat from temperature that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008681 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: lat, unit, level, type
Sensor: cloud_cover | fields: lon, reading, lat, type
Task: Retrieve value from temperature whose qc is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008682 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: reading, unit, lat, level
Sensor: uv_index | fields: value, type, unit, lat
Task: Get lat from lightning where value exceeds the average depth from uv_index for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008683 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: ts, lon, unit, lat
Sensor: rainfall | fields: lat, level, qc, ts
Task: Get lon from wind_speed where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008684 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: type, level, unit, reading
Sensor: sunlight | fields: level, ts, qc, reading
Task: Retrieve level from air_quality whose depth is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008685 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: lon, ts, reading, type
Sensor: snow_depth | fields: qc, depth, type, ts
Task: Get depth from visibility where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008686 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: reading, lat, unit, qc
Sensor: visibility | fields: type, qc, depth, lat
Task: Retrieve depth from evaporation with depth above the SUM(depth) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008687 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: unit, qc, value, level
Sensor: uv_index | fields: depth, ts, lon, value
Task: Fetch value from wind_speed where reading is greater than the minimum of depth in uv_index for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008688 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: qc, reading, value, lat
Sensor: snow_depth | fields: level, type, lon, lat
Task: Retrieve value from rainfall with value above the MAX(depth) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008689 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: depth, value, reading, lat
Sensor: evaporation | fields: qc, lat, ts, value
Task: Retrieve value from air_quality whose unit is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008690 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: lon, level, value, unit
Sensor: frost | fields: level, ts, reading, unit
Task: Fetch lat from rainfall where value is greater than the total of value in frost for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008691 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: value, level, type, unit
Sensor: wind_speed | fields: type, unit, depth, level
Task: Get value from humidity where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008692 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: lon, level, type, ts
Sensor: lightning | fields: value, ts, level, lon
Task: Retrieve value from soil_moisture whose type is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008693 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: unit, depth, qc, level
Sensor: turbidity | fields: lon, type, reading, ts
Task: Retrieve lon from sunlight whose depth is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008694 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: type, depth, qc, value
Sensor: cloud_cover | fields: depth, level, ts, value
Task: Retrieve reading from snow_depth with reading above the MIN(value) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008695 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: depth, lon, ts, qc
Sensor: evaporation | fields: qc, ts, type, unit
Task: Fetch level from air_quality where qc exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"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_008696 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: type, ts, unit, depth
Sensor: sunlight | fields: ts, unit, lon, lat
Task: Get lon from turbidity where unit appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008697 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: ts, type, reading, lon
Sensor: cloud_cover | fields: lat, lon, level, reading
Task: Get level from pressure where qc appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008698 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: qc, lon, unit, value
Sensor: soil_moisture | fields: qc, value, ts, unit
Task: Get value from humidity where type appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.