variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: drought_index | code: stn | fields: level, reading, value, lon
Sensor: pressure | fields: type, value, ts, depth
Task: Retrieve level from drought_index whose type is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012800 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: ts, value, unit, depth
Sensor: turbidity | fields: unit, level, value, lon
Task: Get value from temperature where depth exceeds the average value from turbidity for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012801 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: level, qc, unit, ts
Sensor: snow_depth | fields: type, lat, lon, ts
Task: Retrieve lat from frost whose depth is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012802 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: qc, value, level, ts
Sensor: visibility | fields: reading, qc, lon, value
Task: Retrieve level from air_quality with depth above the MIN(depth) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012803 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: reading, ts, depth, type
Sensor: frost | fields: ts, qc, unit, value
Task: Get lat from soil_moisture where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012804 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: value, qc, unit, lon
Sensor: wind_speed | fields: lon, reading, type, depth
Task: Fetch lat from air_quality where ts exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012805 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: qc, reading, lon, value
Sensor: sunlight | fields: value, qc, ts, lat
Task: Retrieve lat from soil_moisture with value above the MAX(reading) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012806 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: value, level, type, lat
Sensor: air_quality | fields: qc, reading, level, unit
Task: Fetch lon from snow_depth where reading is greater than the minimum of reading in air_quality for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012807 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: ts, value, qc, level
Sensor: lightning | fields: reading, lat, level, ts
Task: Get lat from dew_point where reading exceeds the count of reading from lightning for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012808 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: depth, value, ts, lon
Sensor: dew_point | fields: ts, level, qc, value
Task: Fetch lon from air_quality where depth exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012809 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: type, depth, ts, lon
Sensor: cloud_cover | fields: level, qc, reading, ts
Task: Get depth from temperature where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012810 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: ts, qc, lon, level
Sensor: uv_index | fields: ts, lon, reading, level
Task: Fetch lat from humidity where ts exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012811 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: level, qc, type, lon
Sensor: uv_index | fields: depth, lat, lon, ts
Task: Retrieve level from evaporation with value above the COUNT(depth) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012812 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: level, unit, ts, type
Sensor: drought_index | fields: unit, value, qc, lat
Task: Get depth from sunlight where depth exceeds the average reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012813 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: ts, depth, value, lon
Sensor: frost | fields: type, unit, ts, value
Task: Get value from humidity where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012814 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: reading, ts, lat, lon
Sensor: humidity | fields: ts, level, reading, lat
Task: Retrieve reading from temperature with reading above the MIN(depth) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012815 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: qc, value, lon, depth
Sensor: rainfall | fields: lon, ts, level, unit
Task: Fetch value from temperature where value is greater than the maximum of value in rainfall for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012816 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: unit, lat, level, reading
Sensor: rainfall | fields: lat, type, value, depth
Task: Fetch lon from pressure where type exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012817 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: type, depth, level, lon
Sensor: temperature | fields: unit, type, value, lon
Task: Retrieve level from soil_moisture with depth above the AVG(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012818 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: lon, qc, value, level
Sensor: snow_depth | fields: depth, ts, qc, lat
Task: Get lat from visibility where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012819 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: ts, type, lat, unit
Sensor: dew_point | fields: lat, qc, lon, value
Task: Get level from uv_index where reading exceeds the count of value from dew_point for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012820 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: lat, qc, depth, unit
Sensor: temperature | fields: lat, unit, level, depth
Task: Fetch lat from turbidity where reading is greater than the average of reading in temperature for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012821 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: value, ts, reading, lat
Sensor: humidity | fields: qc, lat, depth, unit
Task: Retrieve lat from dew_point with value above the COUNT(reading) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012822 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: lon, unit, ts, value
Sensor: uv_index | fields: level, value, qc, ts
Task: Fetch depth from wind_speed where depth is greater than the count of of value in uv_index for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012823 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lon, type, depth, unit
Sensor: soil_moisture | fields: value, ts, lat, unit
Task: Get lon from air_quality where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012824 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: level, reading, unit, qc
Sensor: evaporation | fields: reading, unit, type, depth
Task: Fetch lat from sunlight where reading is greater than the minimum of reading in evaporation for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012825 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, lon, lat, type
Sensor: dew_point | fields: qc, type, unit, ts
Task: Fetch level from soil_moisture that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012826 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: type, ts, value, lon
Sensor: soil_moisture | fields: lon, level, ts, depth
Task: Retrieve lon from evaporation with reading above the MIN(reading) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012827 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: type, qc, ts, value
Sensor: pressure | fields: unit, qc, depth, reading
Task: Get lon from lightning where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012828 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: lon, unit, level, depth
Sensor: temperature | fields: value, reading, ts, unit
Task: Retrieve value from turbidity whose depth is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012829 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: unit, reading, type, level
Sensor: evaporation | fields: ts, level, lat, value
Task: Get level from drought_index where reading exceeds the maximum reading from evaporation for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012830 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: type, value, qc, unit
Sensor: uv_index | fields: reading, type, lon, depth
Task: Get lon from lightning where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012831 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: depth, level, value, qc
Sensor: drought_index | fields: qc, lat, reading, type
Task: Get value from humidity where qc appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012832 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: qc, type, ts, depth
Sensor: pressure | fields: reading, type, lat, qc
Task: Retrieve level from drought_index whose ts is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="ts",
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": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012833 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: value, depth, type, qc
Sensor: cloud_cover | fields: level, ts, type, depth
Task: Get lat from wind_speed where type appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012834 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: level, ts, lon, qc
Sensor: snow_depth | fields: qc, lat, value, unit
Task: Retrieve depth from sunlight with value above the MIN(depth) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012835 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, depth, ts, level
Sensor: soil_moisture | fields: level, type, unit, ts
Task: Retrieve lat from cloud_cover whose ts is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012836 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: type, qc, value, ts
Sensor: humidity | fields: depth, value, qc, lat
Task: Fetch level from soil_moisture where ts exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012837 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: lon, value, reading, lat
Sensor: soil_moisture | fields: unit, lon, level, ts
Task: Retrieve depth from drought_index whose unit is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012838 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: value, level, depth, lat
Sensor: turbidity | fields: unit, reading, level, ts
Task: Retrieve level from dew_point with depth above the SUM(depth) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012839 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, qc, reading, ts
Sensor: lightning | fields: reading, type, depth, qc
Task: Get lon from wind_speed where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012840 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, depth, reading, lat
Sensor: temperature | fields: lat, ts, type, value
Task: Get level from cloud_cover where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012841 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: type, qc, value, reading
Sensor: turbidity | fields: level, depth, value, reading
Task: Fetch lat from wind_speed where depth is greater than the count of of value in turbidity for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012842 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: unit, ts, lon, lat
Sensor: lightning | fields: lon, ts, level, value
Task: Fetch depth from sunlight that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012843 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: level, ts, type, depth
Sensor: soil_moisture | fields: depth, unit, value, lat
Task: Retrieve value from uv_index whose qc is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012844 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: lat, value, reading, type
Sensor: uv_index | fields: value, qc, depth, ts
Task: Fetch depth from rainfall where reading is greater than the count of of depth in uv_index for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012845 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: depth, value, qc, unit
Sensor: dew_point | fields: lon, lat, level, ts
Task: Retrieve level from wind_speed whose ts is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012846 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: ts, unit, value, depth
Sensor: sunlight | fields: ts, lon, reading, type
Task: Retrieve lat from air_quality that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012847 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: lat, ts, depth, unit
Sensor: temperature | fields: value, lon, type, qc
Task: Fetch lat from uv_index that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012848 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, value, level, lat
Sensor: rainfall | fields: lat, lon, value, unit
Task: Fetch reading from soil_moisture where unit exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012849 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: unit, level, type, value
Sensor: soil_moisture | fields: qc, ts, type, level
Task: Get lat from humidity where type appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012850 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, ts, value, type
Sensor: snow_depth | fields: qc, level, depth, ts
Task: Fetch lon from soil_moisture where qc exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012851 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, qc, reading, depth
Sensor: sunlight | fields: value, reading, level, lat
Task: Retrieve depth from soil_moisture that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012852 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: lat, lon, value, unit
Sensor: frost | fields: type, value, level, qc
Task: Fetch value from air_quality where reading is greater than the maximum of reading in frost for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012853 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: level, type, ts, lat
Sensor: cloud_cover | fields: lat, level, value, ts
Task: Get lon from temperature where ts appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012854 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: unit, depth, value, reading
Sensor: visibility | fields: unit, lon, value, reading
Task: Retrieve reading from evaporation whose qc is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012855 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: type, lon, level, depth
Sensor: pressure | fields: unit, ts, type, reading
Task: Fetch depth from turbidity where depth is greater than the minimum of depth in pressure for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012856 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: unit, qc, depth, type
Sensor: sunlight | fields: ts, level, lat, depth
Task: Retrieve lon from turbidity whose ts is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012857 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: lat, level, ts, lon
Sensor: lightning | fields: lon, lat, unit, ts
Task: Fetch value from sunlight where type exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012858 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: unit, reading, lat, lon
Sensor: dew_point | fields: qc, lat, type, reading
Task: Retrieve value from visibility whose ts is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012859 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: lon, depth, unit, lat
Sensor: cloud_cover | fields: level, unit, reading, lon
Task: Fetch value from humidity where ts exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012860 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, depth, qc, reading
Sensor: dew_point | fields: ts, value, qc, depth
Task: Get lon from wind_speed where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012861 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: level, lon, depth, type
Sensor: soil_moisture | fields: lat, ts, reading, type
Task: Get level from humidity where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012862 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: type, level, depth, qc
Sensor: temperature | fields: depth, unit, ts, level
Task: Get value from turbidity where value exceeds the maximum reading from temperature for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012863 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: qc, ts, reading, type
Sensor: frost | fields: level, reading, value, lat
Task: Retrieve reading from turbidity whose qc is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012864 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: lon, qc, value, type
Sensor: drought_index | fields: unit, lon, type, ts
Task: Fetch lon from uv_index where reading is greater than the maximum of value in drought_index for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012865 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: level, depth, lon, unit
Sensor: rainfall | fields: level, lon, reading, lat
Task: Get level from dew_point where type appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012866 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: unit, lon, reading, qc
Sensor: dew_point | fields: lat, type, reading, unit
Task: Get lat from lightning where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012867 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: ts, unit, lat, value
Sensor: air_quality | fields: type, value, lon, qc
Task: Get reading from wind_speed where depth exceeds the average depth from air_quality for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012868 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: unit, reading, lon, qc
Sensor: humidity | fields: lat, qc, lon, depth
Task: Retrieve depth from uv_index whose depth is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012869 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: ts, type, unit, value
Sensor: rainfall | fields: unit, reading, depth, qc
Task: Fetch reading from sunlight that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012870 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: reading, ts, unit, lon
Sensor: visibility | fields: reading, lat, value, qc
Task: Fetch level from pressure where depth exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012871 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: value, type, lon, ts
Sensor: wind_speed | fields: type, lon, ts, lat
Task: Fetch level from pressure where depth exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012872 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: lon, lat, level, depth
Sensor: soil_moisture | fields: lat, type, ts, lon
Task: Fetch lon from frost where reading is greater than the total of value in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012873 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, lat, qc, reading
Sensor: lightning | fields: lat, ts, type, value
Task: Fetch value from cloud_cover where depth is greater than the count of of depth in lightning for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012874 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: lat, depth, lon, reading
Sensor: frost | fields: value, ts, type, lon
Task: Fetch level from rainfall that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012875 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: lon, unit, level, ts
Sensor: drought_index | fields: reading, qc, value, level
Task: Get lon from uv_index where unit appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012876 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: value, level, lon, unit
Sensor: temperature | fields: reading, qc, lon, depth
Task: Get lon from air_quality where depth exceeds the maximum reading from temperature for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012877 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: unit, lon, lat, reading
Sensor: drought_index | fields: depth, lon, level, type
Task: Fetch level from turbidity where value is greater than the minimum of depth in drought_index for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012878 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: reading, lon, type, level
Sensor: visibility | fields: reading, value, lon, level
Task: Retrieve reading from turbidity with reading above the SUM(value) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012879 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: reading, value, lon, qc
Sensor: soil_moisture | fields: reading, value, unit, lon
Task: Retrieve lon from visibility whose ts is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012880 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, depth, unit, qc
Sensor: turbidity | fields: type, lon, lat, reading
Task: Fetch depth from cloud_cover that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012881 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: value, qc, type, unit
Sensor: rainfall | fields: ts, level, type, lon
Task: Retrieve value from uv_index that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012882 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: unit, lat, qc, ts
Sensor: snow_depth | fields: depth, value, unit, reading
Task: Retrieve depth from visibility that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012883 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, level, ts, qc
Sensor: humidity | fields: level, lat, qc, unit
Task: Get reading from cloud_cover where depth exceeds the average value from humidity for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012884 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: depth, reading, type, unit
Sensor: temperature | fields: lat, qc, level, lon
Task: Retrieve level from rainfall with value above the AVG(depth) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012885 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: level, lon, qc, value
Sensor: snow_depth | fields: level, lat, lon, unit
Task: Fetch depth from turbidity that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012886 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: value, qc, depth, ts
Sensor: turbidity | fields: unit, depth, type, lat
Task: Retrieve lat from snow_depth whose qc is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012887 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: value, reading, lat, type
Sensor: humidity | fields: qc, lon, lat, ts
Task: Get depth from drought_index where unit appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012888 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: depth, ts, type, qc
Sensor: frost | fields: value, qc, depth, unit
Task: Fetch reading from uv_index where unit exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012889 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: level, qc, unit, depth
Sensor: frost | fields: level, type, unit, qc
Task: Fetch lat from humidity where reading is greater than the count of of depth in frost for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012890 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: type, reading, ts, depth
Sensor: rainfall | fields: type, lat, unit, level
Task: Fetch depth from lightning that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012891 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: unit, level, lon, reading
Sensor: frost | fields: unit, value, lat, level
Task: Get lon from evaporation where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012892 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: ts, qc, level, lat
Sensor: rainfall | fields: lon, lat, value, type
Task: Fetch value from soil_moisture where ts exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012893 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: depth, value, unit, level
Sensor: drought_index | fields: value, lat, ts, depth
Task: Fetch value from air_quality where ts exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012894 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: lat, level, qc, unit
Sensor: temperature | fields: ts, level, value, reading
Task: Fetch level from snow_depth that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012895 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: value, type, lat, depth
Sensor: snow_depth | fields: value, ts, depth, reading
Task: Get lon from uv_index where reading exceeds the average value from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012896 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: type, lon, level, unit
Sensor: cloud_cover | fields: type, lat, reading, unit
Task: Fetch lat from wind_speed that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012897 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: type, level, ts, qc
Sensor: cloud_cover | fields: level, qc, reading, value
Task: Fetch lat from dew_point that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012898 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: unit, lat, level, qc
Sensor: humidity | fields: level, lat, unit, qc
Task: Fetch reading from temperature that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.