variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: lon, value, ts, type
Sensor: visibility | fields: type, depth, qc, reading
Task: Get lon from wind_speed where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008200 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: level, reading, depth, value
Sensor: lightning | fields: depth, reading, unit, ts
Task: Fetch lat from temperature where unit exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008201 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, depth, value, type
Sensor: humidity | fields: reading, ts, qc, level
Task: Get reading from snow_depth where type appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008202 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: level, reading, lat, qc
Sensor: pressure | fields: qc, unit, lat, lon
Task: Fetch level from temperature that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008203 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: type, ts, lat, level
Sensor: drought_index | fields: type, ts, value, unit
Task: Fetch reading from wind_speed where depth is greater than the maximum of value in drought_index for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008204 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: ts, value, qc, unit
Sensor: drought_index | fields: type, depth, qc, level
Task: Retrieve value from uv_index with depth above the AVG(value) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008205 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: qc, value, reading, lon
Sensor: cloud_cover | fields: lon, level, depth, unit
Task: Retrieve level from humidity whose depth is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008206 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: level, reading, qc, depth
Sensor: soil_moisture | fields: qc, level, ts, type
Task: Retrieve lat from wind_speed whose unit is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008207 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: unit, depth, level, lon
Sensor: turbidity | fields: qc, value, type, lat
Task: Retrieve level from drought_index whose unit is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008208 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: value, unit, reading, depth
Sensor: cloud_cover | fields: level, qc, type, ts
Task: Get level from evaporation where reading exceeds the count of depth from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008209 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: lon, type, lat, qc
Sensor: pressure | fields: depth, qc, reading, lat
Task: Get level from sunlight where depth appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008210 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: unit, reading, depth, lat
Sensor: humidity | fields: reading, level, ts, unit
Task: Retrieve lon from snow_depth whose unit is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008211 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: ts, level, qc, value
Sensor: sunlight | fields: lat, ts, value, qc
Task: Retrieve depth from wind_speed that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008212 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: qc, type, level, depth
Sensor: soil_moisture | fields: type, unit, lat, value
Task: Get reading from rainfall where value exceeds the average reading from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008213 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: type, depth, unit, value
Sensor: drought_index | fields: unit, level, reading, value
Task: Get lon from frost where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008214 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, lat, lon, depth
Sensor: humidity | fields: depth, qc, ts, value
Task: Retrieve lat from cloud_cover that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008215 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: lat, type, level, ts
Sensor: frost | fields: lon, depth, unit, reading
Task: Get value from dew_point where value exceeds the minimum reading from frost for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008216 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: unit, qc, reading, lat
Sensor: wind_speed | fields: value, ts, lat, reading
Task: Fetch value from evaporation where unit exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008217 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: value, qc, lon, type
Sensor: turbidity | fields: reading, value, lat, qc
Task: Fetch depth from drought_index where value is greater than the maximum of reading in turbidity for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008218 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: level, ts, lon, lat
Sensor: uv_index | fields: lon, ts, reading, lat
Task: Get reading from snow_depth where depth exceeds the count of reading from uv_index for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008219 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: depth, ts, lat, lon
Sensor: wind_speed | fields: depth, lon, qc, unit
Task: Fetch depth from humidity where depth is greater than the count of of reading in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008220 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: unit, depth, level, lat
Sensor: uv_index | fields: depth, type, unit, reading
Task: Get level from drought_index where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008221 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: lat, type, unit, level
Sensor: soil_moisture | fields: type, qc, depth, lon
Task: Fetch level from evaporation that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008222 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: level, value, qc, depth
Sensor: sunlight | fields: lat, depth, lon, reading
Task: Fetch depth from drought_index where unit exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008223 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: depth, unit, lon, level
Sensor: pressure | fields: level, unit, value, depth
Task: Fetch value from air_quality where depth is greater than the minimum of value in pressure for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008224 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: qc, reading, lat, ts
Sensor: visibility | fields: level, unit, ts, lon
Task: Fetch value from sunlight that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008225 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: type, value, lon, reading
Sensor: rainfall | fields: qc, value, depth, lon
Task: Fetch value from temperature where value is greater than the total of depth in rainfall for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008226 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, value, qc, unit
Sensor: evaporation | fields: lat, ts, level, lon
Task: Retrieve lon from cloud_cover with reading above the MIN(value) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008227 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: unit, qc, level, ts
Sensor: air_quality | fields: lon, lat, value, qc
Task: Get level from visibility where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008228 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: reading, unit, depth, lat
Sensor: dew_point | fields: ts, unit, qc, lon
Task: Fetch depth from visibility where reading is greater than the minimum of reading in dew_point for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008229 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: lat, type, qc, depth
Sensor: uv_index | fields: level, depth, unit, value
Task: Retrieve lon from rainfall that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008230 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: type, ts, lat, value
Sensor: soil_moisture | fields: qc, lon, depth, value
Task: Retrieve depth from pressure whose type is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008231 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: lon, ts, level, qc
Sensor: wind_speed | fields: type, depth, ts, lon
Task: Fetch reading from sunlight that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008232 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: value, ts, unit, lon
Sensor: rainfall | fields: value, type, reading, unit
Task: Fetch lat from temperature that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008233 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: type, qc, level, value
Sensor: humidity | fields: depth, level, lat, value
Task: Get lat from cloud_cover where depth appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008234 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: value, lon, ts, level
Sensor: air_quality | fields: depth, unit, qc, value
Task: Retrieve level from cloud_cover whose ts is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008235 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: value, ts, lat, unit
Sensor: sunlight | fields: type, level, depth, value
Task: Fetch level from frost where depth exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008236 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: value, lat, depth, ts
Sensor: turbidity | fields: qc, unit, value, ts
Task: Retrieve level from humidity whose depth is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008237 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: depth, lon, unit, level
Sensor: air_quality | fields: lat, value, qc, type
Task: Fetch lon from humidity where depth exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008238 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: lat, reading, qc, lon
Sensor: dew_point | fields: qc, ts, depth, unit
Task: Get lon from visibility where type appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008239 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: lat, level, ts, depth
Sensor: sunlight | fields: lon, depth, value, type
Task: Fetch depth from pressure where reading is greater than the average of reading in sunlight for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008240 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: reading, level, type, lon
Sensor: temperature | fields: value, unit, level, reading
Task: Fetch reading from lightning where value is greater than the total of reading in temperature for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008241 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: unit, lat, type, depth
Sensor: sunlight | fields: type, value, unit, lat
Task: Retrieve lat from frost with value above the AVG(depth) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008242 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: reading, lon, lat, unit
Sensor: dew_point | fields: level, type, reading, lon
Task: Retrieve value from evaporation whose type is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008243 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: value, unit, type, level
Sensor: evaporation | fields: qc, reading, depth, unit
Task: Fetch value from sunlight where unit exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008244 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: lat, depth, qc, value
Sensor: dew_point | fields: qc, lat, depth, ts
Task: Fetch value from evaporation where value is greater than the minimum of value in dew_point for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008245 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: type, ts, reading, lat
Sensor: turbidity | fields: depth, level, ts, type
Task: Fetch depth from visibility that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008246 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: level, qc, unit, lon
Sensor: air_quality | fields: unit, type, ts, lon
Task: Get lat from turbidity where type appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008247 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: ts, depth, value, reading
Sensor: evaporation | fields: lon, value, type, qc
Task: Retrieve lat from temperature with value above the AVG(depth) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008248 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: type, lat, ts, lon
Sensor: wind_speed | fields: lat, level, type, lon
Task: Get lat from pressure where type appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008249 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: unit, lon, ts, qc
Sensor: visibility | fields: reading, level, type, qc
Task: Fetch depth from wind_speed where reading is greater than the minimum of depth in visibility for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008250 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, depth, reading, value
Sensor: snow_depth | fields: type, depth, lon, ts
Task: Get value from wind_speed where unit appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008251 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: unit, ts, level, lat
Sensor: snow_depth | fields: lat, ts, unit, reading
Task: Fetch lat from evaporation that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008252 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, value, level, reading
Sensor: dew_point | fields: level, lat, depth, qc
Task: Get lat from cloud_cover where type appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008253 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: level, type, unit, value
Sensor: pressure | fields: reading, ts, type, level
Task: Retrieve lon from rainfall with value above the MAX(reading) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008254 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: level, lon, reading, lat
Sensor: humidity | fields: lat, level, depth, unit
Task: Get lon from temperature where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008255 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: depth, unit, value, lat
Sensor: sunlight | fields: depth, lat, ts, reading
Task: Retrieve reading from wind_speed with value above the SUM(reading) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008256 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: level, lon, depth, ts
Sensor: wind_speed | fields: qc, type, value, unit
Task: Get lon from pressure where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008257 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: ts, reading, lon, value
Sensor: drought_index | fields: value, ts, depth, reading
Task: Get level from wind_speed where qc appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008258 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: lon, qc, type, lat
Sensor: wind_speed | fields: depth, value, reading, lon
Task: Get lat from turbidity where depth exceeds the average value from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008259 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: lat, depth, ts, reading
Sensor: temperature | fields: unit, type, level, depth
Task: Fetch depth from snow_depth that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008260 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: reading, depth, lat, level
Sensor: frost | fields: lat, reading, lon, unit
Task: Get lat from uv_index where qc appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008261 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: lon, type, reading, level
Sensor: snow_depth | fields: type, ts, value, qc
Task: Get value from evaporation where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008262 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: value, lat, qc, lon
Sensor: cloud_cover | fields: ts, qc, value, lat
Task: Fetch depth from uv_index where value is greater than the total of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008263 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: qc, lon, depth, level
Sensor: cloud_cover | fields: depth, lon, reading, value
Task: Fetch lat from visibility where depth is greater than the total of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008264 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: level, qc, lat, value
Sensor: temperature | fields: value, reading, lon, qc
Task: Retrieve value from humidity that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008265 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: unit, lon, qc, level
Sensor: frost | fields: reading, depth, type, unit
Task: Retrieve lat from temperature with reading above the MAX(depth) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008266 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: lon, depth, type, value
Sensor: frost | fields: value, qc, lon, depth
Task: Fetch value from sunlight that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008267 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: value, type, lat, unit
Sensor: humidity | fields: value, reading, depth, lon
Task: Get depth from lightning where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008268 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: type, unit, lon, ts
Sensor: turbidity | fields: depth, lon, value, reading
Task: Fetch reading from drought_index where value is greater than the maximum of depth in turbidity for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008269 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: depth, level, type, lon
Sensor: snow_depth | fields: type, lat, ts, depth
Task: Get reading from lightning where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008270 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: level, qc, lat, reading
Sensor: soil_moisture | fields: type, level, lon, ts
Task: Retrieve reading from air_quality that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008271 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: value, qc, reading, ts
Sensor: lightning | fields: type, lon, qc, lat
Task: Fetch depth from wind_speed where reading is greater than the total of depth in lightning for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008272 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: depth, lon, lat, reading
Sensor: soil_moisture | fields: reading, depth, type, value
Task: Retrieve depth from visibility whose depth is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008273 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: level, lat, qc, depth
Sensor: evaporation | fields: level, ts, reading, unit
Task: Get depth from wind_speed where value exceeds the total value from evaporation for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008274 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: lon, depth, lat, value
Sensor: snow_depth | fields: unit, reading, value, type
Task: Fetch lon from air_quality where qc exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008275 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, unit, ts, level
Sensor: visibility | fields: type, lat, ts, reading
Task: Get reading from cloud_cover where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008276 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: ts, depth, type, qc
Sensor: pressure | fields: ts, depth, lat, lon
Task: Get lon from evaporation where unit appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008277 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: unit, level, reading, lat
Sensor: visibility | fields: ts, unit, depth, value
Task: Get value from snow_depth where depth exceeds the total reading from visibility for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008278 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: unit, type, ts, lat
Sensor: soil_moisture | fields: level, lon, ts, qc
Task: Retrieve lon from sunlight that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008279 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: type, depth, value, level
Sensor: turbidity | fields: value, ts, qc, type
Task: Get value from dew_point where unit appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008280 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: type, level, ts, qc
Sensor: cloud_cover | fields: depth, ts, reading, lat
Task: Retrieve lat from temperature that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008281 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, ts, lat, value
Sensor: rainfall | fields: depth, reading, lat, level
Task: Get lon from snow_depth where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008282 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: lon, type, reading, qc
Sensor: lightning | fields: level, type, reading, lon
Task: Retrieve lat from rainfall with depth above the COUNT(value) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008283 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: value, lat, level, lon
Sensor: visibility | fields: level, lon, depth, lat
Task: Get lat from humidity where type appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008284 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: unit, value, ts, type
Sensor: turbidity | fields: level, unit, lat, reading
Task: Retrieve lat from sunlight that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008285 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: level, qc, ts, lon
Sensor: uv_index | fields: depth, qc, type, lon
Task: Get lat from visibility where value exceeds the minimum depth from uv_index for the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008286 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: level, unit, type, depth
Sensor: dew_point | fields: lon, unit, value, type
Task: Retrieve level from rainfall with value above the MAX(depth) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008287 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, lat, unit, type
Sensor: air_quality | fields: lon, ts, type, lat
Task: Retrieve lat from wind_speed with value above the MAX(reading) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008288 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: qc, ts, depth, level
Sensor: drought_index | fields: unit, reading, lat, lon
Task: Get lon from evaporation where value exceeds the average reading from drought_index for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008289 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: depth, type, reading, value
Sensor: cloud_cover | fields: lat, type, ts, lon
Task: Get level from temperature where value exceeds the count of reading from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008290 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lat, level, value, lon
Sensor: visibility | fields: lat, depth, unit, ts
Task: Retrieve lat from pressure whose ts is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008291 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: reading, value, qc, ts
Sensor: lightning | fields: unit, value, ts, level
Task: Get level from turbidity where value exceeds the count of depth from lightning for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008292 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: type, unit, level, value
Sensor: air_quality | fields: type, lat, value, unit
Task: Fetch level from temperature where type exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008293 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: lon, lat, reading, unit
Sensor: wind_speed | fields: unit, value, level, depth
Task: Retrieve lat from frost that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008294 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: ts, reading, unit, lat
Sensor: wind_speed | fields: ts, reading, value, unit
Task: Get reading from frost where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008295 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: unit, ts, lon, lat
Sensor: air_quality | fields: depth, reading, qc, level
Task: Fetch lon from sunlight where qc exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008296 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: ts, type, qc, reading
Sensor: humidity | fields: reading, depth, unit, ts
Task: Retrieve lat from sunlight with value above the COUNT(reading) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008297 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: value, unit, depth, qc
Sensor: snow_depth | fields: level, unit, qc, type
Task: Retrieve lon from humidity that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008298 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: value, unit, ts, qc
Sensor: turbidity | fields: depth, level, ts, unit
Task: Retrieve reading from drought_index that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.