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: value, level, lon, reading
Sensor: evaporation | fields: level, ts, depth, lat
Task: Get lon from snow_depth where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068300 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: unit, qc, depth, ts
Sensor: snow_depth | fields: lat, type, lon, level
Task: Retrieve value from temperature whose qc is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068301 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, lat, type, unit
Sensor: snow_depth | fields: unit, depth, ts, lat
Task: Retrieve reading from cloud_cover whose unit is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068302 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: ts, lon, level, qc
Sensor: dew_point | fields: type, lat, value, level
Task: Get lat from sunlight where unit appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068303 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: type, reading, depth, unit
Sensor: snow_depth | fields: level, lon, value, type
Task: Get lat from turbidity where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068304 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: reading, qc, level, ts
Sensor: drought_index | fields: qc, depth, lon, lat
Task: Retrieve lat from evaporation whose ts is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068305 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, lat, reading, ts
Sensor: frost | fields: lon, reading, value, qc
Task: Retrieve reading from cloud_cover whose unit is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068306 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: qc, depth, lon, unit
Sensor: soil_moisture | fields: qc, ts, level, lon
Task: Fetch depth from lightning that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068307 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, ts, depth, level
Sensor: temperature | fields: type, qc, depth, value
Task: Retrieve level from cloud_cover that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068308 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: reading, ts, depth, lon
Sensor: visibility | fields: level, depth, type, unit
Task: Fetch value from air_quality where depth is greater than the average of reading in visibility for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068309 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: level, reading, qc, ts
Sensor: soil_moisture | fields: lat, qc, unit, value
Task: Get lat from temperature where value exceeds the count of reading from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068310 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lon, unit, depth, value
Sensor: dew_point | fields: lat, value, lon, level
Task: Get level from cloud_cover where ts appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068311 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: level, unit, value, depth
Sensor: pressure | fields: reading, lon, depth, ts
Task: Get reading from temperature where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068312 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, lon, value, depth
Sensor: visibility | fields: value, depth, unit, lon
Task: Retrieve lat from cloud_cover with value above the COUNT(reading) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068313 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: reading, level, lon, depth
Sensor: frost | fields: reading, lon, qc, lat
Task: Fetch lat from wind_speed that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068314 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: ts, type, value, depth
Sensor: rainfall | fields: value, depth, type, lon
Task: Get depth from frost where depth appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068315 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: lon, type, level, unit
Sensor: frost | fields: unit, lon, depth, value
Task: Fetch depth from lightning where unit exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068316 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: value, reading, level, unit
Sensor: turbidity | fields: lon, ts, level, lat
Task: Fetch level from sunlight where value is greater than the total of depth in turbidity for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068317 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: value, lat, lon, depth
Sensor: turbidity | fields: lat, value, qc, ts
Task: Fetch lon from drought_index where reading is greater than the maximum of reading in turbidity for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068318 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: reading, level, unit, value
Sensor: humidity | fields: qc, type, value, reading
Task: Fetch lat from rainfall that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068319 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: unit, qc, ts, type
Sensor: snow_depth | fields: qc, level, depth, value
Task: Fetch lon from uv_index that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068320 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: lon, value, depth, ts
Sensor: pressure | fields: level, type, unit, lon
Task: Fetch lon from humidity where depth is greater than the minimum of depth in pressure for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068321 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: ts, unit, lat, lon
Sensor: temperature | fields: qc, ts, value, level
Task: Retrieve reading from sunlight with value above the MIN(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068322 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: reading, unit, level, type
Sensor: turbidity | fields: lat, depth, reading, level
Task: Fetch level from uv_index that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068323 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: lat, reading, lon, value
Sensor: drought_index | fields: level, qc, lat, value
Task: Get level from air_quality where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068324 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, qc, level, ts
Sensor: evaporation | fields: lat, reading, depth, ts
Task: Fetch level from snow_depth that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068325 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: level, reading, qc, depth
Sensor: evaporation | fields: level, type, reading, unit
Task: Get reading from turbidity where reading exceeds the maximum depth from evaporation for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068326 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: lon, reading, unit, depth
Sensor: dew_point | fields: ts, lon, depth, unit
Task: Fetch value from soil_moisture that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068327 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: qc, unit, reading, depth
Sensor: visibility | fields: unit, lon, reading, value
Task: Fetch level from sunlight where ts exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068328 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: type, depth, reading, ts
Sensor: lightning | fields: ts, type, level, value
Task: Get level from sunlight where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068329 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: qc, value, depth, reading
Sensor: evaporation | fields: unit, ts, level, reading
Task: Get depth from pressure where ts appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068330 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: reading, lat, ts, unit
Sensor: air_quality | fields: qc, reading, level, type
Task: Retrieve reading from visibility whose unit is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068331 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: lat, ts, unit, qc
Sensor: humidity | fields: lon, level, depth, value
Task: Get value from uv_index where depth exceeds the minimum depth from humidity for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068332 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: value, unit, ts, depth
Sensor: wind_speed | fields: unit, depth, type, qc
Task: Retrieve level from air_quality whose depth is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068333 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: lon, lat, value, ts
Sensor: visibility | fields: qc, reading, level, lat
Task: Get lon from uv_index where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068334 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: level, type, value, lat
Sensor: snow_depth | fields: level, ts, qc, type
Task: Get value from turbidity where value exceeds the average reading from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"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_068335 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: ts, qc, lon, reading
Sensor: uv_index | fields: ts, value, depth, level
Task: Retrieve level from evaporation whose qc is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068336 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: ts, lon, lat, depth
Sensor: rainfall | fields: type, lat, qc, value
Task: Retrieve lat from humidity with value above the MIN(reading) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"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_068337 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: depth, qc, value, reading
Sensor: dew_point | fields: value, unit, reading, lat
Task: Retrieve level from evaporation that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068338 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: unit, reading, depth, level
Sensor: lightning | fields: reading, value, lon, depth
Task: Retrieve value from drought_index that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068339 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: lon, unit, type, value
Sensor: dew_point | fields: unit, lon, value, reading
Task: Fetch level from cloud_cover that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068340 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: ts, value, level, lat
Sensor: lightning | fields: type, value, unit, depth
Task: Retrieve reading from drought_index whose depth is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068341 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: unit, reading, value, qc
Sensor: uv_index | fields: type, level, ts, depth
Task: Retrieve depth from frost that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068342 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: lat, reading, type, level
Sensor: snow_depth | fields: unit, qc, lat, lon
Task: Fetch level from air_quality where type exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068343 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: level, lon, type, ts
Sensor: dew_point | fields: depth, value, lat, lon
Task: Fetch lat from rainfall where ts exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068344 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: level, lon, qc, depth
Sensor: dew_point | fields: unit, value, lat, reading
Task: Retrieve reading from wind_speed whose ts is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068345 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: unit, reading, type, lat
Sensor: snow_depth | fields: qc, depth, reading, value
Task: Fetch value from pressure where reading is greater than the maximum of depth in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068346 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: lat, unit, lon, type
Sensor: frost | fields: lat, value, type, lon
Task: Fetch depth from air_quality where reading is greater than the maximum of depth in frost for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068347 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, lon, level, reading
Sensor: pressure | fields: value, reading, lat, depth
Task: Get lon from cloud_cover where qc appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068348 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: level, value, type, reading
Sensor: temperature | fields: qc, type, value, lon
Task: Fetch level from turbidity where ts exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068349 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: unit, depth, type, level
Sensor: visibility | fields: qc, depth, value, level
Task: Fetch lon from sunlight where value is greater than the minimum of value in visibility for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068350 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: lon, unit, qc, reading
Sensor: uv_index | fields: unit, type, reading, lat
Task: Get depth from frost where value exceeds the total reading from uv_index for the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068351 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: qc, depth, lon, level
Sensor: wind_speed | fields: lat, reading, type, unit
Task: Retrieve lon from uv_index with depth above the SUM(reading) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068352 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: depth, lat, level, value
Sensor: wind_speed | fields: level, lon, value, type
Task: Get lat from humidity where depth appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068353 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: lat, reading, unit, level
Sensor: lightning | fields: type, qc, lon, ts
Task: Fetch level from dew_point that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068354 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: unit, reading, lat, lon
Sensor: turbidity | fields: lon, ts, type, reading
Task: Retrieve lat from dew_point whose unit is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068355 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: level, lon, reading, depth
Sensor: visibility | fields: reading, value, qc, depth
Task: Get lat from humidity where qc appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068356 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: qc, type, level, lon
Sensor: rainfall | fields: ts, reading, unit, qc
Task: Fetch value from turbidity where value is greater than the average of depth in rainfall for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068357 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: lat, level, unit, reading
Sensor: frost | fields: level, lat, lon, unit
Task: Retrieve value from rainfall with reading above the MAX(value) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068358 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: depth, lon, level, type
Sensor: soil_moisture | fields: lon, depth, type, unit
Task: Get lon from frost where value exceeds the total depth from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068359 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: reading, value, lon, ts
Sensor: frost | fields: ts, level, unit, lon
Task: Fetch reading from turbidity where reading is greater than the minimum of value in frost for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068360 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lon, type, unit, reading
Sensor: sunlight | fields: value, level, qc, depth
Task: Get value from dew_point where value exceeds the minimum value from sunlight for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068361 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: ts, lon, qc, reading
Sensor: evaporation | fields: value, lon, qc, depth
Task: Fetch lon from dew_point where qc exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068362 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: type, reading, depth, ts
Sensor: soil_moisture | fields: depth, value, lat, level
Task: Fetch level from visibility where depth is greater than the total of value in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068363 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, depth, type, unit
Sensor: visibility | fields: reading, lat, ts, level
Task: Get lat from cloud_cover where value exceeds the count of value from visibility for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068364 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, lon, qc, level
Sensor: rainfall | fields: type, lon, lat, qc
Task: Fetch reading from soil_moisture that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068365 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: lon, qc, ts, lat
Sensor: snow_depth | fields: lat, level, unit, type
Task: Retrieve value from temperature whose qc is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068366 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: type, unit, qc, lat
Sensor: wind_speed | fields: type, unit, lon, reading
Task: Get reading from pressure where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068367 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: unit, qc, type, reading
Sensor: rainfall | fields: lon, depth, reading, level
Task: Get value from turbidity where depth exceeds the total depth from rainfall for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068368 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: depth, reading, value, lat
Sensor: visibility | fields: depth, value, ts, level
Task: Get level from rainfall where depth exceeds the count of depth from visibility for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068369 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: reading, level, unit, qc
Sensor: dew_point | fields: unit, lon, ts, value
Task: Get value from cloud_cover where qc appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068370 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: value, type, unit, lon
Sensor: wind_speed | fields: lon, level, reading, value
Task: Retrieve reading from soil_moisture that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068371 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: depth, lat, unit, type
Sensor: uv_index | fields: lon, qc, ts, value
Task: Fetch lon from sunlight where reading is greater than the average of reading in uv_index for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068372 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, type, lon, ts
Sensor: uv_index | fields: ts, depth, level, lat
Task: Fetch reading from cloud_cover where qc exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068373 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: type, level, depth, reading
Sensor: uv_index | fields: qc, unit, lon, type
Task: Get lon from drought_index where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068374 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: ts, lat, depth, type
Sensor: turbidity | fields: lon, depth, value, lat
Task: Fetch value from temperature that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068375 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: unit, ts, depth, level
Sensor: sunlight | fields: level, lon, reading, depth
Task: Get lat from lightning where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068376 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: unit, reading, lat, type
Sensor: rainfall | fields: level, ts, qc, reading
Task: Fetch lat from soil_moisture where value is greater than the minimum of value in rainfall for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068377 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: lon, lat, qc, value
Sensor: lightning | fields: reading, type, lat, ts
Task: Fetch depth from visibility where depth exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068378 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: type, value, lon, level
Sensor: temperature | fields: reading, type, value, level
Task: Fetch reading from air_quality where type exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068379 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: value, depth, reading, level
Sensor: soil_moisture | fields: lat, reading, lon, depth
Task: Retrieve depth from sunlight with value above the MIN(depth) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068380 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, qc, reading, depth
Sensor: humidity | fields: reading, ts, unit, level
Task: Get lat from snow_depth where unit appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068381 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: level, value, qc, type
Sensor: rainfall | fields: lat, unit, value, ts
Task: Fetch depth from turbidity where depth exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068382 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: lon, reading, unit, depth
Sensor: humidity | fields: ts, lat, lon, type
Task: Get level from pressure where type appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068383 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: unit, depth, qc, value
Sensor: evaporation | fields: level, lon, unit, type
Task: Fetch lat from sunlight where type exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068384 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: type, value, level, depth
Sensor: frost | fields: lat, qc, unit, type
Task: Fetch lon from turbidity where reading is greater than the minimum of reading in frost for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068385 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: qc, type, ts, value
Sensor: visibility | fields: unit, level, lat, depth
Task: Retrieve depth from lightning that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068386 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, ts, qc, depth
Sensor: drought_index | fields: value, depth, type, ts
Task: Fetch value from wind_speed where value is greater than the average of value in drought_index for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068387 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: lon, level, depth, type
Sensor: sunlight | fields: ts, value, unit, lon
Task: Retrieve depth from lightning that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068388 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, reading, unit, value
Sensor: drought_index | fields: lat, ts, qc, level
Task: Get depth from soil_moisture where unit appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068389 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: ts, depth, level, type
Sensor: wind_speed | fields: lat, reading, level, lon
Task: Fetch level from lightning where value is greater than the count of of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068390 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: ts, lon, depth, level
Sensor: air_quality | fields: depth, qc, unit, lon
Task: Get lat from drought_index where unit appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068391 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: depth, lat, type, qc
Sensor: humidity | fields: depth, qc, value, ts
Task: Retrieve lon from sunlight that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068392 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: reading, qc, lon, type
Sensor: temperature | fields: reading, ts, value, level
Task: Get reading from pressure where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068393 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: reading, lon, type, value
Sensor: soil_moisture | fields: unit, reading, lon, level
Task: Get value from visibility where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068394 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: lat, lon, depth, type
Sensor: rainfall | fields: value, reading, unit, level
Task: Retrieve level from dew_point with depth above the MAX(reading) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068395 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, lat, level, qc
Sensor: uv_index | fields: unit, depth, reading, level
Task: Get value from cloud_cover where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068396 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, qc, depth, ts
Sensor: drought_index | fields: reading, qc, ts, level
Task: Retrieve lat from cloud_cover whose ts is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068397 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: lon, ts, type, value
Sensor: pressure | fields: qc, value, lon, reading
Task: Retrieve value from evaporation whose ts is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068398 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: reading, unit, ts, lat
Sensor: rainfall | fields: lat, qc, level, reading
Task: Get reading from temperature where reading exceeds the count of reading from rainfall for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.