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: cloud_cover | code: thr | fields: qc, depth, unit, lat
Sensor: visibility | fields: qc, ts, lon, unit
Task: Get value from cloud_cover where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001100 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: reading, lat, lon, unit
Sensor: turbidity | fields: qc, type, level, depth
Task: Get depth from drought_index where depth exceeds the maximum value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001101 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, lat, unit, depth
Sensor: lightning | fields: type, lat, unit, reading
Task: Get lat from cloud_cover where unit appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001102 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: level, lon, qc, value
Sensor: drought_index | fields: lon, level, depth, reading
Task: Fetch depth from frost where depth is greater than the minimum of reading in drought_index for matching ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001103 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: depth, level, lat, value
Sensor: visibility | fields: type, reading, lat, level
Task: Fetch lat from dew_point where reading is greater than the count of of depth in visibility for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001104 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: lat, lon, qc, ts
Sensor: turbidity | fields: reading, lat, depth, qc
Task: Fetch lon from temperature where qc exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001105 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: reading, lat, level, qc
Sensor: turbidity | fields: value, reading, qc, lat
Task: Get value from sunlight where ts appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001106 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: depth, reading, qc, ts
Sensor: soil_moisture | fields: reading, value, lat, ts
Task: Fetch lat from evaporation that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001107 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: unit, depth, level, ts
Sensor: frost | fields: level, depth, unit, qc
Task: Retrieve reading from humidity with depth above the MAX(reading) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001108 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: unit, lat, value, level
Sensor: air_quality | fields: lat, reading, lon, value
Task: Get lat from visibility where depth exceeds the average depth from air_quality for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001109 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: qc, lat, reading, depth
Sensor: dew_point | fields: value, level, depth, ts
Task: Fetch depth from pressure where unit exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001110 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: level, type, unit, ts
Sensor: lightning | fields: depth, lon, value, ts
Task: Fetch lon from dew_point where value is greater than the total of value in lightning for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001111 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: lat, value, reading, unit
Sensor: frost | fields: reading, type, ts, lon
Task: Retrieve value from pressure that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001112 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: depth, qc, type, value
Sensor: lightning | fields: reading, lon, level, lat
Task: Get lat from wind_speed where depth exceeds the count of depth from lightning for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001113 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: type, value, lon, ts
Sensor: cloud_cover | fields: lat, reading, level, lon
Task: Get reading from frost where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001114 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, value, unit, lat
Sensor: cloud_cover | fields: reading, value, type, lon
Task: Fetch value from soil_moisture where qc exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001115 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: ts, depth, lat, unit
Sensor: snow_depth | fields: qc, reading, ts, lon
Task: Fetch lon from wind_speed that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001116 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, reading, lat, unit
Sensor: wind_speed | fields: level, lon, unit, reading
Task: Retrieve level from snow_depth that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001117 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: depth, type, level, value
Sensor: temperature | fields: depth, reading, lon, unit
Task: Get lon from visibility where depth appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001118 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: value, depth, reading, lat
Sensor: cloud_cover | fields: level, value, reading, lat
Task: Get reading from sunlight where depth appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001119 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: depth, unit, qc, lat
Sensor: uv_index | fields: lat, lon, reading, value
Task: Retrieve depth from visibility with value above the COUNT(reading) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001120 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, ts, type, lon
Sensor: evaporation | fields: level, lat, qc, depth
Task: Get level from cloud_cover where reading exceeds the average depth from evaporation for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001121 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: value, lat, depth, unit
Sensor: soil_moisture | fields: unit, type, ts, level
Task: Get level from air_quality where value exceeds the total depth from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001122 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: level, ts, type, lon
Sensor: sunlight | fields: qc, unit, ts, depth
Task: Get reading from humidity where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001123 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: lat, qc, reading, level
Sensor: pressure | fields: type, depth, level, reading
Task: Fetch reading from turbidity where depth is greater than the total of reading in pressure for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001124 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: level, depth, unit, value
Sensor: rainfall | fields: level, reading, lon, value
Task: Retrieve level from uv_index that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001125 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: unit, reading, lon, qc
Sensor: cloud_cover | fields: qc, level, reading, lon
Task: Retrieve level from temperature that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001126 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: qc, type, depth, level
Sensor: dew_point | fields: value, ts, unit, lat
Task: Fetch depth from rainfall that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001127 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: qc, type, level, value
Sensor: lightning | fields: reading, qc, type, value
Task: Get lon from drought_index where unit appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001128 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: type, qc, depth, ts
Sensor: turbidity | fields: type, depth, qc, lat
Task: Get depth from wind_speed where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001129 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: ts, type, lon, lat
Sensor: sunlight | fields: type, reading, unit, value
Task: Retrieve value from wind_speed with value above the COUNT(depth) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001130 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: ts, level, lon, value
Sensor: humidity | fields: type, value, ts, depth
Task: Fetch value from cloud_cover where ts exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001131 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: type, ts, lon, value
Sensor: snow_depth | fields: lon, lat, depth, type
Task: Retrieve reading from temperature with depth above the MIN(reading) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001132 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: qc, reading, ts, lon
Sensor: snow_depth | fields: lon, lat, type, value
Task: Get depth from evaporation where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001133 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: qc, ts, value, level
Sensor: wind_speed | fields: reading, depth, level, qc
Task: Get reading from frost where depth appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001134 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: value, lon, reading, qc
Sensor: drought_index | fields: unit, ts, depth, lat
Task: Retrieve level from sunlight with depth above the COUNT(value) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001135 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: reading, qc, depth, level
Sensor: visibility | fields: level, depth, value, qc
Task: Retrieve depth from pressure whose qc is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001136 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: value, qc, ts, lon
Sensor: turbidity | fields: value, lon, depth, qc
Task: Get lon from evaporation where reading exceeds the total depth from turbidity for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001137 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, lon, ts, unit
Sensor: lightning | fields: depth, lat, lon, ts
Task: Retrieve value from cloud_cover whose type is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001138 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: lon, depth, ts, qc
Sensor: pressure | fields: level, ts, value, lat
Task: Fetch value from lightning where reading is greater than the average of value in pressure for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001139 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: ts, value, qc, type
Sensor: sunlight | fields: depth, lon, level, ts
Task: Retrieve value from pressure whose unit is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001140 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: qc, ts, unit, value
Sensor: humidity | fields: unit, depth, qc, lon
Task: Fetch lat from rainfall that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001141 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: qc, reading, depth, type
Sensor: uv_index | fields: level, value, type, reading
Task: Retrieve lat from lightning with depth above the COUNT(reading) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001142 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: depth, reading, unit, lat
Sensor: wind_speed | fields: value, level, type, lon
Task: Retrieve reading from turbidity whose ts is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001143 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: reading, unit, lat, depth
Sensor: humidity | fields: value, level, depth, lat
Task: Fetch lat from visibility where qc exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001144 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lon, level, qc, ts
Sensor: air_quality | fields: lat, ts, type, reading
Task: Retrieve value from temperature whose depth is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001145 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: value, level, unit, reading
Sensor: air_quality | fields: value, ts, type, reading
Task: Retrieve lat from sunlight with reading above the MIN(depth) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001146 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: lon, type, depth, ts
Sensor: drought_index | fields: type, value, lon, unit
Task: Fetch lon from humidity where type exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001147 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: type, qc, lat, depth
Sensor: frost | fields: type, unit, value, ts
Task: Retrieve lon from rainfall whose ts is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001148 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: value, reading, unit, qc
Sensor: lightning | fields: value, depth, lon, qc
Task: Get value from sunlight where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001149 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: level, unit, depth, lon
Sensor: rainfall | fields: level, depth, ts, reading
Task: Fetch lat from sunlight where ts exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001150 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: reading, lat, unit, qc
Sensor: wind_speed | fields: ts, lat, reading, value
Task: Retrieve lon from evaporation with depth above the MIN(depth) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001151 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: qc, lon, level, depth
Sensor: temperature | fields: unit, value, type, lon
Task: Fetch value from sunlight that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001152 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: value, type, level, depth
Sensor: wind_speed | fields: depth, lon, unit, type
Task: Fetch lon from turbidity where ts exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001153 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: value, ts, level, type
Sensor: evaporation | fields: ts, level, lat, value
Task: Fetch depth from humidity where value is greater than the average of reading in evaporation for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001154 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: level, ts, lat, reading
Sensor: soil_moisture | fields: type, depth, lat, ts
Task: Get value from turbidity where value exceeds the total value from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001155 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, level, type, depth
Sensor: turbidity | fields: qc, reading, value, level
Task: Get lat from cloud_cover where depth appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001156 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: value, lat, reading, ts
Sensor: uv_index | fields: reading, ts, type, lon
Task: Fetch reading from humidity where value is greater than the minimum of reading in uv_index for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001157 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, qc, level, unit
Sensor: uv_index | fields: type, reading, value, level
Task: Retrieve reading from snow_depth whose qc is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001158 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: lon, qc, value, ts
Sensor: soil_moisture | fields: ts, reading, lat, lon
Task: Retrieve depth from uv_index whose depth is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001159 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: type, depth, qc, reading
Sensor: dew_point | fields: type, value, lon, reading
Task: Get lon from sunlight where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001160 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, type, depth, value
Sensor: temperature | fields: depth, unit, reading, qc
Task: Get depth from wind_speed where unit appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001161 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: lon, level, unit, lat
Sensor: drought_index | fields: unit, reading, depth, lon
Task: Fetch depth from cloud_cover where depth is greater than the average of reading in drought_index for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001162 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: type, value, reading, qc
Sensor: pressure | fields: lat, level, depth, ts
Task: Retrieve lon from frost with value above the COUNT(value) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001163 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: depth, value, type, ts
Sensor: drought_index | fields: reading, level, lon, lat
Task: Fetch lon from humidity where depth is greater than the average of reading in drought_index for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001164 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: value, level, ts, lon
Sensor: rainfall | fields: qc, reading, ts, value
Task: Get value from drought_index where reading exceeds the minimum value from rainfall for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001165 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: value, level, qc, lon
Sensor: lightning | fields: lat, unit, type, reading
Task: Retrieve lat from humidity that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001166 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: level, unit, qc, depth
Sensor: air_quality | fields: lon, value, ts, qc
Task: Retrieve lat from dew_point that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001167 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: value, ts, type, depth
Sensor: snow_depth | fields: unit, ts, lon, depth
Task: Fetch level from lightning where reading is greater than the minimum of depth in snow_depth for matching type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001168 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: depth, value, level, type
Sensor: snow_depth | fields: qc, depth, value, type
Task: Get lon from pressure where ts appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001169 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: reading, depth, qc, ts
Sensor: dew_point | fields: value, level, type, unit
Task: Get level from rainfall where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001170 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: level, depth, lon, ts
Sensor: snow_depth | fields: ts, unit, reading, value
Task: Get depth from sunlight where depth exceeds the minimum depth from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001171 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: qc, unit, depth, value
Sensor: cloud_cover | fields: reading, value, lon, unit
Task: Retrieve lat from visibility with depth above the COUNT(value) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001172 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: type, ts, reading, depth
Sensor: wind_speed | fields: ts, depth, unit, lat
Task: Get reading from snow_depth where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001173 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: reading, depth, lon, type
Sensor: uv_index | fields: qc, ts, type, depth
Task: Get reading from dew_point where qc appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001174 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: qc, depth, type, level
Sensor: temperature | fields: depth, level, unit, reading
Task: Fetch lon from turbidity where type exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001175 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: lat, type, unit, reading
Sensor: dew_point | fields: lat, level, type, value
Task: Retrieve depth from frost that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001176 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: reading, depth, ts, lon
Sensor: wind_speed | fields: lat, reading, level, ts
Task: Fetch lat from pressure that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001177 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: value, unit, level, lon
Sensor: turbidity | fields: qc, lat, reading, value
Task: Get lon from pressure where depth exceeds the maximum depth from turbidity for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001178 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: lat, depth, lon, type
Sensor: soil_moisture | fields: level, lon, unit, reading
Task: Fetch value from visibility where value is greater than the maximum of depth in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001179 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: qc, lon, level, depth
Sensor: snow_depth | fields: lon, type, reading, level
Task: Get lon from temperature where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001180 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: value, depth, lon, unit
Sensor: visibility | fields: ts, lat, level, unit
Task: Retrieve lon from rainfall with value above the MAX(reading) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001181 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: depth, lon, qc, reading
Sensor: air_quality | fields: lon, ts, depth, type
Task: Retrieve depth from wind_speed whose depth is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001182 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: lon, reading, lat, qc
Sensor: evaporation | fields: unit, reading, value, type
Task: Retrieve depth from soil_moisture whose unit is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001183 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: unit, qc, level, type
Sensor: evaporation | fields: lat, reading, qc, depth
Task: Retrieve reading from air_quality with value above the MIN(reading) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001184 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, type, lon, unit
Sensor: soil_moisture | fields: unit, type, lat, value
Task: Get lon from snow_depth where value exceeds the average depth from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001185 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: unit, ts, type, qc
Sensor: sunlight | fields: qc, lat, level, ts
Task: Retrieve depth from air_quality with depth above the SUM(reading) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001186 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: level, qc, reading, ts
Sensor: soil_moisture | fields: value, lat, type, reading
Task: Fetch lon from snow_depth where value is greater than the minimum of depth in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001187 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: qc, reading, ts, type
Sensor: cloud_cover | fields: lat, qc, ts, unit
Task: Fetch lon from drought_index that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001188 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: level, depth, qc, ts
Sensor: rainfall | fields: qc, ts, reading, level
Task: Fetch value from snow_depth where value is greater than the average of reading in rainfall for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001189 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: value, unit, qc, type
Sensor: cloud_cover | fields: value, lon, depth, unit
Task: Get depth from snow_depth where depth exceeds the average depth from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001190 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: reading, depth, value, lat
Sensor: wind_speed | fields: lon, ts, unit, qc
Task: Retrieve depth from sunlight with value above the MIN(value) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001191 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: lat, lon, unit, reading
Sensor: dew_point | fields: depth, lon, qc, level
Task: Fetch lon from turbidity where reading is greater than the maximum of value in dew_point for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001192 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: unit, type, lon, reading
Sensor: uv_index | fields: reading, value, ts, type
Task: Retrieve level from humidity with depth above the MAX(reading) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001193 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: qc, type, level, lon
Sensor: wind_speed | fields: unit, level, lon, reading
Task: Get lat from dew_point where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001194 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: lat, value, level, depth
Sensor: temperature | fields: ts, depth, type, lon
Task: Retrieve lat from sunlight that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001195 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: ts, value, type, unit
Sensor: visibility | fields: value, ts, qc, type
Task: Retrieve value from cloud_cover whose qc is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001196 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: depth, qc, level, reading
Sensor: snow_depth | fields: ts, reading, lon, lat
Task: Get lat from air_quality where reading exceeds the count of depth from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001197 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, qc, reading, lat
Sensor: drought_index | fields: lat, depth, lon, value
Task: Get depth from soil_moisture where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001198 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: depth, lon, type, value
Sensor: cloud_cover | fields: unit, lon, level, qc
Task: Retrieve value from drought_index that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.