variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: rainfall | code: mst | fields: reading, type, unit, lon
Sensor: soil_moisture | fields: lon, lat, unit, ts
Task: Get depth from rainfall where reading exceeds the average depth from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075300 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: qc, lat, type, reading
Sensor: humidity | fields: value, lon, unit, type
Task: Fetch lat from rainfall where qc exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075301 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: unit, lat, qc, ts
Sensor: frost | fields: qc, depth, reading, lon
Task: Fetch depth from air_quality that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075302 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, lat, type, level
Sensor: snow_depth | fields: unit, type, depth, ts
Task: Fetch lon from cloud_cover that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075303 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: reading, lon, lat, type
Sensor: dew_point | fields: depth, level, type, lat
Task: Retrieve reading from wind_speed with depth above the COUNT(depth) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075304 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: lat, value, ts, level
Sensor: cloud_cover | fields: lat, qc, ts, value
Task: Fetch depth from sunlight where depth is greater than the average of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075305 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: unit, type, value, lat
Sensor: sunlight | fields: reading, level, type, lon
Task: Get reading from pressure where unit appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075306 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, qc, lat, unit
Sensor: uv_index | fields: depth, ts, qc, lon
Task: Retrieve reading from snow_depth whose depth is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075307 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: depth, lat, ts, unit
Sensor: visibility | fields: depth, lat, value, qc
Task: Fetch reading from frost that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075308 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: type, level, lon, value
Sensor: drought_index | fields: ts, qc, depth, value
Task: Get lat from sunlight where depth appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075309 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: qc, type, value, lon
Sensor: humidity | fields: type, depth, lon, ts
Task: Retrieve lat from uv_index that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075310 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: qc, level, ts, value
Sensor: wind_speed | fields: lat, type, value, qc
Task: Get value from lightning where reading exceeds the maximum depth from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075311 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: ts, reading, lat, lon
Sensor: turbidity | fields: unit, depth, lon, value
Task: Retrieve lat from drought_index whose ts is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075312 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, lon, type, level
Sensor: air_quality | fields: lon, ts, level, reading
Task: Get reading from soil_moisture where value exceeds the maximum depth from air_quality for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075313 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: qc, lon, lat, depth
Sensor: visibility | fields: reading, lat, lon, level
Task: Retrieve depth from uv_index whose unit is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075314 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: type, ts, lon, depth
Sensor: humidity | fields: value, qc, depth, ts
Task: Get depth from lightning where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075315 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: qc, depth, lat, level
Sensor: cloud_cover | fields: ts, unit, value, qc
Task: Get depth from uv_index where unit appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075316 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, depth, qc, level
Sensor: uv_index | fields: unit, lon, depth, value
Task: Get reading from cloud_cover where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075317 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: ts, unit, reading, value
Sensor: frost | fields: reading, ts, lon, depth
Task: Fetch lon from evaporation where depth is greater than the maximum of depth in frost for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075318 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: qc, value, reading, lon
Sensor: temperature | fields: qc, level, reading, unit
Task: Retrieve value from frost with depth above the MAX(depth) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075319 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: lat, unit, type, qc
Sensor: cloud_cover | fields: reading, depth, ts, type
Task: Fetch reading from drought_index that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075320 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: ts, qc, reading, type
Sensor: air_quality | fields: lat, reading, ts, value
Task: Fetch depth from soil_moisture where value is greater than the maximum of reading in air_quality for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075321 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: ts, reading, qc, unit
Sensor: dew_point | fields: lat, type, qc, unit
Task: Get lat from visibility where reading exceeds the count of depth from dew_point for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075322 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: level, reading, unit, depth
Sensor: snow_depth | fields: lon, unit, lat, value
Task: Fetch reading from humidity where unit exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075323 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: reading, lat, level, depth
Sensor: evaporation | fields: unit, qc, value, depth
Task: Retrieve level from lightning with reading above the MIN(depth) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075324 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: depth, qc, unit, ts
Sensor: turbidity | fields: ts, qc, depth, lat
Task: Fetch lat from pressure where value is greater than the total of reading in turbidity for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075325 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: unit, lon, type, reading
Sensor: temperature | fields: lon, qc, level, ts
Task: Retrieve lon from pressure whose qc is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075326 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: lat, unit, level, ts
Sensor: soil_moisture | fields: depth, level, reading, unit
Task: Get lon from rainfall where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075327 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: depth, qc, level, ts
Sensor: dew_point | fields: lat, depth, qc, 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="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075328 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: reading, value, lat, depth
Sensor: air_quality | fields: ts, depth, reading, level
Task: Fetch lon from wind_speed where value is greater than the maximum of reading in air_quality for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075329 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: unit, ts, value, lon
Sensor: dew_point | fields: qc, depth, lat, lon
Task: Retrieve depth from humidity whose depth is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075330 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, value, reading, lon
Sensor: evaporation | fields: lon, unit, depth, reading
Task: Retrieve depth from cloud_cover with value above the SUM(depth) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075331 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: ts, type, unit, level
Sensor: pressure | fields: value, depth, level, qc
Task: Fetch value from turbidity where ts exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075332 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: qc, value, unit, lon
Sensor: wind_speed | fields: lon, value, ts, depth
Task: Get level from dew_point where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075333 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: value, ts, type, level
Sensor: lightning | fields: unit, depth, ts, qc
Task: Get reading from visibility where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075334 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: unit, ts, lon, type
Sensor: wind_speed | fields: lon, lat, level, unit
Task: Retrieve value from visibility that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075335 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: type, lon, lat, reading
Sensor: air_quality | fields: qc, unit, lon, level
Task: Get value from rainfall where value exceeds the maximum depth from air_quality for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075336 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: unit, lat, lon, type
Sensor: wind_speed | fields: type, reading, unit, qc
Task: Get lon from snow_depth where depth exceeds the count of value from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075337 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: level, value, lat, depth
Sensor: frost | fields: reading, qc, lat, depth
Task: Fetch value from evaporation where type exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075338 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: reading, type, lon, unit
Sensor: pressure | fields: qc, unit, reading, ts
Task: Fetch depth from humidity that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075339 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: unit, lat, ts, depth
Sensor: wind_speed | fields: value, lon, reading, depth
Task: Fetch lon from pressure that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075340 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: qc, level, lon, reading
Sensor: frost | fields: depth, reading, lat, ts
Task: Get lat from drought_index where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075341 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: ts, level, unit, lon
Sensor: wind_speed | fields: level, lon, depth, unit
Task: Fetch level from evaporation where depth is greater than the average of value in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075342 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, qc, lon, ts
Sensor: visibility | fields: ts, qc, unit, reading
Task: Retrieve level from soil_moisture that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075343 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: level, unit, qc, reading
Sensor: wind_speed | fields: type, value, reading, depth
Task: Get depth from sunlight where depth exceeds the average value from wind_speed for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075344 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: level, value, lon, unit
Sensor: pressure | fields: level, unit, value, lon
Task: Retrieve lat from snow_depth with value above the MAX(value) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075345 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, type, unit, depth
Sensor: evaporation | fields: type, qc, unit, value
Task: Get lat from snow_depth where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075346 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: level, value, qc, unit
Sensor: temperature | fields: ts, level, reading, unit
Task: Fetch lat from pressure where depth is greater than the total of value in temperature for matching type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075347 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: depth, lat, unit, type
Sensor: wind_speed | fields: unit, depth, type, lat
Task: Retrieve level from air_quality with reading above the COUNT(value) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075348 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: lat, depth, reading, unit
Sensor: air_quality | fields: type, qc, ts, value
Task: Retrieve level from dew_point that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075349 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: value, qc, lon, depth
Sensor: turbidity | fields: qc, depth, ts, level
Task: Fetch lon from cloud_cover where reading is greater than the minimum of depth in turbidity for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075350 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: lat, value, type, qc
Sensor: frost | fields: level, ts, value, lat
Task: Retrieve lon from sunlight that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075351 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, lat, depth, type
Sensor: air_quality | fields: type, depth, unit, qc
Task: Fetch value from soil_moisture where value is greater than the count of of reading in air_quality for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075352 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: type, unit, lat, lon
Sensor: frost | fields: reading, lon, value, type
Task: Retrieve level from lightning whose ts is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075353 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: lat, depth, value, qc
Sensor: air_quality | fields: value, qc, ts, depth
Task: Retrieve level from rainfall whose type is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075354 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: ts, reading, qc, lon
Sensor: soil_moisture | fields: depth, value, type, unit
Task: Get depth from lightning where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075355 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: reading, ts, lon, qc
Sensor: uv_index | fields: type, lon, value, depth
Task: Retrieve depth from humidity that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075356 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, type, value, level
Sensor: cloud_cover | fields: qc, depth, ts, level
Task: Fetch lon from wind_speed that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075357 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: reading, depth, type, lon
Sensor: wind_speed | fields: lat, value, qc, reading
Task: Fetch value from sunlight that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075358 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: reading, unit, ts, depth
Sensor: cloud_cover | fields: lat, unit, type, reading
Task: Fetch depth from dew_point that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075359 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: lat, value, level, reading
Sensor: soil_moisture | fields: lon, qc, type, level
Task: Fetch lon from evaporation where depth is greater than the average of reading in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075360 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: ts, lat, qc, type
Sensor: snow_depth | fields: depth, lat, ts, unit
Task: Get lon from air_quality where depth appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075361 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: value, ts, unit, qc
Sensor: visibility | fields: level, qc, unit, type
Task: Get reading from humidity where type appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075362 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: unit, lon, qc, lat
Sensor: soil_moisture | fields: type, lon, lat, unit
Task: Retrieve depth from visibility with value above the SUM(reading) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075363 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: value, level, lon, depth
Sensor: sunlight | fields: qc, depth, type, ts
Task: Get lon from temperature where ts appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075364 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: qc, level, type, lon
Sensor: cloud_cover | fields: unit, lat, ts, lon
Task: Retrieve lat from uv_index that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075365 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: depth, lon, unit, lat
Sensor: temperature | fields: depth, reading, qc, ts
Task: Retrieve reading from air_quality with reading above the COUNT(depth) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075366 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: qc, depth, lat, level
Sensor: frost | fields: depth, unit, ts, lon
Task: Retrieve level from air_quality whose type is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075367 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: reading, level, lat, type
Sensor: snow_depth | fields: lat, depth, type, ts
Task: Get reading from rainfall where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075368 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, level, lat, reading
Sensor: temperature | fields: type, depth, qc, value
Task: Fetch value from cloud_cover where value is greater than the total of value in temperature for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075369 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: ts, unit, depth, lat
Sensor: air_quality | fields: level, depth, reading, lat
Task: Fetch depth from visibility where reading is greater than the maximum of depth in air_quality for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075370 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: depth, lat, type, level
Sensor: wind_speed | fields: lat, ts, type, level
Task: Get value from temperature where reading exceeds the average value from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075371 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: type, unit, ts, lat
Sensor: pressure | fields: level, value, ts, qc
Task: Retrieve lat from lightning with value above the SUM(depth) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075372 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: lat, value, level, qc
Sensor: cloud_cover | fields: reading, type, lat, unit
Task: Fetch depth from dew_point where type exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075373 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, lat, level, unit
Sensor: rainfall | fields: lat, lon, qc, unit
Task: Fetch reading from soil_moisture that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075374 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: lon, value, depth, unit
Sensor: humidity | fields: ts, depth, lat, level
Task: Retrieve reading from drought_index that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075375 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: lat, qc, value, reading
Sensor: sunlight | fields: qc, value, reading, lon
Task: Retrieve lat from pressure whose depth is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075376 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: lat, qc, value, unit
Sensor: air_quality | fields: qc, unit, lon, lat
Task: Retrieve depth from drought_index whose ts is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075377 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: lon, unit, reading, level
Sensor: dew_point | fields: reading, lat, unit, ts
Task: Retrieve reading from turbidity with depth above the AVG(depth) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075378 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: type, reading, value, level
Sensor: soil_moisture | fields: unit, reading, lon, qc
Task: Fetch value from lightning where unit exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075379 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: reading, value, level, qc
Sensor: temperature | fields: qc, level, lat, type
Task: Fetch level from frost where reading is greater than the maximum of value in temperature for matching type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075380 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: reading, unit, ts, level
Sensor: drought_index | fields: lat, unit, type, depth
Task: Retrieve value from humidity whose depth is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075381 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: lat, ts, qc, value
Sensor: air_quality | fields: value, level, reading, unit
Task: Retrieve lat from dew_point whose qc is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="qc",
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",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075382 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: qc, ts, lat, value
Sensor: cloud_cover | fields: level, depth, reading, lon
Task: Get depth from evaporation where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075383 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: depth, value, lon, qc
Sensor: humidity | fields: lon, unit, lat, reading
Task: Retrieve lon from dew_point that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075384 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: ts, unit, lon, type
Sensor: evaporation | fields: unit, type, lat, lon
Task: Get level from sunlight where reading exceeds the average reading from evaporation for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"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_075385 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: qc, lat, reading, value
Sensor: temperature | fields: lat, unit, level, ts
Task: Retrieve value from humidity whose type is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075386 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: unit, lat, lon, depth
Sensor: pressure | fields: reading, lat, level, unit
Task: Retrieve reading from snow_depth with depth above the MIN(depth) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075387 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, lat, reading, qc
Sensor: frost | fields: unit, level, depth, type
Task: Fetch level from soil_moisture that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075388 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: type, reading, qc, unit
Sensor: uv_index | fields: depth, level, qc, lon
Task: Fetch lon from dew_point where reading is greater than the total of reading in uv_index for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075389 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: level, qc, ts, value
Sensor: dew_point | fields: value, depth, reading, lon
Task: Fetch lon from cloud_cover where value is greater than the minimum of value in dew_point for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075390 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: lat, value, level, qc
Sensor: sunlight | fields: qc, level, type, ts
Task: Get lat from dew_point where value exceeds the maximum value from sunlight for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075391 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: level, value, depth, lat
Sensor: wind_speed | fields: depth, unit, lat, reading
Task: Get lon from lightning where type appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075392 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: reading, lon, level, type
Sensor: soil_moisture | fields: depth, unit, type, level
Task: Get lon from humidity where qc appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075393 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: reading, qc, lat, value
Sensor: wind_speed | fields: level, reading, depth, lat
Task: Get lat from lightning where type appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_075394 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: lon, depth, value, qc
Sensor: uv_index | fields: qc, unit, value, level
Task: Retrieve depth from sunlight that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075395 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: lon, level, qc, depth
Sensor: evaporation | fields: level, unit, lat, reading
Task: Retrieve depth from turbidity whose type is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075396 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: lon, reading, level, depth
Sensor: snow_depth | fields: type, lon, level, lat
Task: Retrieve level from evaporation with value above the MAX(depth) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075397 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: lat, level, qc, reading
Sensor: snow_depth | fields: lon, ts, reading, value
Task: Retrieve depth from cloud_cover whose qc is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075398 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, lon, level, value
Sensor: uv_index | fields: type, reading, unit, lon
Task: Fetch lat from cloud_cover that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_075399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.