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: air_quality | code: prt | fields: level, value, depth, ts
Sensor: temperature | fields: value, lon, ts, lat
Task: Retrieve lon from air_quality that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044000 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: reading, lon, depth, qc
Sensor: dew_point | fields: reading, type, level, unit
Task: Get value from visibility where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044001 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: type, unit, value, level
Sensor: turbidity | fields: type, depth, reading, unit
Task: Retrieve lat from air_quality whose unit is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044002 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: type, unit, value, level
Sensor: air_quality | fields: type, reading, depth, value
Task: Get lon from dew_point where reading exceeds the minimum reading from air_quality for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044003 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: lat, value, type, lon
Sensor: lightning | fields: value, lat, reading, qc
Task: Retrieve reading from visibility that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044004 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: lat, reading, level, qc
Sensor: drought_index | fields: unit, level, qc, lat
Task: Fetch lon from frost where reading is greater than the count of of depth in drought_index for matching depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044005 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: ts, level, lon, qc
Sensor: frost | fields: reading, type, qc, lat
Task: Retrieve reading from humidity with reading above the MAX(value) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044006 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: qc, lat, level, lon
Sensor: visibility | fields: level, lon, type, unit
Task: Get depth from uv_index where value exceeds the minimum depth from visibility for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044007 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: lon, reading, lat, level
Sensor: air_quality | fields: depth, qc, unit, level
Task: Fetch lon from humidity where reading is greater than the count of of depth in air_quality for matching type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044008 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: qc, lat, level, reading
Sensor: snow_depth | fields: depth, value, type, ts
Task: Fetch reading from uv_index that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044009 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, qc, unit, lat
Sensor: humidity | fields: type, value, depth, qc
Task: Fetch value from wind_speed where depth exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044010 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: lat, qc, type, ts
Sensor: sunlight | fields: type, lat, ts, value
Task: Retrieve value from rainfall that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044011 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: type, lat, ts, reading
Sensor: snow_depth | fields: value, lon, reading, level
Task: Get reading from soil_moisture where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044012 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: value, reading, ts, qc
Sensor: soil_moisture | fields: lat, reading, level, value
Task: Get level from cloud_cover where ts appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044013 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: unit, value, level, reading
Sensor: dew_point | fields: ts, unit, level, lat
Task: Retrieve lat from lightning with depth above the MIN(depth) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044014 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: ts, lat, depth, value
Sensor: cloud_cover | fields: level, reading, qc, depth
Task: Retrieve lat from air_quality whose depth is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044015 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: qc, type, lon, reading
Sensor: air_quality | fields: type, lat, unit, lon
Task: Fetch lat from turbidity where depth is greater than the minimum of value in air_quality for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044016 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: value, unit, depth, lon
Sensor: uv_index | fields: lat, reading, lon, depth
Task: Get value from temperature where value exceeds the count of depth from uv_index for the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044017 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: level, type, depth, value
Sensor: cloud_cover | fields: lat, value, level, type
Task: Retrieve lat from pressure with depth above the MIN(depth) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044018 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: depth, value, unit, lon
Sensor: air_quality | fields: lon, value, reading, level
Task: Get value from visibility where depth appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044019 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: type, lon, level, qc
Sensor: lightning | fields: depth, reading, lon, type
Task: Retrieve lon from sunlight with depth above the MIN(depth) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044020 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: reading, value, type, unit
Sensor: rainfall | fields: value, lat, type, unit
Task: Retrieve value from visibility that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044021 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: lat, qc, ts, lon
Sensor: temperature | fields: lat, value, unit, qc
Task: Fetch depth from evaporation that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044022 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: type, value, ts, qc
Sensor: snow_depth | fields: ts, lat, qc, unit
Task: Get lat from wind_speed where depth exceeds the maximum value from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044023 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: lat, unit, qc, reading
Sensor: dew_point | fields: depth, reading, qc, unit
Task: Fetch reading from drought_index that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044024 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, value, depth, level
Sensor: evaporation | fields: value, unit, lat, ts
Task: Fetch reading from wind_speed where reading is greater than the maximum of reading in evaporation for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044025 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: value, lat, reading, lon
Sensor: cloud_cover | fields: value, qc, type, lat
Task: Get value from visibility where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044026 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: type, lon, level, depth
Sensor: drought_index | fields: depth, qc, lon, type
Task: Fetch depth from air_quality that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044027 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: qc, unit, value, depth
Sensor: soil_moisture | fields: lon, depth, lat, value
Task: Get level from air_quality where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044028 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: lat, lon, depth, ts
Sensor: frost | fields: unit, value, reading, qc
Task: Retrieve depth from pressure with value above the SUM(reading) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"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_044029 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: level, lon, qc, reading
Sensor: sunlight | fields: value, lon, lat, type
Task: Fetch reading from dew_point that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044030 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: reading, level, depth, ts
Sensor: cloud_cover | fields: level, type, lon, qc
Task: Fetch reading from frost where unit exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044031 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: ts, level, depth, lat
Sensor: lightning | fields: qc, reading, lon, ts
Task: Retrieve level from humidity whose unit is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044032 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: reading, level, depth, unit
Sensor: cloud_cover | fields: value, depth, lon, ts
Task: Fetch lon from rainfall that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044033 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: reading, lon, qc, unit
Sensor: cloud_cover | fields: lat, lon, unit, qc
Task: Get level from rainfall where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044034 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: type, lat, qc, depth
Sensor: air_quality | fields: depth, type, value, unit
Task: Fetch reading from drought_index where ts exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044035 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: reading, unit, level, value
Sensor: dew_point | fields: level, ts, unit, depth
Task: Retrieve depth from drought_index whose qc is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044036 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: reading, value, lat, ts
Sensor: dew_point | fields: reading, qc, type, lon
Task: Get lon from rainfall where reading exceeds the maximum depth from dew_point for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044037 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, value, ts, level
Sensor: dew_point | fields: value, reading, ts, lat
Task: Retrieve value from cloud_cover whose qc is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044038 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: level, unit, ts, qc
Sensor: uv_index | fields: qc, lon, reading, level
Task: Get reading from temperature where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044039 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: qc, type, depth, lat
Sensor: drought_index | fields: qc, type, lon, level
Task: Get reading from frost where ts appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044040 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: value, reading, unit, level
Sensor: drought_index | fields: depth, value, level, lat
Task: Fetch depth from turbidity that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044041 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: qc, value, depth, unit
Sensor: turbidity | fields: lat, level, value, reading
Task: Retrieve lat from evaporation with depth above the AVG(depth) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044042 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: type, lat, unit, value
Sensor: cloud_cover | fields: ts, depth, qc, lat
Task: Fetch lon from frost where type exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044043 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: type, unit, depth, ts
Sensor: temperature | fields: value, ts, level, reading
Task: Fetch depth from air_quality where qc exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044044 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: reading, lat, type, unit
Sensor: lightning | fields: qc, lat, unit, ts
Task: Retrieve depth from snow_depth that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044045 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: type, value, lon, lat
Sensor: snow_depth | fields: reading, unit, level, qc
Task: Fetch lon from rainfall where type exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044046 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: unit, reading, level, depth
Sensor: cloud_cover | fields: qc, value, ts, lon
Task: Retrieve lat from uv_index whose qc is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044047 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: lat, lon, qc, depth
Sensor: pressure | fields: lon, unit, depth, reading
Task: Fetch value from turbidity where unit exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044048 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: ts, reading, depth, qc
Sensor: lightning | fields: value, lat, qc, unit
Task: Fetch level from temperature that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044049 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: ts, qc, lat, unit
Sensor: soil_moisture | fields: depth, unit, level, reading
Task: Retrieve level from temperature with depth above the AVG(reading) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044050 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: lat, qc, level, lon
Sensor: wind_speed | fields: reading, value, qc, depth
Task: Retrieve lat from sunlight that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044051 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: lon, unit, level, ts
Sensor: humidity | fields: level, type, ts, reading
Task: Fetch lon from sunlight where unit exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044052 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: type, lat, reading, lon
Sensor: pressure | fields: lat, type, depth, reading
Task: Get lat from air_quality where reading exceeds the total reading from pressure for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044053 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, level, qc, depth
Sensor: pressure | fields: qc, type, lat, ts
Task: Retrieve lon from cloud_cover with depth above the COUNT(reading) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044054 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: value, depth, level, lon
Sensor: sunlight | fields: depth, type, value, unit
Task: Retrieve depth from pressure that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044055 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: lat, level, ts, value
Sensor: pressure | fields: unit, ts, lon, reading
Task: Retrieve value from temperature whose depth is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044056 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: qc, value, ts, unit
Sensor: wind_speed | fields: ts, unit, level, reading
Task: Get value from soil_moisture where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044057 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: lon, unit, reading, qc
Sensor: soil_moisture | fields: value, type, level, reading
Task: Retrieve lat from humidity whose type is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044058 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: reading, ts, lon, qc
Sensor: frost | fields: depth, reading, value, ts
Task: Get lat from evaporation where value exceeds the minimum value from frost for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044059 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: depth, value, unit, level
Sensor: soil_moisture | fields: lat, qc, unit, type
Task: Retrieve lon from dew_point that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044060 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: lat, unit, level, value
Sensor: visibility | fields: value, level, lon, type
Task: Retrieve reading from uv_index with depth above the COUNT(depth) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044061 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: ts, qc, type, value
Sensor: temperature | fields: reading, ts, lat, depth
Task: Fetch lon from frost where qc exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044062 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, unit, reading, level
Sensor: pressure | fields: level, reading, type, ts
Task: Get depth from soil_moisture where value exceeds the count of value from pressure for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044063 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: type, lon, value, level
Sensor: sunlight | fields: level, reading, value, qc
Task: Retrieve value from turbidity that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044064 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: ts, lat, reading, unit
Sensor: evaporation | fields: depth, value, lon, reading
Task: Retrieve lat from temperature that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044065 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: value, level, unit, type
Sensor: cloud_cover | fields: type, reading, unit, lon
Task: Fetch lat from lightning where qc exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044066 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: ts, value, type, lat
Sensor: humidity | fields: lon, reading, unit, ts
Task: Retrieve lon from drought_index whose type is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044067 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: value, depth, lon, type
Sensor: wind_speed | fields: depth, lat, type, value
Task: Fetch level from evaporation where value is greater than the minimum of depth in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044068 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: lon, qc, ts, reading
Sensor: wind_speed | fields: lat, type, qc, reading
Task: Get value from cloud_cover where depth appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044069 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: lon, qc, unit, lat
Sensor: pressure | fields: reading, depth, qc, type
Task: Retrieve depth from sunlight with depth above the SUM(value) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044070 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: value, level, lon, unit
Sensor: humidity | fields: value, lon, lat, qc
Task: Get level from pressure where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044071 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: type, value, depth, qc
Sensor: humidity | fields: type, value, ts, depth
Task: Retrieve depth from sunlight whose unit is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044072 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: lat, level, lon, qc
Sensor: cloud_cover | fields: qc, lat, ts, type
Task: Get depth from rainfall where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044073 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: lat, qc, level, type
Sensor: sunlight | fields: unit, qc, ts, lat
Task: Fetch lon from turbidity that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044074 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: qc, level, depth, lon
Sensor: air_quality | fields: reading, lon, value, qc
Task: Retrieve value from drought_index with reading above the COUNT(reading) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044075 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: qc, level, lon, reading
Sensor: sunlight | fields: value, lat, depth, lon
Task: Get depth from visibility where type appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044076 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: reading, lon, ts, type
Sensor: frost | fields: value, qc, level, depth
Task: Get reading from dew_point where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044077 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: lat, depth, level, value
Sensor: lightning | fields: value, level, ts, depth
Task: Retrieve reading from visibility with value above the COUNT(reading) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044078 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: unit, lon, value, qc
Sensor: pressure | fields: unit, level, ts, value
Task: Get level from drought_index where reading exceeds the total depth from pressure for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044079 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: lon, reading, lat, value
Sensor: wind_speed | fields: lon, unit, value, level
Task: Fetch level from rainfall where depth is greater than the minimum of depth in wind_speed for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044080 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: ts, level, lat, depth
Sensor: evaporation | fields: ts, level, reading, lon
Task: Fetch value from visibility where unit exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044081 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: type, value, lon, qc
Sensor: cloud_cover | fields: depth, value, lat, level
Task: Fetch depth from lightning that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044082 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: reading, depth, lon, level
Sensor: air_quality | fields: lat, lon, depth, reading
Task: Fetch reading from turbidity where value is greater than the minimum of reading in air_quality for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044083 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: ts, lat, depth, level
Sensor: air_quality | fields: reading, level, lon, ts
Task: Fetch lon from temperature where depth is greater than the total of depth in air_quality for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044084 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: ts, reading, value, unit
Sensor: visibility | fields: lat, reading, unit, qc
Task: Fetch level from sunlight where value is greater than the maximum of value in visibility for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044085 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: lat, unit, depth, type
Sensor: uv_index | fields: level, reading, value, ts
Task: Fetch value from rainfall where ts exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044086 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: lat, lon, reading, unit
Sensor: lightning | fields: lon, value, level, reading
Task: Retrieve value from snow_depth whose ts is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044087 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: depth, ts, qc, type
Sensor: evaporation | fields: value, qc, level, ts
Task: Retrieve lon from lightning whose qc is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044088 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: type, unit, ts, lon
Sensor: temperature | fields: lat, reading, qc, ts
Task: Fetch level from evaporation that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044089 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, qc, value, reading
Sensor: visibility | fields: depth, lat, reading, level
Task: Fetch lat from soil_moisture that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044090 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: lon, lat, unit, depth
Sensor: lightning | fields: depth, qc, level, ts
Task: Retrieve value from air_quality that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044091 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: reading, ts, qc, lon
Sensor: cloud_cover | fields: unit, level, lat, ts
Task: Get lat from snow_depth where type appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044092 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: type, lon, lat, ts
Sensor: wind_speed | fields: value, type, lat, reading
Task: Retrieve value from drought_index with reading above the MIN(value) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044093 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: level, value, lat, type
Sensor: rainfall | fields: lat, ts, unit, depth
Task: Retrieve depth from air_quality that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044094 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, qc, ts, unit
Sensor: pressure | fields: qc, value, type, level
Task: Fetch depth from cloud_cover where ts exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044095 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: ts, level, lat, type
Sensor: evaporation | fields: unit, ts, type, qc
Task: Fetch reading from uv_index where reading is greater than the maximum of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044096 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: depth, unit, lon, value
Sensor: temperature | fields: reading, qc, ts, depth
Task: Get level from sunlight where qc appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044097 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: lon, value, qc, unit
Sensor: temperature | fields: depth, ts, reading, qc
Task: Get value from turbidity where reading exceeds the count of value from temperature for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_044098 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: ts, level, unit, reading
Sensor: dew_point | fields: reading, value, type, lon
Task: Retrieve reading from turbidity that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_044099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.