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: gst | fields: ts, unit, level, reading
Sensor: cloud_cover | fields: reading, level, unit, lon
Task: Retrieve depth from rainfall with value above the SUM(value) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055100 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: lon, type, level, depth
Sensor: snow_depth | fields: depth, qc, reading, type
Task: Retrieve depth from wind_speed whose unit is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055101 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: unit, depth, reading, lat
Sensor: pressure | fields: qc, type, lon, level
Task: Fetch depth from uv_index where type exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055102 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: unit, lon, type, lat
Sensor: cloud_cover | fields: reading, lon, ts, type
Task: Retrieve level from temperature whose depth is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055103 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: type, depth, qc, lon
Sensor: drought_index | fields: ts, qc, level, lon
Task: Retrieve value from temperature whose depth is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055104 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: qc, value, unit, lat
Sensor: pressure | fields: lat, reading, type, qc
Task: Retrieve reading from lightning whose depth is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055105 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: lat, unit, depth, value
Sensor: temperature | fields: level, ts, lon, value
Task: Retrieve lon from evaporation that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055106 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: unit, lat, lon, reading
Sensor: evaporation | fields: lat, lon, level, reading
Task: Fetch reading from sunlight that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055107 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: level, depth, ts, value
Sensor: rainfall | fields: type, level, reading, unit
Task: Get value from cloud_cover where reading exceeds the maximum value from rainfall for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055108 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: level, unit, reading, depth
Sensor: pressure | fields: lat, type, level, depth
Task: Get depth from cloud_cover where value exceeds the total reading from pressure for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055109 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: qc, type, ts, value
Sensor: humidity | fields: level, type, value, lat
Task: Fetch reading from cloud_cover where depth is greater than the count of of value in humidity for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055110 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: unit, lon, level, ts
Sensor: drought_index | fields: lat, reading, depth, unit
Task: Get lon from temperature where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055111 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: type, reading, unit, lon
Sensor: dew_point | fields: reading, value, qc, unit
Task: Get lon from frost where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"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_055112 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: unit, lat, ts, qc
Sensor: temperature | fields: type, lon, ts, qc
Task: Get level from air_quality where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055113 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: lat, qc, reading, depth
Sensor: evaporation | fields: type, level, value, lat
Task: Retrieve value from cloud_cover with reading above the SUM(reading) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055114 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, reading, lat, depth
Sensor: air_quality | fields: qc, type, level, lat
Task: Get level from cloud_cover where value exceeds the maximum value from air_quality for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055115 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: lon, value, level, type
Sensor: drought_index | fields: ts, reading, type, depth
Task: Retrieve reading from rainfall whose unit is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055116 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: depth, lat, type, level
Sensor: pressure | fields: type, lat, depth, lon
Task: Fetch depth from lightning where value is greater than the count of of depth in pressure for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055117 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: type, level, lon, reading
Sensor: turbidity | fields: qc, ts, level, value
Task: Retrieve lon from visibility that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055118 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: type, level, lat, lon
Sensor: rainfall | fields: lat, unit, qc, ts
Task: Retrieve reading from lightning whose ts is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055119 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: unit, reading, level, ts
Sensor: frost | fields: type, lon, unit, qc
Task: Get depth from drought_index where qc appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055120 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: qc, type, unit, value
Sensor: sunlight | fields: type, level, unit, qc
Task: Retrieve reading from pressure that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055121 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: qc, ts, lon, value
Sensor: frost | fields: unit, reading, lat, level
Task: Get lon from evaporation where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055122 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: ts, qc, lat, unit
Sensor: drought_index | fields: reading, type, level, qc
Task: Get reading from uv_index where reading exceeds the total value from drought_index for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055123 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: lat, reading, unit, qc
Sensor: frost | fields: level, lat, depth, lon
Task: Get depth from wind_speed where qc appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055124 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: qc, reading, type, unit
Sensor: snow_depth | fields: type, depth, qc, ts
Task: Fetch lon from soil_moisture where value is greater than the total of depth in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055125 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: reading, depth, level, type
Sensor: turbidity | fields: lat, depth, type, value
Task: Fetch lon from frost where reading is greater than the minimum of reading in turbidity for matching depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055126 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, lon, lat, unit
Sensor: snow_depth | fields: lon, qc, depth, level
Task: Retrieve lat from soil_moisture whose qc is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055127 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: unit, level, type, lat
Sensor: temperature | fields: unit, depth, lat, value
Task: Fetch lat 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="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055128 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: value, ts, lat, type
Sensor: rainfall | fields: qc, lat, unit, type
Task: Retrieve depth from turbidity whose unit is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055129 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: value, lat, reading, lon
Sensor: soil_moisture | fields: type, lat, lon, value
Task: Fetch reading from frost where depth exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055130 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, reading, ts, depth
Sensor: frost | fields: level, qc, value, unit
Task: Retrieve depth from snow_depth whose ts is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055131 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: lon, reading, unit, type
Sensor: snow_depth | fields: value, lat, unit, lon
Task: Get depth from sunlight where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055132 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, reading, value, lat
Sensor: drought_index | fields: lat, depth, value, level
Task: Get reading from soil_moisture where value exceeds the total reading from drought_index for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055133 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: lat, lon, type, reading
Sensor: air_quality | fields: depth, value, type, unit
Task: Retrieve reading from rainfall with reading above the AVG(depth) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055134 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: reading, level, depth, lat
Sensor: sunlight | fields: unit, level, type, depth
Task: Retrieve level from snow_depth with value above the MIN(depth) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055135 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: qc, ts, unit, reading
Sensor: drought_index | fields: depth, unit, qc, ts
Task: Get reading from temperature where value exceeds the minimum value from drought_index for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055136 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: qc, unit, lat, level
Sensor: lightning | fields: ts, depth, qc, reading
Task: Fetch lon from rainfall where value is greater than the average of reading in lightning for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055137 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: lon, reading, depth, type
Sensor: pressure | fields: qc, lat, level, type
Task: Get value from humidity where unit appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055138 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: ts, depth, reading, lat
Sensor: cloud_cover | fields: ts, level, type, qc
Task: Get value from air_quality where value exceeds the total depth from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055139 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: level, reading, type, unit
Sensor: lightning | fields: reading, lat, value, type
Task: Fetch level from pressure that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055140 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: type, unit, reading, lat
Sensor: cloud_cover | fields: reading, lon, qc, ts
Task: Get level from humidity where reading exceeds the average value from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055141 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: value, level, lat, qc
Sensor: humidity | fields: ts, depth, value, qc
Task: Retrieve depth from sunlight that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"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_055142 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: ts, type, depth, qc
Sensor: soil_moisture | fields: qc, unit, type, level
Task: Retrieve lat from evaporation with value above the AVG(depth) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055143 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: ts, depth, unit, lat
Sensor: cloud_cover | fields: qc, reading, value, lon
Task: Retrieve depth from lightning that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055144 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: type, lat, value, qc
Sensor: visibility | fields: reading, depth, qc, value
Task: Retrieve depth from dew_point with value above the MAX(reading) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055145 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: value, lon, level, unit
Sensor: dew_point | fields: reading, type, lon, depth
Task: Fetch reading from rainfall where depth is greater than the maximum of depth in dew_point for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055146 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, reading, lon, type
Sensor: turbidity | fields: type, lat, unit, reading
Task: Fetch level from soil_moisture where type exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055147 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: lon, type, value, reading
Sensor: evaporation | fields: depth, ts, lon, qc
Task: Retrieve level from humidity with reading above the COUNT(reading) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055148 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: depth, type, lat, lon
Sensor: dew_point | fields: type, depth, lon, level
Task: Get lat from evaporation where qc appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055149 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: depth, type, reading, lat
Sensor: drought_index | fields: value, reading, unit, depth
Task: Fetch value from sunlight that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055150 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: type, lon, ts, qc
Sensor: uv_index | fields: value, ts, level, qc
Task: Retrieve lat from lightning with value above the COUNT(depth) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055151 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: lon, depth, lat, qc
Sensor: rainfall | fields: reading, lat, lon, ts
Task: Get depth from visibility where type appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055152 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: ts, lon, reading, qc
Sensor: dew_point | fields: type, qc, value, unit
Task: Get level from pressure where reading exceeds the total depth from dew_point for the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055153 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, depth, level, type
Sensor: cloud_cover | fields: lon, reading, lat, ts
Task: Get reading from soil_moisture where depth appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055154 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: ts, type, level, value
Sensor: turbidity | fields: level, lon, value, qc
Task: Get level from snow_depth where value exceeds the total depth from turbidity for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055155 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: value, level, ts, unit
Sensor: frost | fields: value, reading, qc, depth
Task: Fetch lat from lightning that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055156 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: qc, ts, depth, lon
Sensor: sunlight | fields: level, ts, qc, value
Task: Fetch depth from rainfall where value is greater than the average of value in sunlight for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055157 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: depth, type, value, qc
Sensor: humidity | fields: value, ts, type, lon
Task: Get value from evaporation where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055158 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: unit, reading, qc, lat
Sensor: wind_speed | fields: value, lat, unit, ts
Task: Retrieve lon from uv_index whose type is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055159 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: lat, reading, qc, value
Sensor: cloud_cover | fields: ts, reading, type, unit
Task: Fetch depth from wind_speed where unit exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055160 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: reading, qc, unit, ts
Sensor: sunlight | fields: level, ts, reading, qc
Task: Fetch lon from humidity where type exists in sunlight sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055161 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: level, depth, lat, type
Sensor: wind_speed | fields: type, unit, reading, lat
Task: Retrieve level from rainfall whose ts is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055162 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: value, lat, lon, ts
Sensor: air_quality | fields: unit, lat, depth, reading
Task: Retrieve depth from drought_index whose qc is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055163 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: lat, ts, type, level
Sensor: air_quality | fields: qc, unit, type, lon
Task: Retrieve depth from rainfall whose unit is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055164 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: lat, unit, ts, type
Sensor: drought_index | fields: level, unit, ts, lon
Task: Retrieve lon from soil_moisture with depth above the MIN(reading) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055165 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: value, reading, level, lat
Sensor: snow_depth | fields: unit, lat, level, type
Task: Get depth from frost where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055166 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: type, depth, lat, ts
Sensor: temperature | fields: ts, lon, depth, unit
Task: Get depth from lightning where type appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055167 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: depth, level, qc, lon
Sensor: uv_index | fields: level, qc, reading, depth
Task: Retrieve level from frost that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055168 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: qc, lat, type, level
Sensor: drought_index | fields: type, reading, lon, lat
Task: Fetch reading from dew_point where reading is greater than the total of reading in drought_index for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055169 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, ts, unit, qc
Sensor: humidity | fields: unit, depth, qc, type
Task: Retrieve lon from soil_moisture with reading above the SUM(depth) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055170 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: lat, depth, reading, unit
Sensor: drought_index | fields: level, type, ts, unit
Task: Retrieve level from rainfall whose type is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055171 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: unit, lon, reading, qc
Sensor: pressure | fields: depth, ts, qc, lat
Task: Get lat from dew_point where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055172 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: lon, depth, level, type
Sensor: evaporation | fields: qc, type, lon, value
Task: Fetch value from humidity that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055173 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: depth, unit, value, qc
Sensor: visibility | fields: reading, value, lon, ts
Task: Fetch lat from turbidity where value is greater than the minimum of value in visibility for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055174 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, unit, level, type
Sensor: soil_moisture | fields: unit, reading, level, type
Task: Get value from wind_speed where reading exceeds the average depth from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055175 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: ts, type, lon, value
Sensor: drought_index | fields: lat, level, value, lon
Task: Fetch lat from snow_depth where type exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055176 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: qc, value, level, type
Sensor: wind_speed | fields: type, qc, lat, depth
Task: Retrieve lat from cloud_cover whose depth is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055177 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: depth, qc, lon, value
Sensor: cloud_cover | fields: depth, lat, reading, level
Task: Fetch lat from drought_index where qc exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055178 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: level, lon, unit, ts
Sensor: visibility | fields: unit, value, lon, lat
Task: Retrieve value from drought_index with depth above the COUNT(reading) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055179 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: reading, ts, lat, unit
Sensor: sunlight | fields: qc, ts, lat, lon
Task: Fetch level from humidity that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055180 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: depth, lat, level, ts
Sensor: rainfall | fields: lat, qc, type, value
Task: Fetch depth from lightning where reading is greater than the total of reading in rainfall for matching type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055181 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: level, unit, type, depth
Sensor: pressure | fields: lat, type, ts, unit
Task: Fetch reading from air_quality where type exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055182 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, value, unit, qc
Sensor: pressure | fields: reading, ts, qc, lat
Task: Retrieve value from snow_depth with value above the MIN(reading) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055183 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: type, unit, depth, level
Sensor: evaporation | fields: ts, value, depth, qc
Task: Retrieve lat from snow_depth that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055184 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: depth, reading, qc, unit
Sensor: rainfall | fields: value, lon, type, unit
Task: Fetch level from snow_depth where reading is greater than the total of depth in rainfall for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055185 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: qc, lon, value, unit
Sensor: wind_speed | fields: reading, level, type, qc
Task: Get value from humidity where value exceeds the count of value from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055186 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: reading, lat, depth, unit
Sensor: lightning | fields: value, type, level, ts
Task: Fetch reading from rainfall where value is greater than the count of of value in lightning for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055187 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: depth, type, qc, level
Sensor: frost | fields: unit, qc, ts, lat
Task: Retrieve lon from wind_speed with value above the MIN(depth) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055188 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: level, lon, value, type
Sensor: humidity | fields: value, qc, ts, depth
Task: Retrieve lat from evaporation that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055189 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: value, lon, level, lat
Sensor: visibility | fields: value, lat, qc, unit
Task: Get value from air_quality where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055190 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: qc, reading, depth, unit
Sensor: cloud_cover | fields: depth, lat, lon, unit
Task: Get lat from visibility where reading exceeds the count of depth from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055191 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: lat, type, reading, lon
Sensor: soil_moisture | fields: type, unit, depth, lat
Task: Get level from uv_index where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055192 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: level, type, depth, unit
Sensor: lightning | fields: lon, depth, unit, reading
Task: Retrieve reading from pressure with value above the MAX(reading) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055193 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: value, lat, type, ts
Sensor: snow_depth | fields: level, ts, depth, qc
Task: Retrieve depth from sunlight whose ts is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055194 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, lat, lon, unit
Sensor: drought_index | fields: type, value, lon, ts
Task: Retrieve level from cloud_cover with value above the AVG(value) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055195 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: depth, qc, unit, type
Sensor: lightning | fields: depth, unit, level, reading
Task: Fetch value from frost where type exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055196 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: level, lon, qc, type
Sensor: air_quality | fields: value, level, lat, type
Task: Fetch depth from cloud_cover where value is greater than the maximum of value in air_quality for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055197 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: qc, lon, level, reading
Sensor: soil_moisture | fields: reading, lat, ts, unit
Task: Fetch lat from lightning that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055198 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: type, value, lon, qc
Sensor: drought_index | fields: qc, lon, depth, reading
Task: Fetch value from temperature where ts exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.