variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: humidity | code: thr | fields: ts, lon, reading, value
Sensor: visibility | fields: depth, ts, reading, lat
Task: Fetch level from humidity that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036600 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: level, qc, value, reading
Sensor: lightning | fields: type, ts, depth, lon
Task: Fetch lat from visibility where depth exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036601 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: depth, value, unit, qc
Sensor: dew_point | fields: depth, lat, value, level
Task: Get lat from sunlight where reading exceeds the average depth from dew_point for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036602 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: lon, level, reading, qc
Sensor: snow_depth | fields: lat, type, depth, level
Task: Fetch lon from frost where qc exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036603 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: unit, level, value, lat
Sensor: evaporation | fields: lat, lon, ts, type
Task: Retrieve reading from rainfall whose qc is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036604 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, unit, ts, lat
Sensor: pressure | fields: reading, lon, value, level
Task: Get value from cloud_cover where depth appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036605 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lon, unit, value, level
Sensor: evaporation | fields: reading, type, depth, lon
Task: Fetch depth from sunlight that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036606 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: lon, qc, value, reading
Sensor: drought_index | fields: reading, qc, level, type
Task: Fetch depth from pressure that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036607 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: depth, unit, type, value
Sensor: drought_index | fields: ts, reading, depth, level
Task: Fetch depth from pressure where ts exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036608 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: qc, type, level, unit
Sensor: turbidity | fields: reading, lat, ts, unit
Task: Retrieve value from drought_index that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036609 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: ts, depth, qc, reading
Sensor: visibility | fields: type, value, level, unit
Task: Retrieve depth from air_quality whose type is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036610 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: qc, lat, unit, depth
Sensor: pressure | fields: lon, lat, depth, reading
Task: Fetch lon from sunlight that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036611 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: unit, lat, qc, value
Sensor: visibility | fields: unit, qc, depth, reading
Task: Fetch lat from humidity that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036612 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: lon, reading, level, value
Sensor: evaporation | fields: value, lat, qc, lon
Task: Retrieve value from turbidity whose type is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036613 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: depth, level, ts, type
Sensor: lightning | fields: lon, lat, qc, ts
Task: Get lon from temperature where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036614 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: ts, level, depth, value
Sensor: soil_moisture | fields: value, lat, lon, level
Task: Get value from humidity where value exceeds the maximum reading from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036615 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, value, level, reading
Sensor: lightning | fields: type, lat, level, ts
Task: Retrieve level from wind_speed that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036616 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: lat, lon, level, value
Sensor: dew_point | fields: ts, lon, lat, type
Task: Retrieve reading from pressure with depth above the AVG(depth) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036617 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: lon, type, depth, level
Sensor: wind_speed | fields: qc, level, value, unit
Task: Retrieve lat from humidity that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036618 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: ts, qc, unit, type
Sensor: air_quality | fields: value, depth, lat, level
Task: Get lat from visibility where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036619 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: unit, lat, level, qc
Sensor: dew_point | fields: value, level, lon, reading
Task: Retrieve lat from drought_index with depth above the AVG(depth) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036620 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: ts, type, unit, lat
Sensor: snow_depth | fields: lat, depth, level, lon
Task: Get value from sunlight where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036621 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: value, lat, level, type
Sensor: air_quality | fields: depth, lon, reading, level
Task: Retrieve level from turbidity with reading above the MAX(reading) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036622 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: lon, qc, value, level
Sensor: pressure | fields: level, qc, value, lat
Task: Retrieve value from visibility with reading above the AVG(value) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036623 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: type, value, ts, level
Sensor: turbidity | fields: ts, depth, level, qc
Task: Get lat from uv_index where value exceeds the total reading from turbidity for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036624 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: depth, qc, ts, type
Sensor: wind_speed | fields: ts, value, reading, type
Task: Fetch value from sunlight that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036625 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lon, unit, depth, value
Sensor: rainfall | fields: value, level, lon, ts
Task: Fetch value from turbidity that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036626 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, depth, ts, lon
Sensor: temperature | fields: depth, lon, qc, unit
Task: Fetch level from cloud_cover that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036627 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: depth, lon, reading, ts
Sensor: rainfall | fields: value, level, reading, ts
Task: Fetch lon from lightning where depth is greater than the total of value in rainfall for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036628 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: depth, value, level, type
Sensor: wind_speed | fields: lon, unit, reading, level
Task: Fetch lat from frost that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036629 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, depth, lat, ts
Sensor: pressure | fields: type, unit, level, depth
Task: Retrieve value from wind_speed with reading above the COUNT(value) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036630 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: qc, ts, reading, value
Sensor: snow_depth | fields: type, unit, ts, level
Task: Fetch value from uv_index that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036631 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, level, depth, type
Sensor: visibility | fields: reading, type, value, ts
Task: Get depth from snow_depth where value exceeds the total depth from visibility for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036632 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: qc, lon, depth, reading
Sensor: temperature | fields: lon, value, ts, level
Task: Fetch lon from frost where value is greater than the count of of reading in temperature for matching type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036633 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: lat, ts, unit, depth
Sensor: rainfall | fields: reading, level, ts, depth
Task: Get depth from drought_index where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036634 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: reading, unit, depth, lon
Sensor: temperature | fields: type, ts, depth, value
Task: Get level from dew_point where qc appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036635 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: unit, lon, level, reading
Sensor: snow_depth | fields: lon, lat, ts, value
Task: Get reading from uv_index where reading exceeds the total depth from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036636 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: qc, level, lat, ts
Sensor: sunlight | fields: value, level, ts, lon
Task: Get lat from wind_speed where ts appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036637 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: type, ts, reading, unit
Sensor: temperature | fields: reading, depth, qc, lat
Task: Get lon from air_quality where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036638 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, reading, lon, value
Sensor: wind_speed | fields: lat, level, reading, unit
Task: Get lat from soil_moisture where depth exceeds the count of reading from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036639 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: level, lon, depth, lat
Sensor: drought_index | fields: lon, reading, unit, level
Task: Fetch level from lightning where depth exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036640 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, lon, depth, value
Sensor: uv_index | fields: value, reading, depth, lat
Task: Fetch depth from cloud_cover that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036641 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, lat, ts, lon
Sensor: sunlight | fields: qc, lat, reading, ts
Task: Retrieve lat from soil_moisture with reading above the COUNT(reading) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036642 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: qc, unit, level, lat
Sensor: snow_depth | fields: lon, value, reading, type
Task: Get reading from pressure where reading exceeds the maximum depth from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036643 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: type, value, qc, unit
Sensor: cloud_cover | fields: reading, ts, lat, unit
Task: Fetch level from air_quality that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036644 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: reading, type, level, depth
Sensor: visibility | fields: qc, reading, unit, lat
Task: Retrieve level from temperature that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036645 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: lat, level, ts, value
Sensor: humidity | fields: ts, lon, unit, type
Task: Fetch reading from uv_index where depth is greater than the average of value in humidity for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036646 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, depth, type, ts
Sensor: dew_point | fields: level, qc, unit, ts
Task: Fetch value from wind_speed where value is greater than the average of depth in dew_point for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036647 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: lat, ts, lon, qc
Sensor: temperature | fields: qc, type, ts, lon
Task: Fetch lat from rainfall that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036648 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, lat, unit, depth
Sensor: visibility | fields: lat, value, unit, ts
Task: Retrieve lon from cloud_cover whose type is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036649 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: depth, value, level, type
Sensor: lightning | fields: level, ts, lon, depth
Task: Fetch value from air_quality where value is greater than the minimum of reading in lightning for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036650 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, ts, lon, type
Sensor: drought_index | fields: type, qc, value, lat
Task: Retrieve depth from soil_moisture whose depth is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036651 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: lat, type, depth, lon
Sensor: sunlight | fields: ts, lat, value, qc
Task: Get reading from visibility where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036652 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: depth, unit, value, level
Sensor: evaporation | fields: type, ts, qc, unit
Task: Retrieve level from temperature with reading above the MIN(reading) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036653 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: reading, lon, lat, level
Sensor: air_quality | fields: lon, lat, type, ts
Task: Retrieve lon from turbidity whose depth is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036654 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: type, unit, qc, depth
Sensor: lightning | fields: reading, qc, type, level
Task: Fetch lat from cloud_cover that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036655 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, level, depth, unit
Sensor: air_quality | fields: type, qc, depth, reading
Task: Get level from cloud_cover where value exceeds the maximum reading from air_quality for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036656 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: qc, level, unit, lat
Sensor: drought_index | fields: qc, type, depth, value
Task: Retrieve level from lightning that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036657 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: qc, lon, reading, level
Sensor: frost | fields: lon, qc, unit, depth
Task: Retrieve depth from evaporation with reading above the COUNT(depth) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036658 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: depth, ts, value, lat
Sensor: snow_depth | fields: lon, reading, depth, level
Task: Fetch reading from pressure where depth is greater than the average of depth in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036659 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: unit, depth, level, reading
Sensor: frost | fields: ts, unit, value, qc
Task: Retrieve reading from humidity whose type is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036660 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: type, qc, lat, level
Sensor: lightning | fields: reading, qc, depth, unit
Task: Fetch lon from rainfall where reading is greater than the count of of value in lightning for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036661 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: level, lon, reading, lat
Sensor: temperature | fields: reading, unit, type, qc
Task: Get value from sunlight where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036662 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, unit, type, ts
Sensor: rainfall | fields: qc, type, ts, lon
Task: Fetch value from cloud_cover where depth exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036663 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: lon, level, ts, value
Sensor: visibility | fields: type, value, lon, ts
Task: Retrieve reading from pressure with depth above the MIN(reading) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036664 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: reading, qc, unit, depth
Sensor: cloud_cover | fields: value, unit, lat, depth
Task: Retrieve depth from sunlight with value above the COUNT(depth) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036665 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, type, level, depth
Sensor: turbidity | fields: lon, qc, type, lat
Task: Retrieve reading from snow_depth with value above the MAX(reading) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036666 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: level, qc, lon, lat
Sensor: visibility | fields: qc, reading, type, lat
Task: Get lon from frost where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036667 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: lat, ts, qc, reading
Sensor: air_quality | fields: depth, lat, value, ts
Task: Fetch level from dew_point where qc exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036668 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: qc, value, reading, lon
Sensor: humidity | fields: unit, qc, value, ts
Task: Retrieve depth from temperature that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036669 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: ts, lat, level, qc
Sensor: cloud_cover | fields: value, level, lat, qc
Task: Get lat from sunlight where value exceeds the maximum value from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036670 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: ts, lon, value, type
Sensor: soil_moisture | fields: type, depth, reading, qc
Task: Fetch level from lightning where reading is greater than the average of reading in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036671 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: lon, level, type, value
Sensor: air_quality | fields: lon, type, level, reading
Task: Get reading from frost where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036672 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: unit, ts, type, lon
Sensor: uv_index | fields: reading, lat, level, value
Task: Get depth from dew_point where qc appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036673 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: lon, qc, reading, unit
Sensor: drought_index | fields: value, lat, unit, depth
Task: Fetch lon from sunlight that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036674 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: depth, level, ts, value
Sensor: pressure | fields: depth, unit, lat, reading
Task: Retrieve lat from visibility with reading above the COUNT(reading) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036675 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: lat, type, depth, level
Sensor: pressure | fields: unit, level, reading, value
Task: Get reading from air_quality where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036676 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: level, ts, lat, lon
Sensor: temperature | fields: qc, value, level, type
Task: Fetch value from uv_index where reading is greater than the average of reading in temperature for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036677 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, level, value, qc
Sensor: lightning | fields: qc, lat, depth, unit
Task: Get depth from wind_speed where depth exceeds the minimum reading from lightning for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036678 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: level, qc, lon, depth
Sensor: rainfall | fields: ts, value, unit, level
Task: Fetch level from lightning where unit exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036679 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: reading, type, ts, unit
Sensor: visibility | fields: depth, value, type, ts
Task: Fetch value from soil_moisture where ts exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036680 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: depth, value, reading, unit
Sensor: uv_index | fields: unit, type, reading, lat
Task: Get lon from wind_speed where qc appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036681 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: unit, reading, depth, lat
Sensor: lightning | fields: reading, lon, value, unit
Task: Fetch lat from humidity that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036682 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, ts, value, type
Sensor: wind_speed | fields: value, level, lat, reading
Task: Get depth from soil_moisture where value exceeds the minimum depth from wind_speed for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036683 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: unit, lon, ts, reading
Sensor: turbidity | fields: value, unit, lon, reading
Task: Get value from evaporation where depth exceeds the maximum value from turbidity for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"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_036684 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: depth, ts, type, level
Sensor: uv_index | fields: ts, qc, depth, type
Task: Fetch lon from visibility where reading is greater than the total of reading in uv_index for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036685 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: depth, qc, level, reading
Sensor: turbidity | fields: lon, qc, reading, unit
Task: Fetch depth from humidity where value is greater than the maximum of value in turbidity for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036686 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, reading, level, lon
Sensor: rainfall | fields: type, value, unit, lon
Task: Get lon from cloud_cover where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036687 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: lat, ts, type, depth
Sensor: dew_point | fields: type, value, depth, qc
Task: Retrieve lon from temperature with value above the MAX(depth) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036688 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: qc, depth, type, reading
Sensor: rainfall | fields: type, depth, lat, level
Task: Fetch level from temperature where reading is greater than the count of of reading in rainfall for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036689 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: type, qc, value, level
Sensor: evaporation | fields: ts, type, level, lon
Task: Fetch lon from rainfall that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036690 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: qc, reading, value, lon
Sensor: soil_moisture | fields: lon, value, level, type
Task: Get value from turbidity where type appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036691 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: reading, level, value, ts
Sensor: humidity | fields: ts, value, qc, reading
Task: Get value from turbidity where depth exceeds the count of reading from humidity for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036692 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: depth, type, lat, value
Sensor: pressure | fields: ts, value, depth, qc
Task: Retrieve level from turbidity with reading above the COUNT(depth) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036693 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: unit, reading, ts, level
Sensor: wind_speed | fields: lon, level, value, qc
Task: Get level from soil_moisture where reading exceeds the total reading from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036694 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: type, value, ts, level
Sensor: temperature | fields: lat, ts, reading, level
Task: Get depth from visibility where qc appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036695 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: depth, lat, unit, type
Sensor: sunlight | fields: level, unit, ts, depth
Task: Retrieve lat from frost with reading above the MAX(depth) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036696 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: value, qc, level, lat
Sensor: humidity | fields: level, lon, reading, qc
Task: Fetch value from sunlight that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036697 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: reading, lat, level, unit
Sensor: cloud_cover | fields: qc, unit, type, level
Task: Fetch reading from temperature that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036698 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: lat, type, lon, value
Sensor: turbidity | fields: reading, unit, qc, lon
Task: Get lon from drought_index where reading exceeds the maximum depth from turbidity for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.