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: temperature | code: mst | fields: qc, reading, type, lat
Sensor: sunlight | fields: unit, reading, qc, lat
Task: Get depth from temperature where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010800 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: type, depth, unit, lon
Sensor: wind_speed | fields: lat, lon, qc, type
Task: Get lon from snow_depth where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010801 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: reading, value, depth, qc
Sensor: frost | fields: unit, value, lat, type
Task: Fetch value from air_quality where ts exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010802 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: unit, type, level, value
Sensor: uv_index | fields: qc, lon, unit, lat
Task: Fetch level from sunlight that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010803 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: lon, qc, lat, unit
Sensor: lightning | fields: ts, qc, reading, type
Task: Fetch lat from visibility where depth exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010804 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: ts, unit, reading, lat
Sensor: uv_index | fields: reading, ts, qc, level
Task: Get level from lightning where reading exceeds the total value from uv_index for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010805 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, lat, value, ts
Sensor: dew_point | fields: value, type, depth, lon
Task: Retrieve reading from cloud_cover whose type is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010806 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: type, depth, value, qc
Sensor: sunlight | fields: ts, reading, value, unit
Task: Get lon from lightning where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010807 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: type, ts, qc, lat
Sensor: visibility | fields: depth, ts, reading, level
Task: Retrieve reading from drought_index that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010808 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: type, lat, reading, depth
Sensor: evaporation | fields: depth, unit, level, ts
Task: Retrieve value from air_quality whose unit is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010809 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: depth, value, level, type
Sensor: frost | fields: level, lat, qc, value
Task: Fetch level from uv_index where reading is greater than the count of of value in frost for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010810 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: reading, ts, lat, lon
Sensor: temperature | fields: depth, qc, reading, value
Task: Retrieve level from visibility with reading above the AVG(reading) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010811 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, lon, lat, ts
Sensor: snow_depth | fields: qc, unit, ts, level
Task: Get depth from cloud_cover where value exceeds the minimum depth from snow_depth for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010812 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: lat, unit, ts, qc
Sensor: evaporation | fields: value, level, ts, depth
Task: Retrieve lon from dew_point whose unit is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010813 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: qc, unit, ts, lat
Sensor: frost | fields: lat, depth, lon, type
Task: Get depth from rainfall where value exceeds the minimum depth from frost for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010814 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: lon, lat, reading, value
Sensor: turbidity | fields: lon, reading, type, value
Task: Retrieve value from rainfall with reading above the MAX(reading) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010815 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: depth, lon, lat, value
Sensor: drought_index | fields: ts, type, lat, level
Task: Retrieve value from pressure that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010816 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: value, ts, type, level
Sensor: frost | fields: reading, qc, value, type
Task: Fetch depth from sunlight that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010817 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: value, level, ts, lat
Sensor: cloud_cover | fields: type, depth, lat, level
Task: Fetch reading from humidity where value is greater than the total of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010818 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: depth, value, unit, lon
Sensor: wind_speed | fields: unit, value, ts, lon
Task: Get depth from turbidity where depth exceeds the total value from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010819 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: ts, qc, unit, level
Sensor: pressure | fields: lon, reading, lat, level
Task: Get lat from frost where unit appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010820 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: depth, value, type, qc
Sensor: wind_speed | fields: unit, reading, level, lat
Task: Get depth from uv_index where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010821 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, level, qc, lon
Sensor: air_quality | fields: ts, depth, unit, qc
Task: Get level from cloud_cover where type appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010822 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: lon, depth, level, lat
Sensor: air_quality | fields: value, lon, qc, ts
Task: Retrieve level from rainfall that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010823 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: qc, lon, value, unit
Sensor: uv_index | fields: type, value, unit, depth
Task: Retrieve value from lightning whose depth is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010824 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: type, lon, qc, lat
Sensor: rainfall | fields: depth, lat, value, lon
Task: Fetch reading from humidity that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010825 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: type, unit, lat, level
Sensor: uv_index | fields: value, level, ts, unit
Task: Get depth from frost where unit appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010826 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: level, depth, value, lat
Sensor: humidity | fields: ts, value, reading, type
Task: Retrieve value from pressure with value above the COUNT(value) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010827 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: value, qc, level, lon
Sensor: air_quality | fields: depth, reading, unit, qc
Task: Fetch value from uv_index where value is greater than the maximum of value in air_quality for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010828 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: depth, ts, lat, level
Sensor: air_quality | fields: value, level, qc, depth
Task: Fetch reading from cloud_cover where depth exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010829 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: ts, qc, unit, value
Sensor: sunlight | fields: reading, value, lon, unit
Task: Retrieve lat from turbidity with depth above the COUNT(value) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010830 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, type, lat, qc
Sensor: snow_depth | fields: depth, lon, reading, level
Task: Retrieve depth from wind_speed with value above the AVG(reading) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010831 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: unit, reading, lon, type
Sensor: soil_moisture | fields: type, reading, lon, depth
Task: Retrieve level from air_quality that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010832 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: type, value, qc, ts
Sensor: snow_depth | fields: reading, qc, lon, value
Task: Retrieve depth from humidity with reading above the MIN(value) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010833 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: value, unit, level, depth
Sensor: air_quality | fields: lat, reading, value, depth
Task: Get lon from rainfall where depth exceeds the count of reading from air_quality for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010834 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, qc, level, value
Sensor: frost | fields: depth, reading, value, level
Task: Retrieve value from soil_moisture that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010835 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: value, reading, lat, depth
Sensor: drought_index | fields: lat, depth, value, reading
Task: Retrieve reading from soil_moisture that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010836 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: value, level, unit, lat
Sensor: air_quality | fields: level, unit, type, ts
Task: Retrieve depth from uv_index with depth above the SUM(depth) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010837 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: unit, value, depth, type
Sensor: cloud_cover | fields: unit, qc, lat, reading
Task: Get lon from drought_index where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010838 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: qc, level, lon, depth
Sensor: snow_depth | fields: depth, level, lon, ts
Task: Get level from temperature where reading exceeds the count of depth from snow_depth for the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010839 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: type, level, value, depth
Sensor: evaporation | fields: unit, level, reading, type
Task: Fetch value from temperature that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010840 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: ts, unit, reading, level
Sensor: drought_index | fields: reading, lat, qc, type
Task: Get value from snow_depth where unit appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010841 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: ts, type, depth, lon
Sensor: wind_speed | fields: lat, unit, reading, lon
Task: Retrieve lon from uv_index with depth above the COUNT(reading) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010842 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: unit, qc, lon, value
Sensor: humidity | fields: qc, reading, value, depth
Task: Get depth from turbidity where value exceeds the minimum value from humidity for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010843 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: lat, lon, reading, qc
Sensor: evaporation | fields: lon, reading, qc, unit
Task: Retrieve depth from air_quality that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010844 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, lon, unit, depth
Sensor: drought_index | fields: qc, level, value, lat
Task: Retrieve lat from soil_moisture with reading above the SUM(reading) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010845 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: value, reading, level, lon
Sensor: snow_depth | fields: unit, type, reading, depth
Task: Retrieve lat from turbidity that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010846 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, reading, value, level
Sensor: visibility | fields: lat, type, value, unit
Task: Fetch lat from cloud_cover where depth exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010847 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: value, unit, lat, ts
Sensor: frost | fields: level, ts, reading, type
Task: Get reading from wind_speed where value exceeds the maximum value from frost for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010848 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: qc, ts, reading, type
Sensor: visibility | fields: lat, unit, type, lon
Task: Fetch value from temperature where reading is greater than the average of value in visibility for matching type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010849 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: reading, lat, qc, level
Sensor: pressure | fields: qc, type, value, lat
Task: Get depth from humidity where reading exceeds the count of reading from pressure for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010850 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: depth, value, ts, type
Sensor: visibility | fields: value, lat, unit, qc
Task: Get level from drought_index where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010851 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: ts, reading, type, lon
Sensor: humidity | fields: type, reading, value, lon
Task: Get lat from turbidity where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010852 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: lon, type, level, lat
Sensor: snow_depth | fields: depth, type, value, level
Task: Get level from drought_index where unit appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010853 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: unit, reading, lat, qc
Sensor: humidity | fields: ts, depth, unit, type
Task: Retrieve reading from snow_depth whose type is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010854 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: lon, reading, depth, value
Sensor: turbidity | fields: ts, lat, qc, value
Task: Retrieve level from visibility whose unit is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010855 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: level, type, ts, reading
Sensor: wind_speed | fields: lon, depth, ts, unit
Task: Get depth from turbidity where qc appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010856 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: lat, level, qc, lon
Sensor: temperature | fields: ts, lon, level, type
Task: Retrieve lat from sunlight that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010857 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: level, ts, reading, value
Sensor: snow_depth | fields: lat, value, reading, unit
Task: Fetch lon from visibility where depth is greater than the minimum of depth in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010858 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: qc, type, level, lat
Sensor: air_quality | fields: ts, reading, level, qc
Task: Retrieve depth from lightning that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010859 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: lat, lon, qc, type
Sensor: humidity | fields: qc, value, type, reading
Task: Get lon from dew_point where reading exceeds the average depth from humidity for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010860 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: lat, level, value, qc
Sensor: rainfall | fields: ts, type, value, depth
Task: Get lon from wind_speed where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010861 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: reading, ts, unit, lon
Sensor: uv_index | fields: reading, lon, qc, ts
Task: Fetch lat from temperature that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010862 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: qc, type, value, unit
Sensor: frost | fields: lat, reading, depth, lon
Task: Get level from pressure where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010863 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: depth, qc, type, level
Sensor: soil_moisture | fields: lon, depth, level, unit
Task: Fetch value from wind_speed that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010864 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: reading, depth, qc, level
Sensor: snow_depth | fields: depth, type, lon, ts
Task: Retrieve lat from rainfall with value above the COUNT(reading) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010865 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: unit, value, type, lat
Sensor: soil_moisture | fields: ts, value, depth, unit
Task: Retrieve lat from pressure whose depth is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010866 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, unit, lat, depth
Sensor: frost | fields: lat, type, reading, depth
Task: Fetch lon from snow_depth where reading is greater than the average of depth in frost for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010867 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: qc, reading, ts, level
Sensor: wind_speed | fields: reading, lat, value, level
Task: Retrieve level from temperature with depth above the MIN(depth) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010868 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: ts, qc, lon, depth
Sensor: drought_index | fields: qc, lat, type, value
Task: Retrieve depth from turbidity with value above the AVG(reading) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010869 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, ts, reading, type
Sensor: drought_index | fields: type, value, level, reading
Task: Fetch value from snow_depth that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010870 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: lat, unit, depth, level
Sensor: snow_depth | fields: qc, type, value, lon
Task: Retrieve reading from sunlight that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010871 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: type, depth, reading, lon
Sensor: snow_depth | fields: level, reading, ts, unit
Task: Retrieve depth from cloud_cover whose type is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010872 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: level, type, lat, ts
Sensor: turbidity | fields: lon, type, unit, lat
Task: Retrieve depth from pressure that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010873 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: reading, lon, unit, depth
Sensor: snow_depth | fields: ts, qc, reading, lon
Task: Retrieve lat from evaporation whose ts is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010874 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: level, qc, ts, lat
Sensor: dew_point | fields: ts, reading, unit, type
Task: Retrieve level from evaporation whose depth is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010875 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: value, ts, type, unit
Sensor: uv_index | fields: lat, depth, unit, qc
Task: Fetch reading from wind_speed where type exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010876 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: unit, level, depth, value
Sensor: frost | fields: qc, reading, type, value
Task: Get reading from humidity where value exceeds the maximum reading from frost for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010877 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: value, ts, level, unit
Sensor: air_quality | fields: value, lat, type, ts
Task: Retrieve value from drought_index whose qc is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010878 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: ts, value, level, depth
Sensor: evaporation | fields: lat, qc, lon, reading
Task: Retrieve depth from dew_point with value above the MAX(depth) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010879 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: level, depth, lon, value
Sensor: lightning | fields: reading, type, depth, lat
Task: Retrieve reading from turbidity with value above the COUNT(reading) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010880 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: reading, ts, value, depth
Sensor: temperature | fields: reading, lon, depth, type
Task: Retrieve level from air_quality whose qc is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010881 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: qc, level, reading, lat
Sensor: turbidity | fields: reading, lat, qc, ts
Task: Retrieve value from frost whose qc is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010882 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: ts, type, value, level
Sensor: snow_depth | fields: lon, level, ts, qc
Task: Fetch depth from dew_point where ts exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010883 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: unit, ts, reading, type
Sensor: snow_depth | fields: unit, lat, reading, ts
Task: Retrieve depth from lightning with reading above the COUNT(depth) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010884 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: unit, value, ts, qc
Sensor: frost | fields: reading, lon, depth, type
Task: Fetch level from turbidity where reading is greater than the maximum of reading in frost for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010885 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: qc, ts, lat, depth
Sensor: evaporation | fields: level, value, unit, type
Task: Fetch lon from uv_index that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010886 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: unit, lat, ts, type
Sensor: temperature | fields: value, ts, level, lon
Task: Retrieve depth from visibility that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010887 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: depth, reading, level, ts
Sensor: temperature | fields: reading, unit, lat, level
Task: Get lon from uv_index where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010888 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: value, lon, ts, lat
Sensor: uv_index | fields: value, ts, reading, type
Task: Retrieve value from rainfall with depth above the AVG(depth) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010889 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: depth, ts, qc, value
Sensor: soil_moisture | fields: lon, level, ts, qc
Task: Get reading from rainfall where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010890 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: reading, lat, type, qc
Sensor: dew_point | fields: type, level, lat, lon
Task: Get lon from turbidity where value exceeds the total reading from dew_point for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010891 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: type, lon, lat, level
Sensor: humidity | fields: type, level, lat, unit
Task: Fetch reading from air_quality where value is greater than the maximum of depth in humidity for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010892 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: depth, level, unit, qc
Sensor: cloud_cover | fields: reading, qc, lat, value
Task: Retrieve level from lightning whose ts is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010893 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: lon, depth, unit, lat
Sensor: temperature | fields: level, depth, lat, reading
Task: Retrieve reading from turbidity whose ts is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010894 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: reading, lon, ts, qc
Sensor: visibility | fields: reading, lat, depth, unit
Task: Fetch value from turbidity where unit exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010895 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: qc, lat, depth, unit
Sensor: frost | fields: type, qc, lat, lon
Task: Fetch depth from lightning that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010896 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: qc, ts, type, level
Sensor: evaporation | fields: depth, qc, unit, value
Task: Retrieve level from humidity that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010897 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: type, reading, ts, qc
Sensor: frost | fields: reading, value, ts, lon
Task: Retrieve lon from uv_index with depth above the MAX(reading) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010898 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: value, lat, unit, depth
Sensor: turbidity | fields: level, lon, value, ts
Task: Get depth from drought_index where value exceeds the minimum depth from turbidity for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.