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: visibility | code: stn | fields: value, level, depth, ts
Sensor: snow_depth | fields: unit, level, qc, lat
Task: Get lat from visibility where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013000 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: qc, type, reading, ts
Sensor: visibility | fields: level, ts, value, qc
Task: Fetch reading from uv_index that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013001 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, reading, value, lon
Sensor: rainfall | fields: type, reading, depth, lat
Task: Retrieve lat from cloud_cover whose depth is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013002 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: reading, unit, type, lat
Sensor: dew_point | fields: value, reading, ts, unit
Task: Retrieve value from frost whose type is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013003 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: level, lat, unit, lon
Sensor: visibility | fields: level, value, lon, ts
Task: Get lat from wind_speed where unit appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013004 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: level, unit, type, depth
Sensor: rainfall | fields: qc, type, level, lat
Task: Retrieve reading from visibility whose depth is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013005 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: qc, value, reading, level
Sensor: pressure | fields: lon, value, reading, type
Task: Fetch reading from visibility where unit exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013006 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: depth, unit, ts, reading
Sensor: sunlight | fields: lon, lat, ts, type
Task: Fetch reading from cloud_cover that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013007 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: value, unit, level, qc
Sensor: frost | fields: lat, level, ts, type
Task: Get lon from dew_point where reading exceeds the minimum reading from frost for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013008 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: type, ts, level, value
Sensor: temperature | fields: type, unit, depth, lon
Task: Retrieve depth from pressure that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013009 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: qc, ts, reading, type
Sensor: cloud_cover | fields: ts, depth, level, lat
Task: Retrieve value from dew_point whose qc is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013010 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: ts, lat, value, unit
Sensor: lightning | fields: qc, level, type, unit
Task: Fetch depth from air_quality that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013011 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: type, value, reading, unit
Sensor: evaporation | fields: ts, type, value, depth
Task: Get depth from rainfall where depth appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013012 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, unit, type, lon
Sensor: visibility | fields: qc, level, ts, lat
Task: Retrieve lon from cloud_cover that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013013 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: qc, depth, value, ts
Sensor: dew_point | fields: ts, value, lon, type
Task: Fetch reading from uv_index that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013014 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: lat, depth, lon, level
Sensor: temperature | fields: lat, unit, depth, reading
Task: Retrieve lat from humidity that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013015 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: lat, type, reading, lon
Sensor: evaporation | fields: unit, lat, lon, value
Task: Retrieve lon from dew_point with depth above the SUM(depth) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013016 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: ts, depth, lat, qc
Sensor: cloud_cover | fields: value, depth, lat, lon
Task: Get reading from lightning where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013017 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: depth, lat, value, ts
Sensor: lightning | fields: lat, reading, value, lon
Task: Fetch lon from sunlight where reading is greater than the count of of reading in lightning for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013018 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: ts, depth, level, value
Sensor: dew_point | fields: lat, depth, qc, lon
Task: Fetch depth from humidity where qc exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"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_013019 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: value, ts, reading, depth
Sensor: humidity | fields: type, reading, value, lon
Task: Retrieve lat from rainfall with depth above the MIN(depth) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013020 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: ts, lat, unit, value
Sensor: evaporation | fields: ts, lon, reading, unit
Task: Fetch reading from visibility where reading is greater than the average of depth in evaporation for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013021 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: depth, level, value, ts
Sensor: soil_moisture | fields: type, ts, level, qc
Task: Get depth from pressure where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013022 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: depth, lat, qc, type
Sensor: drought_index | fields: lat, reading, qc, level
Task: Get lon from visibility where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013023 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, unit, lon, type
Sensor: frost | fields: level, lat, ts, value
Task: Fetch reading from cloud_cover that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013024 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: level, depth, qc, value
Sensor: air_quality | fields: reading, lat, qc, depth
Task: Get level from humidity where type appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013025 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, reading, ts, level
Sensor: humidity | fields: lat, ts, qc, depth
Task: Fetch value from snow_depth where value is greater than the total of value in humidity for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013026 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: ts, level, unit, depth
Sensor: uv_index | fields: lon, ts, depth, level
Task: Fetch value from rainfall where qc exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013027 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: value, qc, level, reading
Sensor: dew_point | fields: type, lon, qc, value
Task: Fetch lon from turbidity where depth is greater than the minimum of reading in dew_point for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013028 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: level, lon, value, unit
Sensor: visibility | fields: lon, unit, ts, qc
Task: Fetch lon from snow_depth that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013029 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, depth, type, ts
Sensor: turbidity | fields: level, depth, value, reading
Task: Get level from soil_moisture where depth appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013030 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: qc, depth, ts, lon
Sensor: pressure | fields: lat, depth, unit, qc
Task: Retrieve level from evaporation with reading above the SUM(value) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013031 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: unit, value, lon, reading
Sensor: dew_point | fields: ts, value, depth, lat
Task: Fetch depth from sunlight where qc exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013032 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: ts, lon, lat, value
Sensor: frost | fields: lon, reading, qc, ts
Task: Retrieve level from lightning that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013033 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: reading, lon, ts, value
Sensor: soil_moisture | fields: level, ts, lon, value
Task: Retrieve value from cloud_cover with reading above the MIN(reading) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013034 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: lon, depth, qc, lat
Sensor: turbidity | fields: value, type, depth, reading
Task: Retrieve depth from pressure with reading above the AVG(reading) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013035 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: unit, reading, level, type
Sensor: air_quality | fields: type, unit, lat, qc
Task: Get lat from evaporation where ts appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013036 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: unit, ts, lon, reading
Sensor: sunlight | fields: unit, reading, type, depth
Task: Get level from evaporation where depth exceeds the total value from sunlight for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013037 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, reading, type, depth
Sensor: temperature | fields: reading, unit, lat, depth
Task: Fetch reading from soil_moisture that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013038 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: type, depth, qc, lon
Sensor: temperature | fields: value, lat, level, lon
Task: Get depth from rainfall where qc appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013039 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: unit, reading, lon, ts
Sensor: rainfall | fields: level, type, reading, unit
Task: Retrieve lon from uv_index with value above the SUM(depth) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013040 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: unit, value, ts, lon
Sensor: pressure | fields: depth, level, value, type
Task: Fetch level from cloud_cover where depth exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013041 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: type, unit, lon, depth
Sensor: snow_depth | fields: qc, lon, ts, level
Task: Retrieve reading from temperature whose qc is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013042 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: qc, depth, ts, type
Sensor: uv_index | fields: lon, reading, unit, qc
Task: Get value from air_quality where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013043 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: value, unit, reading, qc
Sensor: evaporation | fields: depth, unit, type, value
Task: Retrieve level from pressure that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013044 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: lat, unit, level, value
Sensor: visibility | fields: value, lon, ts, depth
Task: Fetch depth from soil_moisture where depth is greater than the maximum of depth in visibility for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013045 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: type, ts, reading, lat
Sensor: wind_speed | fields: lon, ts, type, depth
Task: Fetch lon from humidity where qc exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013046 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: ts, reading, type, depth
Sensor: turbidity | fields: type, ts, depth, lon
Task: Retrieve level from dew_point with depth above the MAX(value) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013047 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, value, ts, level
Sensor: wind_speed | fields: qc, reading, ts, value
Task: Retrieve value from cloud_cover whose ts is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013048 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: value, unit, qc, ts
Sensor: cloud_cover | fields: lon, ts, level, reading
Task: Retrieve depth from sunlight with reading above the SUM(reading) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013049 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: qc, depth, unit, level
Sensor: cloud_cover | fields: ts, unit, depth, type
Task: Get lon from dew_point where depth exceeds the minimum value from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013050 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: lon, depth, reading, qc
Sensor: cloud_cover | fields: reading, qc, ts, type
Task: Retrieve lat from temperature whose ts is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013051 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: lon, qc, value, reading
Sensor: sunlight | fields: qc, reading, lon, value
Task: Retrieve lat from turbidity with depth above the COUNT(value) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013052 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: unit, level, value, type
Sensor: snow_depth | fields: level, depth, type, value
Task: Fetch lat from visibility where qc exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013053 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: lon, type, level, unit
Sensor: humidity | fields: depth, type, ts, value
Task: Retrieve value from turbidity whose qc is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013054 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, value, type, depth
Sensor: rainfall | fields: ts, lat, lon, type
Task: Fetch lon from cloud_cover where type exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013055 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: unit, value, lat, reading
Sensor: lightning | fields: ts, value, reading, depth
Task: Get reading from wind_speed where depth appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013056 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: reading, lat, unit, level
Sensor: snow_depth | fields: ts, lat, depth, reading
Task: Retrieve reading from humidity with depth above the MAX(reading) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013057 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: lon, reading, qc, lat
Sensor: turbidity | fields: ts, level, qc, value
Task: Get value from dew_point where unit appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013058 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: qc, type, value, lat
Sensor: pressure | fields: unit, depth, qc, value
Task: Fetch depth from evaporation where value is greater than the count of of depth in pressure for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013059 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: lat, value, type, level
Sensor: uv_index | fields: lon, type, ts, lat
Task: Get level from sunlight where depth exceeds the total reading from uv_index for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013060 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: level, lon, type, value
Sensor: cloud_cover | fields: qc, lat, value, type
Task: Fetch level from evaporation where value is greater than the minimum of depth in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013061 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: depth, lon, type, ts
Sensor: visibility | fields: qc, reading, ts, depth
Task: Get reading from temperature where depth exceeds the count of reading from visibility for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013062 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, lon, type, value
Sensor: sunlight | fields: reading, lon, qc, value
Task: Fetch reading from wind_speed where value is greater than the average of depth in sunlight for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013063 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: depth, unit, lat, level
Sensor: humidity | fields: type, ts, value, reading
Task: Retrieve lat from frost that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013064 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: ts, value, qc, lon
Sensor: lightning | fields: type, qc, lon, value
Task: Get reading from temperature where reading exceeds the maximum value from lightning for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013065 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: value, depth, lat, lon
Sensor: pressure | fields: level, type, value, unit
Task: Retrieve level from dew_point with depth above the MAX(value) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013066 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: value, depth, level, ts
Sensor: sunlight | fields: value, ts, depth, qc
Task: Fetch lon from evaporation where type exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013067 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: qc, lon, level, reading
Sensor: snow_depth | fields: qc, lat, depth, value
Task: Get value from humidity where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013068 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: value, reading, ts, level
Sensor: wind_speed | fields: ts, qc, unit, lat
Task: Fetch value from sunlight where value is greater than the average of reading in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013069 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: depth, lat, type, unit
Sensor: visibility | fields: reading, lat, type, level
Task: Get lon from wind_speed where unit appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013070 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: qc, lon, depth, value
Sensor: dew_point | fields: ts, reading, level, lon
Task: Fetch lon from sunlight where qc exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013071 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: type, ts, depth, value
Sensor: temperature | fields: lon, ts, qc, reading
Task: Get level from pressure where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013072 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: qc, value, depth, level
Sensor: cloud_cover | fields: value, reading, lon, depth
Task: Retrieve reading from dew_point that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013073 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: value, lon, depth, type
Sensor: lightning | fields: ts, depth, lon, qc
Task: Retrieve level from drought_index whose type is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013074 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: depth, lat, lon, type
Sensor: drought_index | fields: level, value, qc, depth
Task: Fetch level from visibility that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013075 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: value, ts, qc, depth
Sensor: cloud_cover | fields: depth, lon, level, qc
Task: Get lat from temperature where depth exceeds the average reading from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013076 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: type, level, lon, value
Sensor: turbidity | fields: reading, type, ts, level
Task: Get value from frost where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013077 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: unit, lon, type, reading
Sensor: turbidity | fields: level, value, depth, unit
Task: Fetch depth from pressure where reading is greater than the count of of value in turbidity for matching type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013078 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: level, reading, qc, lon
Sensor: dew_point | fields: depth, lon, level, type
Task: Get depth from evaporation where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013079 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: lon, value, type, level
Sensor: dew_point | fields: qc, ts, unit, depth
Task: Fetch reading from air_quality where ts exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013080 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: reading, value, qc, level
Sensor: sunlight | fields: unit, value, lat, ts
Task: Get depth from air_quality where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013081 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: level, type, depth, ts
Sensor: wind_speed | fields: lat, ts, value, depth
Task: Fetch lat from snow_depth where reading is greater than the minimum of depth in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013082 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: reading, lon, ts, qc
Sensor: pressure | fields: type, lon, level, lat
Task: Retrieve lat from air_quality with depth above the MAX(value) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013083 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: lat, unit, value, qc
Sensor: pressure | fields: reading, value, lon, lat
Task: Get depth from dew_point where qc appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013084 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, depth, unit, type
Sensor: uv_index | fields: level, ts, qc, lat
Task: Get depth from soil_moisture where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013085 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: value, ts, level, reading
Sensor: drought_index | fields: level, type, lat, unit
Task: Retrieve reading from soil_moisture with depth above the COUNT(depth) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013086 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: depth, level, lat, ts
Sensor: cloud_cover | fields: ts, unit, qc, lat
Task: Get level from frost where value exceeds the average value from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013087 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: qc, unit, ts, value
Sensor: humidity | fields: value, lat, level, type
Task: Get reading from pressure where value exceeds the maximum depth from humidity for the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013088 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: level, qc, type, ts
Sensor: evaporation | fields: value, qc, depth, level
Task: Fetch value from lightning where type exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013089 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: unit, depth, qc, level
Sensor: turbidity | fields: level, depth, lat, ts
Task: Fetch lat from uv_index where depth exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013090 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: depth, ts, qc, unit
Sensor: wind_speed | fields: type, depth, qc, level
Task: Get level from frost where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013091 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: unit, type, depth, reading
Sensor: frost | fields: unit, reading, type, ts
Task: Get value from humidity where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013092 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: qc, lon, level, depth
Sensor: rainfall | fields: lon, lat, level, ts
Task: Retrieve reading from air_quality with depth above the AVG(reading) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013093 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: level, reading, depth, lon
Sensor: drought_index | fields: unit, lon, qc, value
Task: Fetch lat from sunlight where type exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013094 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, type, value, qc
Sensor: snow_depth | fields: reading, value, lat, ts
Task: Fetch value from wind_speed where reading is greater than the total of depth in snow_depth for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013095 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: value, level, unit, ts
Sensor: humidity | fields: lon, type, unit, reading
Task: Fetch depth from turbidity where value is greater than the average of value in humidity for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013096 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: value, reading, level, lon
Sensor: humidity | fields: ts, unit, depth, type
Task: Get lon from cloud_cover where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013097 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: depth, level, lon, unit
Sensor: lightning | fields: lat, level, lon, type
Task: Fetch depth from uv_index where unit exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013098 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: ts, lon, depth, unit
Sensor: cloud_cover | fields: depth, level, type, reading
Task: Fetch lon from drought_index where depth is greater than the maximum of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.