variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: lightning | code: stn | fields: value, depth, type, reading
Sensor: pressure | fields: level, unit, qc, value
Task: Get lon from lightning where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083100 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: depth, reading, level, unit
Sensor: frost | fields: lon, reading, qc, lat
Task: Fetch value from pressure where depth is greater than the count of of reading in frost for matching type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083101 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: level, qc, value, ts
Sensor: sunlight | fields: lat, level, lon, unit
Task: Fetch level from wind_speed where qc exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083102 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lon, ts, type, qc
Sensor: dew_point | fields: lon, depth, lat, ts
Task: Retrieve lon from drought_index with depth above the MAX(value) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083103 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: type, value, unit, level
Sensor: pressure | fields: type, unit, value, qc
Task: Fetch lat from dew_point that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083104 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: qc, reading, ts, type
Sensor: drought_index | fields: reading, ts, value, lat
Task: Get lat from frost where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083105 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: unit, level, reading, depth
Sensor: cloud_cover | fields: lon, value, type, depth
Task: Retrieve value from humidity with value above the SUM(reading) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083106 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: reading, level, depth, lat
Sensor: frost | fields: qc, lat, type, level
Task: Retrieve level from uv_index that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083107 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, qc, lat, level
Sensor: air_quality | fields: depth, qc, value, type
Task: Get level from wind_speed where unit appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083108 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: type, value, ts, unit
Sensor: rainfall | fields: depth, value, ts, reading
Task: Fetch reading from dew_point that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083109 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: level, lat, value, unit
Sensor: lightning | fields: type, depth, ts, qc
Task: Fetch lon from pressure where qc exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083110 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, lon, reading, depth
Sensor: pressure | fields: reading, type, lat, unit
Task: Fetch lat from wind_speed where type exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083111 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: lon, qc, depth, level
Sensor: snow_depth | fields: value, ts, unit, depth
Task: Retrieve lon from wind_speed whose type is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083112 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: reading, unit, ts, type
Sensor: temperature | fields: value, level, type, qc
Task: Fetch lon from sunlight where qc exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083113 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: value, lat, depth, lon
Sensor: sunlight | fields: reading, level, qc, ts
Task: Fetch depth from temperature where qc exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083114 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: qc, unit, type, reading
Sensor: frost | fields: ts, depth, qc, unit
Task: Retrieve lon from dew_point with value above the MIN(reading) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083115 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: ts, lon, level, qc
Sensor: sunlight | fields: lon, reading, value, qc
Task: Get lat from dew_point where depth appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083116 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, type, ts, lat
Sensor: frost | fields: reading, unit, depth, lon
Task: Get value from cloud_cover where reading exceeds the count of reading from frost for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083117 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: qc, reading, depth, level
Sensor: soil_moisture | fields: qc, value, type, reading
Task: Fetch lon from frost that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083118 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: lon, unit, type, qc
Sensor: rainfall | fields: level, unit, type, depth
Task: Retrieve reading from dew_point whose ts is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083119 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: level, unit, depth, type
Sensor: drought_index | fields: lon, type, qc, reading
Task: Get level from rainfall where unit appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083120 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, reading, ts, lat
Sensor: snow_depth | fields: value, level, lon, depth
Task: Fetch value from cloud_cover where value is greater than the count of of reading in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083121 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: level, lat, ts, unit
Sensor: soil_moisture | fields: type, ts, lat, value
Task: Retrieve reading from visibility with value above the COUNT(value) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083122 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: level, lat, qc, unit
Sensor: turbidity | fields: lon, lat, reading, value
Task: Get lon from temperature where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083123 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: value, type, lat, lon
Sensor: turbidity | fields: reading, lon, level, qc
Task: Fetch level from air_quality where value is greater than the minimum of reading in turbidity for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083124 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: reading, unit, type, ts
Sensor: turbidity | fields: depth, lon, ts, type
Task: Retrieve lat from dew_point whose ts is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083125 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: unit, depth, ts, reading
Sensor: air_quality | fields: reading, value, ts, level
Task: Retrieve lon from rainfall whose unit is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083126 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: level, type, ts, unit
Sensor: rainfall | fields: lat, ts, level, reading
Task: Retrieve level from frost with depth above the MAX(value) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
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": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083127 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: level, reading, qc, depth
Sensor: rainfall | fields: level, value, lon, unit
Task: Get lon from dew_point where value exceeds the count of value from rainfall for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083128 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: unit, qc, depth, ts
Sensor: humidity | fields: lat, value, reading, type
Task: Fetch level from soil_moisture where qc exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083129 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: reading, ts, depth, lon
Sensor: turbidity | fields: reading, type, level, ts
Task: Get level from sunlight where value exceeds the total value from turbidity for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083130 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: type, unit, level, value
Sensor: dew_point | fields: qc, reading, depth, ts
Task: Retrieve lat from visibility that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083131 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: unit, lat, level, value
Sensor: uv_index | fields: type, unit, reading, lat
Task: Get reading from rainfall where value exceeds the count of reading from uv_index for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083132 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: unit, level, lat, value
Sensor: soil_moisture | fields: reading, lat, type, depth
Task: Retrieve reading from temperature with reading above the AVG(reading) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083133 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: type, reading, level, lat
Sensor: rainfall | fields: lon, level, reading, ts
Task: Retrieve value from drought_index whose type is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083134 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: ts, lon, type, unit
Sensor: frost | fields: qc, unit, type, lon
Task: Fetch depth from visibility where qc exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083135 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: qc, value, lat, lon
Sensor: evaporation | fields: unit, depth, lon, level
Task: Fetch reading from pressure that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083136 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, ts, unit, lat
Sensor: evaporation | fields: lat, qc, lon, ts
Task: Retrieve reading from soil_moisture whose unit is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083137 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, value, reading, level
Sensor: pressure | fields: unit, depth, lat, value
Task: Get lat from snow_depth where qc appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083138 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: unit, lat, level, lon
Sensor: wind_speed | fields: lat, depth, lon, value
Task: Get depth from turbidity where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083139 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: value, qc, reading, lon
Sensor: cloud_cover | fields: unit, value, qc, lon
Task: Retrieve value from dew_point whose unit is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083140 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lat, type, lon, depth
Sensor: wind_speed | fields: lon, depth, value, qc
Task: Fetch value from air_quality where depth exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083141 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: unit, lat, level, lon
Sensor: temperature | fields: reading, depth, unit, value
Task: Fetch level from pressure where value is greater than the average of value in temperature for matching type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083142 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: ts, lat, depth, lon
Sensor: pressure | fields: reading, ts, lon, qc
Task: Get depth from lightning where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083143 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: value, lon, ts, type
Sensor: rainfall | fields: lat, lon, depth, ts
Task: Fetch lon from frost that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083144 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: type, value, lon, depth
Sensor: frost | fields: lat, level, ts, reading
Task: Retrieve lat from dew_point that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083145 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, ts, lon, lat
Sensor: air_quality | fields: lat, lon, value, type
Task: Retrieve value from soil_moisture with depth above the COUNT(depth) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083146 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: unit, ts, depth, lon
Sensor: turbidity | fields: type, value, reading, depth
Task: Get level from drought_index where depth exceeds the minimum reading from turbidity for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083147 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: qc, lat, unit, ts
Sensor: air_quality | fields: ts, depth, reading, type
Task: Fetch level from uv_index where value is greater than the total of depth in air_quality for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083148 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: value, qc, reading, level
Sensor: frost | fields: qc, depth, type, unit
Task: Get level from humidity where ts appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083149 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: unit, lon, level, ts
Sensor: air_quality | fields: lon, reading, ts, type
Task: Get depth from turbidity where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083150 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: type, value, unit, ts
Sensor: soil_moisture | fields: value, level, lat, unit
Task: Retrieve reading from dew_point that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083151 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: lon, depth, value, unit
Sensor: pressure | fields: lon, lat, reading, depth
Task: Fetch reading from humidity where depth exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083152 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: type, unit, ts, depth
Sensor: turbidity | fields: lat, lon, reading, ts
Task: Fetch reading from temperature where value is greater than the count of of reading in turbidity for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083153 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: value, qc, type, unit
Sensor: soil_moisture | fields: ts, lat, depth, lon
Task: Retrieve value from snow_depth that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083154 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: qc, ts, value, lat
Sensor: wind_speed | fields: value, qc, unit, lon
Task: Get lat from visibility where reading exceeds the maximum reading from wind_speed for the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083155 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: reading, level, lon, lat
Sensor: turbidity | fields: depth, qc, level, lon
Task: Fetch lat from lightning where depth exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083156 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: level, ts, reading, value
Sensor: wind_speed | fields: type, depth, qc, value
Task: Retrieve reading from dew_point whose type is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083157 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: depth, qc, level, value
Sensor: lightning | fields: type, lon, ts, value
Task: Retrieve level from drought_index whose unit is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083158 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: type, level, ts, unit
Sensor: snow_depth | fields: level, lon, lat, unit
Task: Get reading from pressure where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083159 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: depth, ts, lon, value
Sensor: turbidity | fields: value, reading, type, lon
Task: Retrieve reading from drought_index that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083160 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: depth, qc, level, ts
Sensor: pressure | fields: unit, reading, lat, qc
Task: Get lat from drought_index where reading exceeds the minimum value from pressure for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083161 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: unit, level, reading, value
Sensor: evaporation | fields: lat, unit, depth, ts
Task: Get value from humidity where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083162 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: lat, lon, unit, ts
Sensor: uv_index | fields: level, unit, type, value
Task: Retrieve lon from cloud_cover with value above the AVG(value) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083163 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: lat, depth, unit, reading
Sensor: cloud_cover | fields: level, type, depth, value
Task: Get level from dew_point where depth appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083164 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: lat, lon, ts, level
Sensor: air_quality | fields: lon, value, type, unit
Task: Fetch depth from rainfall where depth exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083165 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, qc, level, type
Sensor: dew_point | fields: type, value, ts, lon
Task: Get level from wind_speed where ts appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083166 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: reading, depth, lat, level
Sensor: turbidity | fields: qc, level, value, depth
Task: Fetch lon from dew_point that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083167 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: level, depth, ts, lat
Sensor: cloud_cover | fields: value, depth, level, ts
Task: Get level from turbidity where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083168 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: level, qc, depth, lon
Sensor: sunlight | fields: lat, reading, level, qc
Task: Get value from frost where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083169 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: type, unit, qc, reading
Sensor: snow_depth | fields: qc, lon, depth, unit
Task: Retrieve lat from rainfall whose type is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083170 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: type, reading, ts, level
Sensor: air_quality | fields: reading, type, value, qc
Task: Get depth from lightning where ts appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083171 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: lat, qc, depth, type
Sensor: rainfall | fields: unit, value, ts, level
Task: Fetch lon from dew_point where unit exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083172 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: value, ts, level, lon
Sensor: dew_point | fields: qc, depth, lon, unit
Task: Get value from wind_speed where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083173 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: lat, unit, ts, level
Sensor: rainfall | fields: level, type, lat, depth
Task: Retrieve depth from turbidity whose depth is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083174 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: lat, unit, qc, ts
Sensor: temperature | fields: unit, lat, qc, value
Task: Get reading from turbidity where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083175 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: level, type, unit, qc
Sensor: frost | fields: reading, lat, unit, type
Task: Fetch reading from pressure where depth is greater than the average of reading in frost for matching type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083176 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, level, reading, ts
Sensor: uv_index | fields: reading, depth, value, qc
Task: Retrieve reading from wind_speed with reading above the COUNT(reading) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083177 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, qc, unit, type
Sensor: air_quality | fields: level, type, ts, lat
Task: Fetch lon from snow_depth where depth is greater than the maximum of value in air_quality for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083178 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: type, value, lat, level
Sensor: frost | fields: qc, lon, ts, value
Task: Get level from drought_index where type appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083179 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: lon, ts, reading, unit
Sensor: air_quality | fields: depth, type, ts, level
Task: Fetch value from drought_index where depth is greater than the average of depth in air_quality for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083180 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: type, depth, lat, ts
Sensor: cloud_cover | fields: depth, ts, value, unit
Task: Fetch level from uv_index where depth exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083181 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, depth, lat, unit
Sensor: drought_index | fields: depth, lon, qc, type
Task: Get level from wind_speed where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083182 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: level, value, qc, lon
Sensor: uv_index | fields: qc, depth, unit, lon
Task: Get depth from evaporation where ts appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083183 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: unit, type, level, reading
Sensor: visibility | fields: lat, unit, lon, ts
Task: Retrieve depth from humidity that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083184 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: lon, unit, value, qc
Sensor: wind_speed | fields: value, unit, depth, lat
Task: Get lat from lightning where ts appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083185 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: type, depth, lat, qc
Sensor: snow_depth | fields: ts, qc, level, reading
Task: Fetch value from frost where reading is greater than the minimum of value in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083186 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: level, reading, lon, qc
Sensor: rainfall | fields: level, type, ts, value
Task: Retrieve depth from evaporation whose depth is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083187 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: lat, type, reading, value
Sensor: evaporation | fields: depth, type, value, ts
Task: Get lon from frost where value exceeds the average reading from evaporation for the same ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083188 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: unit, qc, ts, lon
Sensor: evaporation | fields: unit, type, depth, value
Task: Retrieve lon from lightning with value above the MAX(reading) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083189 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: type, lon, unit, reading
Sensor: turbidity | fields: unit, qc, lat, lon
Task: Get lat from temperature where value exceeds the total reading from turbidity for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083190 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: lat, qc, value, unit
Sensor: pressure | fields: qc, lon, reading, ts
Task: Retrieve reading from humidity with value above the AVG(depth) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083191 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lon, reading, ts, lat
Sensor: wind_speed | fields: level, reading, unit, depth
Task: Fetch reading from pressure where depth exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083192 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, value, qc, lat
Sensor: dew_point | fields: unit, lon, reading, qc
Task: Retrieve reading from cloud_cover that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083193 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: depth, reading, lat, type
Sensor: soil_moisture | fields: lon, ts, value, lat
Task: Retrieve level from lightning that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083194 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, unit, lon, lat
Sensor: evaporation | fields: qc, type, value, ts
Task: Get value from cloud_cover where value exceeds the maximum reading from evaporation for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083195 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: lon, lat, unit, type
Sensor: drought_index | fields: depth, type, unit, value
Task: Fetch depth from air_quality where ts exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083196 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: ts, qc, unit, type
Sensor: soil_moisture | fields: reading, qc, ts, lat
Task: Fetch value from pressure where reading is greater than the average of value in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083197 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, depth, type, reading
Sensor: humidity | fields: depth, ts, type, lon
Task: Fetch reading from wind_speed where qc exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083198 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: ts, value, unit, qc
Sensor: cloud_cover | fields: lon, unit, level, reading
Task: Retrieve lat from sunlight whose unit is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.