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: snow_depth | code: mst | fields: unit, qc, reading, lat
Sensor: air_quality | fields: lon, type, qc, value
Task: Fetch lat from snow_depth that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022300 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: unit, type, ts, depth
Sensor: snow_depth | fields: type, reading, ts, depth
Task: Fetch lat from evaporation where value is greater than the maximum of depth in snow_depth for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
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",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022301 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: ts, reading, level, type
Sensor: uv_index | fields: unit, depth, qc, lat
Task: Fetch level from drought_index that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"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_022302 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: ts, level, type, reading
Sensor: humidity | fields: type, qc, ts, reading
Task: Retrieve depth from turbidity that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022303 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: reading, qc, lon, ts
Sensor: uv_index | fields: reading, lat, value, level
Task: Get lon from frost where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022304 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: ts, level, value, depth
Sensor: pressure | fields: qc, value, lat, type
Task: Fetch lat from air_quality that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022305 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: depth, ts, value, type
Sensor: dew_point | fields: ts, depth, value, lat
Task: Get reading from rainfall where unit appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
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": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022306 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: level, ts, depth, type
Sensor: sunlight | fields: reading, type, value, level
Task: Get level from temperature where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022307 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: qc, level, ts, depth
Sensor: wind_speed | fields: qc, reading, ts, level
Task: Retrieve reading from uv_index that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022308 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: reading, ts, lat, qc
Sensor: air_quality | fields: depth, value, reading, lon
Task: Fetch level from soil_moisture where type exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022309 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: lat, depth, type, qc
Sensor: dew_point | fields: level, lon, lat, qc
Task: Fetch level from sunlight that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022310 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: lat, qc, type, ts
Sensor: humidity | fields: depth, lon, qc, ts
Task: Fetch level from air_quality where unit exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022311 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: level, type, depth, ts
Sensor: dew_point | fields: unit, qc, lon, depth
Task: Get reading from turbidity where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022312 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: type, qc, lon, unit
Sensor: air_quality | fields: lon, unit, ts, lat
Task: Fetch lon from lightning where reading is greater than the average of reading in air_quality for matching type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022313 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: lon, unit, value, qc
Sensor: evaporation | fields: type, depth, ts, reading
Task: Fetch value from soil_moisture where type exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022314 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: qc, depth, lon, reading
Sensor: sunlight | fields: lon, qc, ts, type
Task: Fetch lon from soil_moisture where reading is greater than the count of of reading in sunlight for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022315 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: lon, unit, ts, reading
Sensor: air_quality | fields: type, ts, lat, value
Task: Retrieve value from humidity whose unit is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022316 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: ts, type, unit, depth
Sensor: air_quality | fields: value, qc, type, lat
Task: Retrieve depth from lightning that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022317 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: value, lon, depth, ts
Sensor: visibility | fields: lon, lat, unit, level
Task: Retrieve lat from wind_speed whose qc is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022318 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: ts, depth, qc, reading
Sensor: sunlight | fields: reading, depth, level, lon
Task: Get value from uv_index where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022319 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: unit, lat, value, type
Sensor: rainfall | fields: lon, type, reading, level
Task: Get lat from lightning where depth exceeds the count of reading from rainfall for the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022320 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: level, reading, value, ts
Sensor: air_quality | fields: unit, type, value, qc
Task: Retrieve lat from turbidity that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022321 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: qc, lat, lon, depth
Sensor: turbidity | fields: lon, ts, type, unit
Task: Get lat from air_quality where value exceeds the maximum value from turbidity for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022322 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: reading, lat, value, type
Sensor: pressure | fields: reading, unit, type, value
Task: Retrieve level from visibility that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022323 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, reading, lon, type
Sensor: cloud_cover | fields: qc, unit, level, lat
Task: Retrieve lat from snow_depth whose depth is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022324 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: lat, lon, type, reading
Sensor: rainfall | fields: lon, reading, type, qc
Task: Get lon from temperature where type appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022325 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: ts, lon, level, reading
Sensor: temperature | fields: level, unit, lon, ts
Task: Retrieve reading from evaporation with value above the AVG(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022326 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: qc, type, ts, value
Sensor: humidity | fields: unit, reading, qc, ts
Task: Fetch lat from visibility where unit exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022327 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: reading, unit, level, lat
Sensor: sunlight | fields: lon, ts, type, level
Task: Retrieve level from snow_depth whose unit is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022328 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: depth, type, ts, value
Sensor: cloud_cover | fields: qc, value, lon, ts
Task: Retrieve lat from air_quality whose qc is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022329 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: value, lon, lat, level
Sensor: pressure | fields: lat, value, ts, qc
Task: Retrieve value from air_quality whose ts is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022330 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: qc, value, lat, depth
Sensor: dew_point | fields: type, reading, ts, unit
Task: Retrieve depth from air_quality that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022331 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: ts, depth, qc, unit
Sensor: sunlight | fields: type, unit, ts, depth
Task: Retrieve value from frost with value above the MIN(reading) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022332 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: level, qc, lon, depth
Sensor: evaporation | fields: ts, depth, unit, lon
Task: Retrieve value from pressure whose unit is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022333 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: ts, type, lon, level
Sensor: dew_point | fields: type, ts, qc, level
Task: Fetch depth from pressure where depth is greater than the count of of reading in dew_point for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022334 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: level, ts, value, type
Sensor: frost | fields: level, reading, type, value
Task: Fetch lon from air_quality that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022335 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: qc, reading, type, level
Sensor: humidity | fields: ts, depth, unit, level
Task: Retrieve depth from lightning whose depth is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022336 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: lon, ts, lat, reading
Sensor: visibility | fields: level, unit, reading, ts
Task: Get level from rainfall where qc appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022337 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: type, value, lat, qc
Sensor: air_quality | fields: reading, value, depth, level
Task: Get lat from temperature where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022338 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: depth, reading, ts, level
Sensor: snow_depth | fields: lat, level, lon, type
Task: Fetch value from rainfall that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022339 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: type, level, qc, unit
Sensor: pressure | fields: type, qc, depth, lat
Task: Fetch value from dew_point that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022340 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: type, lon, depth, lat
Sensor: rainfall | fields: level, reading, qc, type
Task: Fetch lat from wind_speed where unit exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022341 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: value, qc, ts, lon
Sensor: soil_moisture | fields: depth, type, level, unit
Task: Fetch lon from sunlight where type exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022342 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: lat, ts, qc, lon
Sensor: evaporation | fields: reading, value, lon, qc
Task: Retrieve lat from wind_speed that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022343 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: type, unit, ts, lon
Sensor: cloud_cover | fields: qc, value, lat, reading
Task: Fetch reading from humidity where qc exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022344 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: depth, lat, qc, ts
Sensor: wind_speed | fields: type, ts, level, depth
Task: Fetch lon from air_quality where unit exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022345 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: value, lat, ts, type
Sensor: visibility | fields: lat, unit, ts, lon
Task: Get depth from wind_speed where unit appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022346 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: type, value, depth, lon
Sensor: visibility | fields: reading, lon, lat, ts
Task: Get level from wind_speed where reading exceeds the minimum reading from visibility for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022347 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: depth, level, lat, value
Sensor: sunlight | fields: unit, lat, value, type
Task: Retrieve lon from lightning that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022348 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: lon, reading, lat, qc
Sensor: dew_point | fields: level, reading, type, unit
Task: Get value from evaporation where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022349 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, depth, lat, level
Sensor: evaporation | fields: level, qc, lat, unit
Task: Retrieve lon from snow_depth with depth above the COUNT(value) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022350 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: depth, type, level, lat
Sensor: humidity | fields: value, type, lat, lon
Task: Retrieve depth from temperature with value above the AVG(value) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022351 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: unit, depth, lat, reading
Sensor: cloud_cover | fields: value, lat, type, qc
Task: Get lon from snow_depth where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022352 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: depth, qc, lon, ts
Sensor: lightning | fields: level, value, lon, unit
Task: Retrieve value from air_quality that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022353 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: lon, qc, reading, level
Sensor: rainfall | fields: level, type, lat, unit
Task: Retrieve value from cloud_cover whose unit is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022354 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: depth, level, lon, lat
Sensor: humidity | fields: depth, level, value, type
Task: Fetch value from evaporation where depth is greater than the maximum of value in humidity for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022355 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: type, level, reading, lat
Sensor: drought_index | fields: type, depth, lat, level
Task: Get reading from rainfall where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022356 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: unit, level, lon, ts
Sensor: turbidity | fields: qc, ts, lon, reading
Task: Get reading from visibility where depth exceeds the total value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022357 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: type, unit, qc, reading
Sensor: humidity | fields: qc, lat, unit, ts
Task: Retrieve lat from wind_speed that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022358 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: depth, unit, reading, qc
Sensor: rainfall | fields: reading, lat, qc, type
Task: Get depth from lightning where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022359 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: lon, lat, unit, reading
Sensor: pressure | fields: type, ts, reading, lat
Task: Retrieve lon from lightning whose unit is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022360 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: level, depth, reading, ts
Sensor: air_quality | fields: depth, unit, value, type
Task: Fetch value from temperature where qc exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022361 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: qc, type, reading, ts
Sensor: rainfall | fields: depth, qc, ts, reading
Task: Get reading from turbidity where type appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022362 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, type, ts, depth
Sensor: cloud_cover | fields: depth, ts, qc, value
Task: Retrieve lon from soil_moisture that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022363 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, lat, lon, value
Sensor: evaporation | fields: reading, value, unit, level
Task: Fetch lat from cloud_cover that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022364 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: level, depth, value, reading
Sensor: temperature | fields: lon, depth, qc, unit
Task: Retrieve reading from dew_point with value above the AVG(value) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022365 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: level, ts, qc, lon
Sensor: humidity | fields: unit, level, depth, lat
Task: Fetch depth from drought_index that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022366 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: lat, unit, lon, depth
Sensor: turbidity | fields: level, ts, unit, reading
Task: Get level from cloud_cover where ts appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022367 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: qc, type, ts, value
Sensor: lightning | fields: lat, value, reading, lon
Task: Retrieve level from rainfall whose qc is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022368 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: reading, qc, level, unit
Sensor: drought_index | fields: type, lon, value, reading
Task: Fetch level from temperature that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022369 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, value, qc, lat
Sensor: evaporation | fields: level, type, reading, lat
Task: Get depth from cloud_cover where qc appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022370 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: qc, ts, lon, depth
Sensor: rainfall | fields: depth, qc, level, ts
Task: Get lat from visibility where depth exceeds the average depth from rainfall for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022371 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: unit, depth, type, reading
Sensor: soil_moisture | fields: qc, unit, depth, reading
Task: Get reading from evaporation where depth exceeds the maximum value from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022372 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: lon, ts, type, unit
Sensor: humidity | fields: qc, lat, unit, value
Task: Retrieve lat from uv_index that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"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_022373 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: value, level, ts, lon
Sensor: soil_moisture | fields: depth, ts, type, unit
Task: Get lat from sunlight where reading exceeds the minimum depth from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022374 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: qc, reading, lon, lat
Sensor: frost | fields: level, value, reading, lon
Task: Get lat from visibility where reading exceeds the count of value from frost for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022375 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: lat, type, reading, value
Sensor: dew_point | fields: type, ts, unit, value
Task: Get reading from visibility where value exceeds the total reading from dew_point for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022376 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: lat, type, depth, reading
Sensor: uv_index | fields: ts, reading, depth, level
Task: Retrieve reading from humidity whose qc is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022377 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: qc, ts, depth, reading
Sensor: visibility | fields: lon, value, type, lat
Task: Fetch value from pressure where ts exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022378 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, reading, level, unit
Sensor: humidity | fields: value, reading, unit, lon
Task: Get value from cloud_cover where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022379 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: value, lon, qc, depth
Sensor: frost | fields: type, level, lat, value
Task: Retrieve level from temperature with reading above the COUNT(depth) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022380 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, level, depth, unit
Sensor: lightning | fields: level, ts, qc, lon
Task: Get lat from soil_moisture where reading exceeds the average value from lightning for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022381 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: type, ts, lon, value
Sensor: visibility | fields: ts, lon, unit, value
Task: Retrieve value from lightning that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022382 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: ts, level, qc, type
Sensor: cloud_cover | fields: qc, value, ts, level
Task: Get level from visibility where value exceeds the minimum reading from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022383 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: lon, value, type, unit
Sensor: rainfall | fields: level, lat, ts, value
Task: Fetch lon from temperature where value is greater than the count of of value in rainfall for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022384 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lat, value, lon, ts
Sensor: drought_index | fields: reading, qc, unit, type
Task: Get lon from dew_point where value exceeds the total value from drought_index for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022385 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: lat, value, reading, unit
Sensor: dew_point | fields: level, lon, depth, unit
Task: Fetch value from humidity where value is greater than the total of reading in dew_point for matching type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022386 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: level, ts, reading, lat
Sensor: turbidity | fields: lat, level, qc, ts
Task: Get level from humidity where reading exceeds the average depth from turbidity for the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022387 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: level, type, depth, ts
Sensor: cloud_cover | fields: reading, ts, depth, type
Task: Get lon from pressure where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022388 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: reading, qc, depth, ts
Sensor: dew_point | fields: depth, unit, reading, type
Task: Retrieve value from pressure whose depth is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022389 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: reading, value, level, lon
Sensor: temperature | fields: lon, ts, reading, value
Task: Retrieve lat from drought_index whose type is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022390 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: unit, type, ts, lon
Sensor: humidity | fields: qc, depth, level, lon
Task: Get lon from visibility where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022391 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: lat, value, qc, unit
Sensor: temperature | fields: ts, type, level, depth
Task: Fetch reading from uv_index where depth is greater than the count of of depth in temperature for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022392 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, qc, lon, level
Sensor: cloud_cover | fields: type, lon, value, reading
Task: Fetch lon from soil_moisture where qc exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022393 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: unit, type, depth, lon
Sensor: dew_point | fields: qc, level, value, type
Task: Retrieve lat from temperature with value above the COUNT(value) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022394 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: value, lat, lon, type
Sensor: turbidity | fields: ts, type, qc, value
Task: Retrieve depth from soil_moisture that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022395 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: unit, qc, depth, lat
Sensor: cloud_cover | fields: level, reading, qc, unit
Task: Get level from rainfall where depth appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022396 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: unit, value, ts, depth
Sensor: visibility | fields: ts, level, value, lon
Task: Retrieve depth from turbidity whose unit is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022397 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: qc, lon, value, reading
Sensor: uv_index | fields: unit, type, ts, qc
Task: Retrieve level from turbidity that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022398 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: type, ts, value, unit
Sensor: snow_depth | fields: value, ts, reading, level
Task: Retrieve lat from wind_speed with reading above the SUM(reading) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.