variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, qc, lon, unit
Sensor: air_quality | fields: ts, value, lon, level
Task: Retrieve value from cloud_cover whose depth is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020600 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: value, lon, reading, lat
Sensor: cloud_cover | fields: unit, qc, reading, type
Task: Get value from humidity where depth exceeds the total depth from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020601 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: value, reading, qc, level
Sensor: air_quality | fields: unit, type, lat, level
Task: Fetch value from drought_index where reading is greater than the minimum of value in air_quality for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020602 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: type, lat, value, unit
Sensor: pressure | fields: lat, depth, level, lon
Task: Get depth from frost where depth exceeds the minimum reading from pressure for the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020603 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: value, qc, type, lat
Sensor: rainfall | fields: qc, lat, lon, unit
Task: Retrieve value from sunlight with reading above the COUNT(reading) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020604 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, value, lon, unit
Sensor: soil_moisture | fields: reading, type, unit, ts
Task: Get value from cloud_cover where unit appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020605 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: qc, value, lat, level
Sensor: pressure | fields: ts, qc, depth, level
Task: Get depth from uv_index where unit appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020606 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: value, qc, lat, depth
Sensor: evaporation | fields: lat, value, unit, level
Task: Get reading from frost where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020607 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, type, unit, ts
Sensor: turbidity | fields: reading, ts, level, type
Task: Fetch value from snow_depth that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020608 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: level, lat, ts, lon
Sensor: turbidity | fields: value, reading, type, depth
Task: Retrieve lon from dew_point whose type is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020609 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: unit, type, lat, value
Sensor: rainfall | fields: unit, lat, qc, type
Task: Fetch level from frost where reading is greater than the minimum of reading in rainfall for matching unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020610 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: unit, reading, lon, lat
Sensor: sunlight | fields: value, type, unit, lat
Task: Get depth from visibility where depth exceeds the maximum value from sunlight for the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020611 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: type, ts, depth, lat
Sensor: drought_index | fields: type, value, lon, level
Task: Fetch lon from rainfall where ts exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020612 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: type, depth, ts, reading
Sensor: air_quality | fields: reading, ts, depth, value
Task: Get lon from evaporation where reading exceeds the average depth from air_quality for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020613 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: ts, reading, lon, value
Sensor: cloud_cover | fields: qc, depth, level, reading
Task: Fetch value from pressure where value is greater than the maximum of value in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020614 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: lat, reading, value, unit
Sensor: air_quality | fields: level, ts, type, reading
Task: Fetch reading from evaporation where type exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020615 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: reading, type, unit, lon
Sensor: temperature | fields: level, qc, reading, ts
Task: Get value from rainfall where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020616 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: level, lon, type, lat
Sensor: drought_index | fields: lon, value, type, depth
Task: Retrieve lon from dew_point with value above the MAX(reading) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020617 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: value, unit, ts, reading
Sensor: cloud_cover | fields: value, ts, depth, lat
Task: Fetch reading from evaporation where value is greater than the average of value in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020618 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, unit, lon, type
Sensor: drought_index | fields: lon, unit, level, ts
Task: Retrieve reading from cloud_cover with value above the AVG(reading) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020619 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: level, qc, unit, ts
Sensor: air_quality | fields: qc, depth, lat, lon
Task: Fetch reading from rainfall that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020620 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: ts, lat, qc, depth
Sensor: drought_index | fields: qc, value, lon, unit
Task: Get lat from snow_depth where depth appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020621 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: depth, lon, unit, lat
Sensor: pressure | fields: value, lon, lat, ts
Task: Get depth from air_quality where unit appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020622 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: lon, lat, depth, type
Sensor: drought_index | fields: qc, lat, reading, type
Task: Fetch level from visibility where unit exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020623 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: reading, level, unit, qc
Sensor: humidity | fields: value, type, reading, level
Task: Retrieve level from frost with depth above the SUM(depth) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020624 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: lat, ts, unit, lon
Sensor: lightning | fields: qc, unit, lon, lat
Task: Fetch lon from drought_index that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020625 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: lon, value, qc, reading
Sensor: frost | fields: depth, lon, reading, level
Task: Fetch lon from cloud_cover that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020626 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: type, value, level, lon
Sensor: lightning | fields: lat, value, reading, qc
Task: Retrieve lon from frost with reading above the SUM(reading) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020627 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: value, type, reading, qc
Sensor: visibility | fields: type, qc, lon, ts
Task: Fetch lat from cloud_cover where depth exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020628 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, level, reading, lat
Sensor: frost | fields: ts, depth, value, qc
Task: Get lat from cloud_cover where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020629 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, level, unit, lon
Sensor: evaporation | fields: qc, level, type, reading
Task: Retrieve lat from wind_speed that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020630 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: ts, level, lat, depth
Sensor: lightning | fields: unit, type, lon, reading
Task: Get depth from visibility where value exceeds the count of reading from lightning for the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020631 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: lat, level, value, qc
Sensor: temperature | fields: level, lon, depth, reading
Task: Get reading from lightning where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020632 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: qc, level, unit, lon
Sensor: air_quality | fields: lon, unit, qc, lat
Task: Retrieve value from uv_index whose unit is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020633 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: value, reading, ts, unit
Sensor: pressure | fields: qc, lon, ts, level
Task: Retrieve lon from snow_depth that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020634 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: unit, type, qc, lat
Sensor: air_quality | fields: ts, value, depth, type
Task: Get value from visibility where depth exceeds the maximum reading from air_quality for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020635 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: unit, type, reading, qc
Sensor: rainfall | fields: value, depth, qc, type
Task: Fetch lat from drought_index where depth exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020636 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, reading, level, type
Sensor: snow_depth | fields: lon, reading, lat, value
Task: Retrieve value from cloud_cover with reading above the SUM(value) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020637 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: level, type, lon, value
Sensor: drought_index | fields: lat, lon, ts, level
Task: Retrieve depth from lightning that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020638 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: reading, depth, level, lat
Sensor: drought_index | fields: value, lat, qc, ts
Task: Fetch lon from turbidity where depth is greater than the minimum of reading in drought_index for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020639 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: ts, reading, unit, value
Sensor: temperature | fields: type, lat, unit, lon
Task: Retrieve reading from humidity whose depth is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020640 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: depth, value, lon, ts
Sensor: temperature | fields: lon, unit, lat, level
Task: Fetch lat from frost where unit exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020641 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: ts, depth, level, type
Sensor: pressure | fields: value, unit, ts, level
Task: Retrieve reading from humidity that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020642 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: lon, unit, depth, reading
Sensor: snow_depth | fields: value, lat, ts, lon
Task: Get reading from sunlight where reading exceeds the count of reading from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020643 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: reading, lat, level, unit
Sensor: drought_index | fields: depth, reading, level, value
Task: Fetch level from pressure where depth exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020644 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: type, lat, level, value
Sensor: dew_point | fields: unit, qc, value, lat
Task: Retrieve level from evaporation whose unit is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020645 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: ts, depth, lat, value
Sensor: lightning | fields: unit, lon, level, depth
Task: Fetch lat from temperature where unit exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020646 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: lat, reading, qc, type
Sensor: visibility | fields: value, depth, lat, lon
Task: Fetch level from snow_depth where ts exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020647 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: value, unit, reading, level
Sensor: wind_speed | fields: ts, level, lon, unit
Task: Get depth from soil_moisture where qc appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020648 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: type, unit, depth, lon
Sensor: turbidity | fields: lon, depth, unit, reading
Task: Retrieve lon from visibility whose unit is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020649 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: type, qc, lon, lat
Sensor: rainfall | fields: lon, value, unit, qc
Task: Fetch level from dew_point where reading is greater than the count of of reading in rainfall for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020650 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: lat, unit, type, ts
Sensor: visibility | fields: level, unit, type, depth
Task: Get value from rainfall where reading exceeds the average reading from visibility for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020651 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: value, depth, lon, qc
Sensor: frost | fields: lat, lon, ts, unit
Task: Get lat from visibility where reading exceeds the minimum value from frost for the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020652 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: level, type, unit, reading
Sensor: cloud_cover | fields: unit, level, lat, lon
Task: Retrieve lat from evaporation that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020653 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: ts, qc, reading, depth
Sensor: snow_depth | fields: unit, ts, lon, level
Task: Fetch depth from visibility that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020654 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: value, ts, lat, lon
Sensor: wind_speed | fields: depth, ts, lon, type
Task: Fetch lat from rainfall where depth is greater than the maximum of reading in wind_speed for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020655 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: ts, level, depth, qc
Sensor: wind_speed | fields: reading, value, lon, unit
Task: Retrieve value from humidity whose type is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020656 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: value, lat, qc, lon
Sensor: dew_point | fields: reading, lat, unit, type
Task: Retrieve reading from sunlight that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020657 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: value, level, lon, ts
Sensor: lightning | fields: unit, reading, level, type
Task: Get lon from soil_moisture where qc appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020658 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, level, type, lat
Sensor: evaporation | fields: ts, depth, qc, unit
Task: Get depth from soil_moisture where depth exceeds the average reading from evaporation for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020659 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: reading, lat, ts, type
Sensor: temperature | fields: lat, reading, level, type
Task: Retrieve lon from soil_moisture with reading above the MIN(value) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020660 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: depth, level, reading, lon
Sensor: dew_point | fields: level, reading, lat, lon
Task: Retrieve lat from snow_depth with value above the MAX(value) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020661 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: level, type, value, depth
Sensor: cloud_cover | fields: lon, ts, reading, level
Task: Fetch depth from pressure that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020662 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, value, type, qc
Sensor: rainfall | fields: type, unit, reading, level
Task: Fetch level from soil_moisture where type exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020663 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: lon, value, unit, ts
Sensor: humidity | fields: qc, depth, lat, unit
Task: Fetch value from evaporation where depth is greater than the maximum of depth in humidity for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020664 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: ts, unit, depth, level
Sensor: pressure | fields: qc, lat, reading, value
Task: Get reading from sunlight where value exceeds the total depth from pressure for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020665 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: type, depth, unit, level
Sensor: air_quality | fields: type, lat, reading, depth
Task: Get lat from snow_depth where value exceeds the minimum value from air_quality for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020666 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: depth, unit, lat, level
Sensor: visibility | fields: qc, reading, depth, level
Task: Get lon from uv_index where depth exceeds the maximum reading from visibility for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020667 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: value, depth, qc, ts
Sensor: humidity | fields: qc, reading, value, depth
Task: Retrieve reading from temperature that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020668 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: type, level, value, lon
Sensor: turbidity | fields: ts, unit, level, qc
Task: Retrieve reading from drought_index with depth above the MIN(depth) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020669 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: level, lat, reading, type
Sensor: lightning | fields: level, type, depth, lon
Task: Get value from dew_point where type appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020670 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: unit, ts, lat, type
Sensor: snow_depth | fields: depth, unit, lon, ts
Task: Fetch level from rainfall where value is greater than the count of of depth in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020671 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: unit, reading, lon, ts
Sensor: rainfall | fields: lon, ts, depth, unit
Task: Retrieve value from lightning that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020672 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: depth, ts, unit, qc
Sensor: humidity | fields: type, qc, level, value
Task: Fetch value from uv_index where unit exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020673 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: qc, unit, reading, value
Sensor: lightning | fields: reading, value, depth, lon
Task: Get level from humidity where type appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020674 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, value, level, unit
Sensor: humidity | fields: unit, qc, ts, lon
Task: Fetch depth from cloud_cover where unit exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020675 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: unit, level, type, reading
Sensor: wind_speed | fields: lat, lon, ts, level
Task: Get value from uv_index where unit appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020676 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, depth, type, qc
Sensor: visibility | fields: unit, lon, lat, ts
Task: Retrieve reading from soil_moisture that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020677 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: reading, type, lat, unit
Sensor: uv_index | fields: qc, level, value, lat
Task: Retrieve lat from sunlight with depth above the AVG(depth) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020678 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: level, value, lon, type
Sensor: cloud_cover | fields: lat, qc, type, ts
Task: Fetch lat from uv_index where depth exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020679 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: level, depth, type, reading
Sensor: drought_index | fields: lat, type, lon, qc
Task: Get lon from sunlight where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020680 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: level, type, lat, ts
Sensor: humidity | fields: type, lon, level, unit
Task: Fetch depth from dew_point that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020681 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, value, type, qc
Sensor: air_quality | fields: lon, unit, depth, qc
Task: Fetch lon from soil_moisture where qc exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020682 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: unit, depth, qc, ts
Sensor: uv_index | fields: qc, unit, depth, reading
Task: Fetch lat from turbidity where value is greater than the count of of depth in uv_index for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020683 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: lon, lat, qc, reading
Sensor: snow_depth | fields: depth, lon, value, reading
Task: Retrieve level from turbidity whose qc is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020684 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: ts, depth, type, reading
Sensor: drought_index | fields: level, lat, depth, unit
Task: Retrieve depth from cloud_cover with value above the COUNT(depth) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020685 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: reading, depth, value, lat
Sensor: drought_index | fields: type, unit, lon, value
Task: Fetch value from visibility where unit exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020686 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: lon, unit, value, type
Sensor: uv_index | fields: unit, value, lon, ts
Task: Fetch lat from snow_depth where ts exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020687 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: value, lat, lon, level
Sensor: snow_depth | fields: depth, ts, reading, unit
Task: Fetch lon from turbidity that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020688 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: reading, value, unit, level
Sensor: air_quality | fields: depth, level, type, value
Task: Fetch reading from visibility where ts exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020689 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: type, ts, value, qc
Sensor: drought_index | fields: qc, type, level, lon
Task: Fetch reading from lightning that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020690 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, ts, value, lon
Sensor: snow_depth | fields: lon, depth, ts, level
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="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020691 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: lon, unit, depth, type
Sensor: lightning | fields: lat, lon, qc, depth
Task: Fetch reading from soil_moisture where ts exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020692 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: unit, ts, value, lat
Sensor: air_quality | fields: type, reading, ts, lat
Task: Retrieve value from cloud_cover with value above the MAX(reading) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020693 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: depth, qc, reading, ts
Sensor: evaporation | fields: qc, lon, unit, ts
Task: Fetch depth from visibility where depth is greater than the minimum of value in evaporation for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020694 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: unit, ts, qc, value
Sensor: dew_point | fields: lon, reading, depth, ts
Task: Retrieve value from drought_index whose qc is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020695 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: lon, type, depth, lat
Sensor: evaporation | fields: reading, value, qc, type
Task: Get lat from soil_moisture where reading exceeds the maximum value from evaporation for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020696 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: level, type, lat, unit
Sensor: soil_moisture | fields: level, reading, unit, lon
Task: Retrieve level from rainfall with reading above the SUM(depth) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020697 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: qc, lat, reading, level
Sensor: wind_speed | fields: qc, type, unit, reading
Task: Retrieve depth from pressure whose depth is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020698 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: value, lat, qc, lon
Sensor: lightning | fields: depth, lat, unit, type
Task: Fetch reading from snow_depth where depth is greater than the total of value in lightning for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.