variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: type, qc, lat, depth
Sensor: turbidity | fields: level, reading, qc, lon
Task: Get reading from wind_speed where qc appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034400 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: level, depth, reading, unit
Sensor: humidity | fields: level, depth, qc, reading
Task: Retrieve lat from dew_point that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034401 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: unit, ts, value, lat
Sensor: pressure | fields: depth, qc, lat, lon
Task: Get value from turbidity where depth exceeds the count of depth from pressure for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034402 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: value, reading, level, unit
Sensor: pressure | fields: qc, ts, lat, lon
Task: Retrieve lon from rainfall whose depth is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034403 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, ts, type, unit
Sensor: visibility | fields: ts, type, value, reading
Task: Get value from soil_moisture where reading exceeds the total value from visibility for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034404 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: qc, value, lon, lat
Sensor: humidity | fields: type, unit, depth, value
Task: Retrieve reading from dew_point that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034405 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: lat, depth, unit, level
Sensor: wind_speed | fields: level, depth, lon, value
Task: Retrieve depth from air_quality whose depth is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034406 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: qc, value, unit, type
Sensor: air_quality | fields: unit, depth, value, qc
Task: Get value from evaporation where reading exceeds the average reading from air_quality for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034407 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: reading, level, depth, lon
Sensor: temperature | fields: level, ts, lat, value
Task: Get depth from evaporation where reading exceeds the total reading from temperature for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034408 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, qc, ts, value
Sensor: uv_index | fields: unit, type, reading, lat
Task: Retrieve depth from soil_moisture whose qc is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034409 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: type, lon, lat, value
Sensor: pressure | fields: level, reading, value, depth
Task: Get level from rainfall where depth exceeds the average depth from pressure for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034410 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: lon, depth, value, ts
Sensor: air_quality | fields: reading, level, ts, depth
Task: Get lat from humidity where qc appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034411 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: lon, lat, qc, ts
Sensor: drought_index | fields: qc, lat, type, depth
Task: Fetch value from soil_moisture where reading is greater than the total of depth in drought_index for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034412 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: lon, lat, level, value
Sensor: temperature | fields: ts, qc, lat, lon
Task: Fetch level from dew_point where ts exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034413 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: ts, qc, unit, value
Sensor: air_quality | fields: level, depth, qc, type
Task: Get value from temperature where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034414 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: unit, qc, lon, lat
Sensor: rainfall | fields: unit, depth, value, reading
Task: Retrieve reading from sunlight that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034415 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: reading, unit, qc, ts
Sensor: uv_index | fields: depth, reading, unit, value
Task: Fetch level from drought_index where type exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034416 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: lat, unit, qc, ts
Sensor: cloud_cover | fields: level, depth, type, value
Task: Retrieve depth from soil_moisture whose depth is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034417 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: level, lon, lat, reading
Sensor: pressure | fields: qc, lon, value, type
Task: Get reading from temperature where depth exceeds the count of reading from pressure for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034418 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: lon, qc, type, reading
Sensor: evaporation | fields: ts, level, type, depth
Task: Retrieve level from visibility with reading above the COUNT(value) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034419 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: type, unit, lat, qc
Sensor: drought_index | fields: level, depth, unit, ts
Task: Get level from air_quality where depth exceeds the minimum depth from drought_index for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034420 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: level, lon, lat, depth
Sensor: rainfall | fields: value, level, ts, type
Task: Get lon from temperature where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034421 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: unit, depth, qc, type
Sensor: wind_speed | fields: value, ts, reading, lat
Task: Fetch depth from lightning where ts exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034422 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: type, lat, value, qc
Sensor: temperature | fields: value, ts, depth, level
Task: Retrieve lat from sunlight with value above the MAX(depth) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034423 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: level, lon, unit, value
Sensor: wind_speed | fields: lat, reading, ts, level
Task: Retrieve level from drought_index that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034424 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: type, unit, reading, level
Sensor: frost | fields: type, qc, level, ts
Task: Retrieve value from drought_index whose qc is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034425 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: lon, value, reading, depth
Sensor: visibility | fields: qc, type, lon, reading
Task: Get lon from cloud_cover where reading exceeds the minimum depth from visibility for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034426 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: lon, type, depth, ts
Sensor: uv_index | fields: value, qc, lat, reading
Task: Get value from pressure where ts appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034427 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: lat, unit, lon, ts
Sensor: frost | fields: ts, type, reading, qc
Task: Get value from lightning where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034428 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: lon, qc, value, unit
Sensor: turbidity | fields: value, qc, reading, unit
Task: Retrieve reading from air_quality whose qc is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034429 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, reading, ts, qc
Sensor: dew_point | fields: lon, value, reading, depth
Task: Fetch reading from soil_moisture that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"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_034430 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: ts, lat, depth, lon
Sensor: visibility | fields: type, depth, value, level
Task: Get lon from soil_moisture where type appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034431 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: reading, ts, depth, qc
Sensor: uv_index | fields: depth, reading, unit, value
Task: Retrieve lon from rainfall that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034432 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: value, lon, unit, reading
Sensor: air_quality | fields: type, unit, lat, value
Task: Fetch level from sunlight where reading is greater than the average of reading in air_quality for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034433 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: unit, level, lon, depth
Sensor: snow_depth | fields: ts, qc, level, value
Task: Retrieve value from lightning with value above the SUM(value) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034434 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: qc, depth, unit, ts
Sensor: pressure | fields: unit, level, type, value
Task: Retrieve depth from rainfall whose qc is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034435 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: ts, depth, reading, qc
Sensor: sunlight | fields: value, reading, lat, ts
Task: Fetch value from visibility where depth exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034436 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: lon, lat, ts, qc
Sensor: frost | fields: type, reading, unit, depth
Task: Get lat from air_quality where qc appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034437 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: ts, qc, unit, reading
Sensor: visibility | fields: type, reading, lon, level
Task: Fetch value from sunlight where type exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034438 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: type, ts, unit, qc
Sensor: snow_depth | fields: level, depth, type, lat
Task: Fetch lat from air_quality where value is greater than the count of of depth in snow_depth for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034439 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: lon, value, type, lat
Sensor: wind_speed | fields: lat, reading, level, value
Task: Retrieve lat from dew_point whose unit is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034440 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: depth, qc, reading, type
Sensor: air_quality | fields: ts, lat, value, qc
Task: Fetch level from humidity where qc exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034441 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: qc, unit, lat, lon
Sensor: frost | fields: lat, reading, qc, value
Task: Retrieve lon from sunlight with value above the COUNT(depth) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034442 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lon, ts, unit, type
Sensor: snow_depth | fields: qc, lon, level, lat
Task: Retrieve value from pressure with value above the MIN(value) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034443 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: unit, depth, lon, lat
Sensor: air_quality | fields: reading, unit, lat, depth
Task: Get value from temperature where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034444 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: ts, level, depth, lon
Sensor: turbidity | fields: unit, value, ts, type
Task: Retrieve lon from lightning with depth above the MAX(value) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034445 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: type, value, unit, lon
Sensor: evaporation | fields: qc, lon, value, ts
Task: Fetch lon from sunlight where unit exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034446 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: qc, unit, lat, reading
Sensor: soil_moisture | fields: level, lon, ts, depth
Task: Fetch lat from visibility that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034447 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: reading, type, lat, value
Sensor: drought_index | fields: lon, depth, unit, qc
Task: Fetch reading from pressure where value is greater than the average of depth in drought_index for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034448 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: level, unit, reading, depth
Sensor: temperature | fields: ts, qc, reading, lat
Task: Fetch value from wind_speed where unit exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034449 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: lat, level, reading, depth
Sensor: temperature | fields: unit, ts, lat, level
Task: Fetch lat from pressure that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034450 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: lat, value, ts, level
Sensor: humidity | fields: depth, value, qc, lon
Task: Fetch level from evaporation where type exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034451 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, depth, lon, reading
Sensor: dew_point | fields: qc, reading, lon, value
Task: Retrieve lon from soil_moisture whose depth is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034452 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: qc, type, level, unit
Sensor: uv_index | fields: level, depth, ts, lat
Task: Retrieve level from sunlight whose type is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034453 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: depth, ts, level, lat
Sensor: rainfall | fields: level, lat, ts, lon
Task: Retrieve level from pressure with value above the COUNT(depth) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034454 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: lat, qc, type, level
Sensor: visibility | fields: ts, unit, lat, reading
Task: Fetch reading from cloud_cover where reading is greater than the total of reading in visibility for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034455 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, ts, unit, depth
Sensor: drought_index | fields: depth, unit, reading, type
Task: Retrieve lat from soil_moisture whose qc is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034456 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: level, unit, lon, depth
Sensor: cloud_cover | fields: lon, qc, unit, reading
Task: Fetch value from snow_depth where value is greater than the count of of depth in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034457 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: ts, type, unit, reading
Sensor: sunlight | fields: lon, level, depth, ts
Task: Get level from frost where depth exceeds the count of depth from sunlight for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034458 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: level, reading, ts, value
Sensor: pressure | fields: level, reading, ts, lat
Task: Retrieve level from frost with reading above the COUNT(reading) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034459 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: depth, lon, level, lat
Sensor: drought_index | fields: level, value, lat, lon
Task: Retrieve depth from visibility whose qc is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034460 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: reading, level, qc, value
Sensor: visibility | fields: ts, level, unit, lon
Task: Fetch lat from uv_index that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034461 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: qc, value, type, lon
Sensor: frost | fields: ts, depth, lon, qc
Task: Fetch value from soil_moisture where qc exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034462 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: qc, ts, unit, depth
Sensor: turbidity | fields: depth, qc, type, ts
Task: Get reading from drought_index where depth appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034463 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: unit, type, reading, lon
Sensor: humidity | fields: reading, ts, qc, depth
Task: Fetch depth from temperature that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034464 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, level, lat, lon
Sensor: snow_depth | fields: depth, value, unit, type
Task: Fetch value from soil_moisture that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034465 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: level, type, qc, lon
Sensor: soil_moisture | fields: ts, unit, value, reading
Task: Fetch value from snow_depth where depth exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034466 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: value, lon, depth, unit
Sensor: visibility | fields: level, depth, value, qc
Task: Retrieve lat from evaporation with value above the MAX(value) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034467 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: lat, lon, qc, ts
Sensor: frost | fields: ts, lon, unit, depth
Task: Get lat from soil_moisture where value exceeds the minimum reading from frost for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034468 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: lon, ts, level, depth
Sensor: soil_moisture | fields: type, lat, ts, value
Task: Retrieve lon from snow_depth that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034469 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: type, reading, level, lat
Sensor: temperature | fields: qc, unit, ts, reading
Task: Retrieve lon from visibility with value above the COUNT(value) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034470 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: lat, qc, unit, reading
Sensor: turbidity | fields: unit, reading, type, ts
Task: Get value from drought_index where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034471 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: type, unit, reading, depth
Sensor: pressure | fields: value, reading, unit, qc
Task: Retrieve lat from turbidity that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034472 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: unit, level, type, value
Sensor: cloud_cover | fields: ts, depth, value, type
Task: Retrieve level from drought_index whose ts is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034473 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: qc, value, ts, level
Sensor: uv_index | fields: depth, unit, qc, type
Task: Fetch lon from turbidity where type exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034474 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: qc, type, value, lat
Sensor: lightning | fields: lat, qc, lon, depth
Task: Retrieve lat from dew_point with value above the MAX(reading) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034475 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, ts, value, level
Sensor: humidity | fields: unit, ts, value, reading
Task: Fetch lat from cloud_cover that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034476 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: depth, value, reading, lon
Sensor: uv_index | fields: ts, reading, qc, lon
Task: Get reading from wind_speed where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034477 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: ts, unit, depth, qc
Sensor: wind_speed | fields: lon, level, reading, ts
Task: Fetch depth from sunlight where ts exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034478 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: ts, lon, lat, level
Sensor: visibility | fields: value, unit, reading, lat
Task: Retrieve level from rainfall whose type is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034479 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: ts, depth, value, qc
Sensor: dew_point | fields: depth, lon, qc, level
Task: Fetch reading from lightning where value is greater than the maximum of reading in dew_point for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034480 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: type, depth, qc, reading
Sensor: pressure | fields: type, lat, level, ts
Task: Retrieve value from dew_point with value above the MAX(value) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034481 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: reading, level, depth, lon
Sensor: soil_moisture | fields: value, unit, lon, depth
Task: Get depth from drought_index where value exceeds the count of reading from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034482 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: depth, reading, level, ts
Sensor: rainfall | fields: lat, depth, qc, ts
Task: Fetch lat from evaporation where unit exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034483 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: lon, ts, value, unit
Sensor: visibility | fields: level, type, reading, depth
Task: Get depth from air_quality where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034484 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: lat, ts, depth, unit
Sensor: uv_index | fields: depth, lon, reading, qc
Task: Fetch reading from temperature where depth is greater than the average of reading in uv_index for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034485 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: reading, value, qc, lon
Sensor: snow_depth | fields: reading, value, level, depth
Task: Retrieve value from frost whose unit is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034486 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: qc, unit, value, reading
Sensor: temperature | fields: lat, depth, type, unit
Task: Get lon from rainfall where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034487 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: value, lat, depth, reading
Sensor: snow_depth | fields: lon, unit, ts, qc
Task: Fetch reading from turbidity that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034488 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: lat, value, level, depth
Sensor: rainfall | fields: unit, level, qc, lat
Task: Retrieve lon from lightning that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034489 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: value, ts, type, qc
Sensor: air_quality | fields: qc, unit, lon, level
Task: Fetch reading from cloud_cover that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034490 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: type, reading, level, unit
Sensor: dew_point | fields: lon, reading, unit, type
Task: Fetch lon from sunlight where type exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034491 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, unit, level, value
Sensor: wind_speed | fields: reading, ts, unit, qc
Task: Fetch lat from snow_depth where value is greater than the count of of reading in wind_speed for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034492 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lon, type, ts, value
Sensor: sunlight | fields: qc, ts, level, depth
Task: Retrieve depth from pressure that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034493 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: ts, reading, lon, value
Sensor: pressure | fields: qc, level, type, lat
Task: Retrieve value from humidity with value above the MIN(reading) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034494 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: level, lon, ts, value
Sensor: air_quality | fields: value, reading, lon, type
Task: Retrieve reading from drought_index whose ts is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034495 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: lat, unit, ts, lon
Sensor: drought_index | fields: depth, lon, unit, type
Task: Retrieve depth from frost with depth above the MIN(value) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034496 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: reading, depth, unit, lat
Sensor: dew_point | fields: qc, ts, value, lon
Task: Get lon from drought_index where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034497 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: ts, reading, type, lon
Sensor: wind_speed | fields: qc, depth, value, type
Task: Get lat from pressure where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034498 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: unit, lat, lon, depth
Sensor: uv_index | fields: type, unit, ts, reading
Task: Get value from pressure where unit appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.