variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: unit, value, qc, reading
Sensor: dew_point | fields: depth, qc, level, value
Task: Fetch depth from snow_depth that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052900 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: value, depth, qc, unit
Sensor: air_quality | fields: depth, lon, level, lat
Task: Fetch depth from sunlight where value is greater than the maximum of depth in air_quality for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052901 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: lon, qc, depth, level
Sensor: lightning | fields: level, qc, unit, type
Task: Fetch level from temperature where reading is greater than the count of of reading in lightning for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052902 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: unit, depth, ts, qc
Sensor: turbidity | fields: type, qc, ts, level
Task: Get lon from soil_moisture where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052903 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, unit, type, level
Sensor: dew_point | fields: depth, value, lat, reading
Task: Fetch level from wind_speed that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052904 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: lat, value, ts, type
Sensor: drought_index | fields: type, depth, reading, ts
Task: Get value from uv_index where unit appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052905 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: qc, unit, lat, value
Sensor: lightning | fields: level, value, lon, unit
Task: Get lon from rainfall where qc appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052906 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: lon, ts, reading, qc
Sensor: wind_speed | fields: unit, ts, value, level
Task: Retrieve value from humidity that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052907 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: reading, value, qc, unit
Sensor: frost | fields: lat, lon, depth, unit
Task: Get lat from evaporation where reading exceeds the average value from frost for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052908 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: reading, depth, type, level
Sensor: uv_index | fields: value, lon, unit, qc
Task: Get lon from air_quality where qc appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052909 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: reading, unit, value, qc
Sensor: lightning | fields: type, value, ts, reading
Task: Retrieve reading from visibility that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052910 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: qc, ts, lat, depth
Sensor: sunlight | fields: value, type, depth, level
Task: Get depth from uv_index where ts appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052911 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: unit, level, lat, lon
Sensor: wind_speed | fields: lon, unit, lat, qc
Task: Fetch reading from air_quality where reading is greater than the minimum of reading in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052912 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: lon, reading, lat, depth
Sensor: rainfall | fields: reading, lat, lon, ts
Task: Get value from dew_point where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052913 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, type, ts, depth
Sensor: air_quality | fields: lon, unit, value, ts
Task: Fetch value from soil_moisture where depth exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052914 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: lat, qc, level, type
Sensor: temperature | fields: lat, qc, value, reading
Task: Get lat from drought_index where value exceeds the total reading from temperature for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052915 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: lat, level, value, unit
Sensor: frost | fields: level, depth, value, lon
Task: Get lat from visibility where unit appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052916 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, reading, depth, level
Sensor: evaporation | fields: type, qc, lon, reading
Task: Fetch value from wind_speed that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052917 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: lat, ts, depth, unit
Sensor: snow_depth | fields: unit, level, reading, lat
Task: Get value from air_quality where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052918 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: lat, unit, qc, ts
Sensor: dew_point | fields: value, ts, depth, lat
Task: Fetch reading from visibility where value is greater than the total of value in dew_point for matching type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052919 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: level, ts, reading, depth
Sensor: temperature | fields: qc, ts, value, reading
Task: Get lon from evaporation where depth exceeds the minimum depth from temperature for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052920 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: level, qc, depth, value
Sensor: turbidity | fields: type, value, qc, unit
Task: Retrieve level from visibility that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052921 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: unit, value, lon, level
Sensor: visibility | fields: depth, type, level, unit
Task: Retrieve lon from turbidity that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052922 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: qc, type, unit, ts
Sensor: visibility | fields: type, level, value, unit
Task: Retrieve lat from frost whose depth is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052923 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: unit, level, depth, ts
Sensor: cloud_cover | fields: lon, lat, value, reading
Task: Get lon from air_quality where unit appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052924 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: lon, ts, depth, reading
Sensor: sunlight | fields: ts, type, unit, value
Task: Get value from air_quality where value exceeds the count of depth from sunlight for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052925 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: ts, type, lat, value
Sensor: snow_depth | fields: reading, unit, type, level
Task: Fetch lon from pressure where qc exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052926 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: value, unit, ts, depth
Sensor: lightning | fields: ts, unit, lat, depth
Task: Get reading from cloud_cover where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052927 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: qc, level, ts, lon
Sensor: humidity | fields: qc, reading, level, ts
Task: Get value from cloud_cover where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052928 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: depth, lat, ts, lon
Sensor: evaporation | fields: lon, unit, level, type
Task: Retrieve value from dew_point that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052929 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: unit, lat, ts, reading
Sensor: soil_moisture | fields: lon, reading, depth, lat
Task: Retrieve level from sunlight with value above the SUM(depth) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052930 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: lon, unit, ts, reading
Sensor: frost | fields: depth, lat, reading, lon
Task: Get lon from evaporation where reading exceeds the maximum depth from frost for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052931 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: unit, level, reading, value
Sensor: drought_index | fields: level, unit, reading, depth
Task: Get lon from pressure where depth exceeds the maximum depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052932 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: type, level, qc, depth
Sensor: air_quality | fields: value, type, ts, level
Task: Fetch lat from frost where ts exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052933 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: type, qc, ts, value
Sensor: uv_index | fields: unit, type, lat, level
Task: Retrieve lat from visibility whose unit is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052934 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: reading, lat, level, depth
Sensor: turbidity | fields: value, lat, type, qc
Task: Fetch lat from frost where depth is greater than the average of depth in turbidity for matching type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052935 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: value, ts, reading, unit
Sensor: uv_index | fields: lat, reading, ts, type
Task: Fetch lon from dew_point that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052936 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: lon, level, type, reading
Sensor: uv_index | fields: qc, depth, value, level
Task: Retrieve level from dew_point whose unit is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052937 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: level, ts, lon, value
Sensor: air_quality | fields: value, unit, lon, level
Task: Get lon from temperature where ts appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052938 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: ts, level, qc, lon
Sensor: temperature | fields: level, depth, qc, lon
Task: Retrieve value from lightning whose type is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052939 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: reading, level, unit, ts
Sensor: air_quality | fields: lon, level, unit, reading
Task: Get lon from drought_index where depth exceeds the maximum depth from air_quality for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052940 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: lon, lat, level, reading
Sensor: evaporation | fields: unit, lat, type, level
Task: Fetch lon from lightning where value is greater than the minimum of depth in evaporation for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052941 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: depth, unit, lon, reading
Sensor: temperature | fields: value, reading, lon, depth
Task: Retrieve reading from evaporation whose ts is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052942 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: qc, reading, depth, value
Sensor: air_quality | fields: type, value, qc, unit
Task: Get level from humidity where reading exceeds the count of reading from air_quality for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052943 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: lon, unit, value, level
Sensor: pressure | fields: reading, type, qc, ts
Task: Get value from turbidity where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052944 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: value, lat, reading, qc
Sensor: soil_moisture | fields: value, ts, depth, unit
Task: Fetch lat from air_quality where value is greater than the maximum of depth in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052945 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: lat, ts, type, unit
Sensor: dew_point | fields: qc, lat, type, unit
Task: Get lat from sunlight where reading exceeds the minimum depth from dew_point for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
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": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052946 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: reading, lon, lat, unit
Sensor: humidity | fields: ts, reading, lat, lon
Task: Retrieve level from evaporation with value above the MAX(depth) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052947 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: level, value, unit, ts
Sensor: humidity | fields: lat, unit, level, depth
Task: Retrieve value from turbidity with value above the COUNT(value) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052948 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, unit, qc, lon
Sensor: visibility | fields: unit, qc, lat, ts
Task: Get lon from wind_speed where value exceeds the count of depth from visibility for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052949 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: unit, qc, lon, reading
Sensor: uv_index | fields: unit, ts, type, depth
Task: Retrieve value from frost with reading above the AVG(reading) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052950 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: unit, ts, reading, lon
Sensor: turbidity | fields: reading, lat, lon, depth
Task: Retrieve level from lightning with value above the MIN(reading) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052951 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: value, lat, lon, depth
Sensor: drought_index | fields: qc, type, lat, lon
Task: Fetch value from rainfall where qc exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052952 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: depth, lat, ts, qc
Sensor: temperature | fields: unit, value, type, ts
Task: Fetch value from drought_index where value is greater than the average of value in temperature for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052953 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: depth, qc, reading, value
Sensor: lightning | fields: reading, type, level, lon
Task: Fetch level from wind_speed that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052954 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: reading, type, depth, lon
Sensor: dew_point | fields: unit, qc, depth, value
Task: Get lon from humidity where value exceeds the total depth from dew_point for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052955 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: type, lat, level, qc
Sensor: drought_index | fields: level, reading, value, unit
Task: Retrieve lat from uv_index with value above the SUM(reading) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052956 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: lon, ts, level, type
Sensor: dew_point | fields: value, lat, ts, reading
Task: Retrieve lon from sunlight that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052957 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: qc, type, lon, value
Sensor: cloud_cover | fields: value, qc, lat, level
Task: Retrieve value from pressure with reading above the AVG(depth) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052958 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: level, unit, type, qc
Sensor: evaporation | fields: type, unit, lat, value
Task: Fetch lat from snow_depth where reading is greater than the total of depth in evaporation for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052959 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: type, qc, lat, value
Sensor: soil_moisture | fields: type, unit, depth, lon
Task: Retrieve lat from wind_speed that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052960 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: qc, unit, lat, value
Sensor: wind_speed | fields: unit, ts, level, type
Task: Retrieve reading from frost whose qc is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052961 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: reading, value, level, ts
Sensor: uv_index | fields: value, qc, depth, ts
Task: Retrieve lat from visibility with depth above the MAX(depth) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052962 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: lon, level, type, depth
Sensor: cloud_cover | fields: reading, unit, qc, level
Task: Fetch value from drought_index where qc exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052963 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: depth, qc, lat, reading
Sensor: frost | fields: reading, qc, level, ts
Task: Get depth from visibility where reading exceeds the count of depth from frost for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052964 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, depth, lat, reading
Sensor: snow_depth | fields: level, type, ts, value
Task: Get value from cloud_cover where reading exceeds the minimum reading from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052965 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: qc, ts, depth, level
Sensor: uv_index | fields: type, lat, level, reading
Task: Fetch lat from frost where ts exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052966 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: ts, reading, depth, value
Sensor: visibility | fields: unit, type, lat, value
Task: Get lon from evaporation where depth exceeds the total reading from visibility for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052967 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: level, ts, type, value
Sensor: snow_depth | fields: lon, lat, depth, ts
Task: Fetch value from drought_index where qc exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052968 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: depth, lat, unit, qc
Sensor: sunlight | fields: lat, lon, type, unit
Task: Fetch level from lightning where depth exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052969 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, level, reading, type
Sensor: evaporation | fields: lon, qc, lat, value
Task: Retrieve reading from wind_speed that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052970 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: reading, lat, ts, level
Sensor: turbidity | fields: lat, type, level, depth
Task: Get value from rainfall where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052971 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: value, ts, level, type
Sensor: pressure | fields: level, reading, unit, qc
Task: Fetch lat from cloud_cover where depth exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052972 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: value, depth, qc, lon
Sensor: cloud_cover | fields: depth, unit, level, value
Task: Fetch value from air_quality where ts exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052973 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: lat, level, value, depth
Sensor: drought_index | fields: unit, ts, lon, value
Task: Fetch level from evaporation where depth exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052974 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: lon, unit, type, level
Sensor: lightning | fields: lat, lon, reading, ts
Task: Retrieve value from rainfall that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052975 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: reading, ts, lat, value
Sensor: drought_index | fields: value, qc, lat, type
Task: Get value from snow_depth where reading exceeds the count of reading from drought_index for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052976 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: lat, lon, reading, type
Sensor: humidity | fields: unit, level, value, ts
Task: Fetch level from lightning where qc exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052977 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: unit, lat, qc, type
Sensor: visibility | fields: level, reading, lat, qc
Task: Get reading from snow_depth where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052978 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: type, lon, level, qc
Sensor: lightning | fields: value, type, reading, lat
Task: Fetch lat from pressure that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052979 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: reading, lat, type, unit
Sensor: sunlight | fields: lat, lon, qc, type
Task: Fetch value from drought_index that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052980 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: type, reading, unit, qc
Sensor: air_quality | fields: depth, ts, type, unit
Task: Fetch value from snow_depth where depth exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052981 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: depth, ts, value, type
Sensor: cloud_cover | fields: type, qc, ts, lon
Task: Fetch lon from frost where value is greater than the minimum of reading in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052982 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: depth, reading, lat, type
Sensor: drought_index | fields: type, lon, qc, lat
Task: Get lat from temperature where value exceeds the average depth from drought_index for the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052983 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, value, lon, lat
Sensor: rainfall | fields: lat, value, level, depth
Task: Fetch lat from wind_speed that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052984 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: value, lat, qc, type
Sensor: frost | fields: reading, level, value, qc
Task: Retrieve level from sunlight that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052985 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: depth, lat, qc, reading
Sensor: rainfall | fields: depth, level, qc, unit
Task: Get reading from uv_index where reading exceeds the total value from rainfall for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052986 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: unit, type, lat, value
Sensor: pressure | fields: depth, unit, qc, lon
Task: Fetch reading from uv_index where depth exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052987 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: reading, level, qc, type
Sensor: temperature | fields: unit, type, value, level
Task: Retrieve level from drought_index with depth above the MIN(depth) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052988 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: ts, level, depth, type
Sensor: uv_index | fields: depth, qc, level, reading
Task: Retrieve level from visibility whose type is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052989 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: level, lon, unit, ts
Sensor: cloud_cover | fields: ts, qc, reading, level
Task: Retrieve lon from snow_depth whose type is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052990 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, reading, qc, depth
Sensor: rainfall | fields: depth, unit, level, lat
Task: Fetch depth from snow_depth where reading is greater than the average of depth in rainfall for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052991 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, reading, lon, ts
Sensor: drought_index | fields: level, depth, lon, lat
Task: Retrieve lat from cloud_cover whose ts is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052992 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, depth, reading, unit
Sensor: frost | fields: depth, value, qc, reading
Task: Fetch level from soil_moisture where unit exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052993 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: depth, value, lon, reading
Sensor: humidity | fields: type, unit, lat, qc
Task: Get level from rainfall where depth appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052994 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, ts, lat, qc
Sensor: air_quality | fields: qc, level, reading, value
Task: Retrieve value from cloud_cover with reading above the SUM(value) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052995 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, type, lat, qc
Sensor: dew_point | fields: ts, type, unit, reading
Task: Fetch depth from snow_depth that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052996 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: qc, type, depth, reading
Sensor: rainfall | fields: value, lon, unit, type
Task: Fetch reading from pressure that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052997 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: depth, reading, lat, lon
Sensor: temperature | fields: lon, level, depth, unit
Task: Retrieve lat from sunlight that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052998 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: depth, ts, unit, lat
Sensor: rainfall | fields: reading, unit, value, lat
Task: Retrieve value from air_quality that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.