variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: turbidity | code: hub | fields: reading, level, lat, qc
Sensor: evaporation | fields: lon, ts, lat, reading
Task: Fetch level from turbidity where value is greater than the count of of reading in evaporation for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009300 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: lat, reading, unit, ts
Sensor: pressure | fields: lat, value, reading, type
Task: Get reading from air_quality where value exceeds the maximum depth from pressure for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009301 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: level, depth, value, unit
Sensor: dew_point | fields: type, level, lon, qc
Task: Get reading from frost where unit appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009302 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: level, reading, type, qc
Sensor: dew_point | fields: unit, qc, ts, type
Task: Retrieve lat from lightning with reading above the COUNT(reading) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009303 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: level, lon, depth, unit
Sensor: evaporation | fields: lat, depth, unit, ts
Task: Get lat from temperature where value exceeds the total depth from evaporation for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009304 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: value, type, level, lat
Sensor: air_quality | fields: type, lon, level, reading
Task: Fetch lat from uv_index where ts exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009305 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: type, unit, value, lat
Sensor: dew_point | fields: ts, value, qc, lat
Task: Fetch reading from temperature that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009306 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: unit, reading, ts, value
Sensor: dew_point | fields: qc, lon, ts, type
Task: Retrieve reading from drought_index that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009307 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: lon, type, unit, ts
Sensor: wind_speed | fields: lat, type, lon, reading
Task: Retrieve depth from drought_index that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009308 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: ts, qc, value, unit
Sensor: evaporation | fields: lat, level, depth, lon
Task: Retrieve level from visibility that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009309 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: ts, reading, depth, value
Sensor: turbidity | fields: qc, ts, lat, lon
Task: Retrieve reading from air_quality that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009310 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: depth, reading, value, lon
Sensor: pressure | fields: depth, value, reading, lat
Task: Fetch lon from humidity where value is greater than the total of reading in pressure for matching type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009311 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, ts, value, lon
Sensor: frost | fields: depth, ts, type, qc
Task: Retrieve level from cloud_cover with reading above the MAX(depth) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009312 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: type, lat, unit, lon
Sensor: cloud_cover | fields: qc, depth, lat, level
Task: Get reading from soil_moisture where ts appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009313 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, lat, level, lon
Sensor: snow_depth | fields: value, qc, lon, unit
Task: Fetch value from cloud_cover where value is greater than the average of reading in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009314 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: type, reading, depth, lat
Sensor: soil_moisture | fields: unit, qc, level, ts
Task: Get lat from frost where value exceeds the count of reading from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009315 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, unit, ts, value
Sensor: rainfall | fields: level, reading, qc, ts
Task: Fetch reading from cloud_cover where depth is greater than the total of value in rainfall for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009316 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: unit, reading, level, ts
Sensor: humidity | fields: depth, ts, lat, value
Task: Get value from dew_point where type appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009317 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: unit, value, qc, ts
Sensor: frost | fields: ts, depth, unit, value
Task: Fetch lon from pressure where depth exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009318 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: unit, ts, value, lat
Sensor: temperature | fields: unit, lon, reading, type
Task: Fetch level from dew_point that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009319 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: type, lat, ts, depth
Sensor: air_quality | fields: depth, reading, unit, qc
Task: Get depth from wind_speed where reading exceeds the count of depth from air_quality for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009320 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: level, lon, value, unit
Sensor: evaporation | fields: reading, level, unit, lon
Task: Get level from snow_depth where value exceeds the maximum value from evaporation for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
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",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009321 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: lat, qc, value, depth
Sensor: evaporation | fields: lat, ts, lon, level
Task: Fetch value from cloud_cover where ts exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009322 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: unit, lon, level, qc
Sensor: air_quality | fields: reading, unit, lat, depth
Task: Fetch level from visibility that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009323 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: lat, value, reading, qc
Sensor: temperature | fields: unit, reading, qc, lon
Task: Fetch level from lightning where depth exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009324 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: level, reading, type, lon
Sensor: frost | fields: ts, lat, reading, unit
Task: Retrieve reading from wind_speed with depth above the MIN(value) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009325 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: level, unit, qc, depth
Sensor: evaporation | fields: type, level, qc, depth
Task: Get level from snow_depth where type appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009326 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: qc, level, unit, type
Sensor: cloud_cover | fields: lon, type, level, reading
Task: Retrieve value from air_quality with value above the SUM(reading) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009327 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: ts, unit, lat, level
Sensor: visibility | fields: lat, type, depth, lon
Task: Retrieve level from temperature whose type is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009328 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: level, ts, type, reading
Sensor: air_quality | fields: reading, unit, qc, lat
Task: Fetch depth from visibility where qc exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009329 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: type, level, value, lon
Sensor: lightning | fields: type, level, ts, qc
Task: Retrieve lon from evaporation whose unit is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009330 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: lat, ts, qc, level
Sensor: dew_point | fields: reading, qc, type, lat
Task: Fetch reading from uv_index that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009331 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: level, ts, lat, unit
Sensor: wind_speed | fields: ts, depth, reading, level
Task: Fetch level from pressure where depth is greater than the count of of reading in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009332 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: ts, lon, qc, depth
Sensor: wind_speed | fields: value, unit, level, qc
Task: Get lat from uv_index where reading exceeds the count of value from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009333 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: level, unit, value, qc
Sensor: cloud_cover | fields: type, ts, unit, lon
Task: Get lat from drought_index where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009334 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: level, type, reading, value
Sensor: turbidity | fields: lon, value, depth, level
Task: Fetch depth from wind_speed where depth exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009335 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: type, level, reading, unit
Sensor: visibility | fields: depth, type, level, lon
Task: Retrieve reading from lightning that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009336 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: level, type, ts, lon
Sensor: drought_index | fields: depth, type, lon, level
Task: Get level from frost where unit appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009337 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: unit, level, lat, type
Sensor: cloud_cover | fields: lat, qc, ts, unit
Task: Retrieve lon from wind_speed with depth above the MIN(depth) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009338 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, unit, value, level
Sensor: soil_moisture | fields: lat, level, type, value
Task: Retrieve value from snow_depth whose depth is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009339 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: level, lat, lon, ts
Sensor: humidity | fields: reading, lon, lat, depth
Task: Get lat from rainfall where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009340 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: qc, depth, ts, lon
Sensor: cloud_cover | fields: depth, value, qc, level
Task: Retrieve reading from humidity with depth above the SUM(reading) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009341 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: lon, qc, reading, unit
Sensor: evaporation | fields: level, depth, unit, ts
Task: Fetch lon from visibility where reading is greater than the count of of reading in evaporation for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009342 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: unit, type, level, reading
Sensor: pressure | fields: qc, lon, lat, ts
Task: Retrieve reading from drought_index with reading above the SUM(reading) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009343 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: lat, unit, lon, qc
Sensor: soil_moisture | fields: lat, lon, ts, type
Task: Fetch value from temperature where ts exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009344 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: lat, lon, type, ts
Sensor: snow_depth | fields: level, lon, type, ts
Task: Fetch lon from humidity where depth is greater than the count of of depth in snow_depth for matching type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009345 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: depth, type, qc, lon
Sensor: drought_index | fields: depth, ts, unit, reading
Task: Fetch lat from dew_point where depth exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009346 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: level, reading, unit, lon
Sensor: humidity | fields: ts, type, level, lat
Task: Get value from wind_speed where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009347 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: lat, ts, type, depth
Sensor: snow_depth | fields: depth, unit, value, level
Task: Retrieve value from rainfall with reading above the MIN(depth) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009348 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: reading, level, value, type
Sensor: evaporation | fields: value, reading, ts, unit
Task: Retrieve reading from visibility whose type is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009349 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: depth, value, lon, ts
Sensor: drought_index | fields: reading, lon, type, lat
Task: Get depth from soil_moisture where qc appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009350 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: lat, unit, value, type
Sensor: pressure | fields: unit, lat, depth, type
Task: Get reading from evaporation where unit appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009351 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: reading, lon, level, value
Sensor: dew_point | fields: qc, type, reading, ts
Task: Retrieve value from frost with reading above the SUM(value) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009352 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: unit, lon, ts, type
Sensor: soil_moisture | fields: level, qc, reading, type
Task: Fetch lon from lightning that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009353 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, depth, unit, ts
Sensor: humidity | fields: reading, level, type, qc
Task: Retrieve lat from soil_moisture with depth above the MAX(depth) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009354 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: depth, lon, unit, reading
Sensor: lightning | fields: reading, depth, unit, value
Task: Get lat from dew_point where depth exceeds the average reading from lightning for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009355 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: depth, value, lon, reading
Sensor: turbidity | fields: level, lat, unit, lon
Task: Get reading from frost where depth appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009356 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: reading, ts, depth, lat
Sensor: uv_index | fields: level, ts, depth, lat
Task: Get level from snow_depth where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009357 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: lat, unit, lon, level
Sensor: turbidity | fields: ts, reading, level, lat
Task: Retrieve reading from sunlight whose ts is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009358 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: level, lon, reading, type
Sensor: air_quality | fields: ts, reading, type, value
Task: Retrieve lat from frost with depth above the SUM(reading) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009359 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: ts, value, unit, type
Sensor: air_quality | fields: type, unit, reading, qc
Task: Retrieve depth from frost with depth above the SUM(reading) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009360 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: value, lon, unit, ts
Sensor: soil_moisture | fields: ts, depth, qc, lon
Task: Retrieve depth from rainfall that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009361 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: reading, ts, value, type
Sensor: uv_index | fields: lat, reading, qc, lon
Task: Retrieve value from humidity that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009362 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: qc, unit, value, depth
Sensor: sunlight | fields: unit, lon, value, type
Task: Fetch depth from pressure where reading is greater than the count of of depth in sunlight for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009363 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, type, unit, lon
Sensor: evaporation | fields: level, depth, ts, qc
Task: Get lon from wind_speed where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009364 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: reading, depth, type, level
Sensor: snow_depth | fields: value, lat, depth, qc
Task: Get lat from frost where type appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009365 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: reading, value, qc, unit
Sensor: soil_moisture | fields: lat, value, ts, type
Task: Fetch lat from uv_index where unit exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009366 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: reading, level, lat, unit
Sensor: pressure | fields: qc, value, reading, lon
Task: Get value from lightning where unit appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009367 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: qc, value, type, level
Sensor: frost | fields: qc, lon, ts, lat
Task: Get lon from rainfall where qc appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009368 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: qc, lat, level, reading
Sensor: rainfall | fields: qc, level, value, reading
Task: Fetch lat from turbidity where depth is greater than the total of reading in rainfall for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009369 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: ts, value, lon, level
Sensor: wind_speed | fields: type, lat, reading, value
Task: Fetch value from evaporation that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009370 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: lat, lon, type, depth
Sensor: rainfall | fields: lat, depth, ts, qc
Task: Fetch depth from air_quality that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009371 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, qc, reading, unit
Sensor: visibility | fields: unit, lat, qc, ts
Task: Get lat from snow_depth where ts appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009372 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: reading, type, ts, lat
Sensor: snow_depth | fields: type, reading, depth, lat
Task: Fetch depth from lightning where qc exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009373 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: ts, reading, lon, type
Sensor: dew_point | fields: lat, lon, value, qc
Task: Retrieve lon from pressure with value above the SUM(reading) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009374 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lon, level, lat, unit
Sensor: air_quality | fields: qc, value, ts, unit
Task: Get level from pressure where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009375 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: ts, value, lat, unit
Sensor: turbidity | fields: value, depth, level, reading
Task: Fetch lat from cloud_cover that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009376 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: ts, lat, reading, qc
Sensor: dew_point | fields: lat, qc, depth, type
Task: Get depth from humidity where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009377 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: qc, value, unit, lon
Sensor: humidity | fields: reading, depth, qc, level
Task: Get reading from air_quality where depth appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009378 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: ts, value, lat, level
Sensor: lightning | fields: depth, type, unit, ts
Task: Retrieve lat from air_quality whose unit is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009379 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: qc, reading, value, type
Sensor: turbidity | fields: unit, reading, value, ts
Task: Get lat from air_quality where type appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009380 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: lat, lon, qc, level
Sensor: visibility | fields: reading, value, level, qc
Task: Retrieve depth from rainfall that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009381 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: value, lon, ts, reading
Sensor: lightning | fields: lat, value, lon, type
Task: Get lon from uv_index where depth appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009382 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: ts, depth, type, level
Sensor: rainfall | fields: depth, unit, value, ts
Task: Get value from sunlight where reading exceeds the total reading from rainfall for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009383 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: lat, unit, reading, type
Sensor: sunlight | fields: lon, level, depth, reading
Task: Get level from humidity where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009384 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, level, value, type
Sensor: turbidity | fields: level, depth, qc, lon
Task: Retrieve lat from snow_depth that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009385 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: depth, level, qc, lon
Sensor: snow_depth | fields: reading, type, value, level
Task: Get depth from drought_index where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009386 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: type, qc, reading, level
Sensor: wind_speed | fields: ts, qc, unit, type
Task: Retrieve lat from humidity that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009387 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: unit, ts, depth, lon
Sensor: air_quality | fields: ts, lat, depth, lon
Task: Retrieve level from dew_point with depth above the MAX(depth) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009388 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: qc, type, level, ts
Sensor: temperature | fields: ts, type, value, lon
Task: Get value from rainfall where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009389 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: type, depth, lon, level
Sensor: drought_index | fields: qc, ts, lon, value
Task: Fetch value from pressure that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009390 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: value, unit, type, level
Sensor: pressure | fields: ts, depth, type, lon
Task: Retrieve depth from wind_speed with reading above the MIN(value) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009391 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, level, value, reading
Sensor: uv_index | fields: type, lat, qc, lon
Task: Retrieve reading from snow_depth that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009392 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: lat, qc, ts, type
Sensor: wind_speed | fields: reading, lon, value, ts
Task: Retrieve reading from lightning whose depth is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009393 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: type, level, lon, lat
Sensor: turbidity | fields: level, qc, value, unit
Task: Get lon from air_quality where depth exceeds the maximum reading from turbidity for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009394 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: depth, lat, value, ts
Sensor: rainfall | fields: unit, lat, type, ts
Task: Get value from visibility where reading exceeds the average value from rainfall for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009395 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: value, reading, depth, type
Sensor: uv_index | fields: value, level, lat, reading
Task: Get lon from humidity where reading exceeds the total reading from uv_index for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009396 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: ts, lon, reading, unit
Sensor: evaporation | fields: depth, reading, type, ts
Task: Retrieve depth from rainfall whose type is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009397 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: qc, unit, lon, reading
Sensor: pressure | fields: level, unit, ts, qc
Task: Fetch reading from uv_index where qc exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009398 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: unit, reading, value, lat
Sensor: humidity | fields: level, lon, qc, depth
Task: Retrieve reading from pressure that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.