variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: depth, unit, lat, type
Sensor: soil_moisture | fields: reading, lon, type, lat
Task: Retrieve level from cloud_cover with depth above the MAX(value) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073200 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: ts, lon, unit, value
Sensor: dew_point | fields: lat, type, value, unit
Task: Fetch depth from visibility that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073201 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: qc, ts, unit, lon
Sensor: pressure | fields: lat, depth, reading, ts
Task: Get reading from lightning where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073202 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, type, value, unit
Sensor: sunlight | fields: reading, lon, ts, lat
Task: Get lat from cloud_cover where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073203 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: level, ts, unit, depth
Sensor: sunlight | fields: qc, lon, unit, lat
Task: Retrieve depth from pressure that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073204 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, level, reading, depth
Sensor: sunlight | fields: lon, lat, ts, unit
Task: Fetch reading from cloud_cover where value is greater than the count of of reading in sunlight for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073205 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: depth, value, type, level
Sensor: uv_index | fields: qc, ts, unit, depth
Task: Retrieve lat from temperature whose depth is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073206 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lon, type, ts, reading
Sensor: soil_moisture | fields: depth, ts, lon, unit
Task: Retrieve depth from air_quality whose depth is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073207 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: qc, ts, reading, lat
Sensor: lightning | fields: level, reading, lon, value
Task: Get depth from snow_depth where reading exceeds the average reading from lightning for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073208 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: type, unit, value, level
Sensor: temperature | fields: level, type, unit, ts
Task: Retrieve level from humidity whose depth is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073209 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: ts, level, lon, type
Sensor: drought_index | fields: qc, reading, ts, value
Task: Retrieve lat from air_quality with depth above the AVG(value) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073210 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: lon, depth, value, reading
Sensor: dew_point | fields: lat, ts, value, unit
Task: Retrieve reading from sunlight that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073211 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: type, unit, level, lon
Sensor: frost | fields: lat, value, level, unit
Task: Get depth from pressure where depth exceeds the total depth from frost for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073212 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: unit, type, level, qc
Sensor: cloud_cover | fields: ts, qc, unit, type
Task: Retrieve lon from uv_index with value above the SUM(reading) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073213 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: value, unit, lon, qc
Sensor: visibility | fields: ts, unit, level, depth
Task: Retrieve value from uv_index that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073214 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: type, level, qc, ts
Sensor: snow_depth | fields: value, lon, type, lat
Task: Retrieve value from uv_index whose depth is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073215 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: value, ts, unit, reading
Sensor: humidity | fields: type, level, unit, reading
Task: Get lon from dew_point where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
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",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073216 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: lon, unit, ts, type
Sensor: visibility | fields: lon, depth, ts, type
Task: Retrieve value from cloud_cover whose type is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073217 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: qc, ts, depth, level
Sensor: evaporation | fields: qc, level, lat, lon
Task: Get lon from pressure where reading exceeds the minimum depth from evaporation for the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073218 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: type, ts, level, lat
Sensor: lightning | fields: level, reading, value, ts
Task: Fetch level from wind_speed that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073219 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: reading, ts, value, level
Sensor: drought_index | fields: qc, value, lat, unit
Task: Retrieve reading from uv_index that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073220 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: value, depth, unit, level
Sensor: soil_moisture | fields: unit, ts, value, type
Task: Retrieve level from turbidity whose unit is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073221 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: qc, ts, depth, level
Sensor: drought_index | fields: qc, lon, lat, reading
Task: Fetch reading from evaporation where depth is greater than the count of of reading in drought_index for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073222 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: reading, lat, type, qc
Sensor: dew_point | fields: type, depth, unit, qc
Task: Get depth from air_quality where depth exceeds the average value from dew_point for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073223 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: reading, level, type, ts
Sensor: pressure | fields: lon, unit, type, ts
Task: Get lon from dew_point where type appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073224 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: value, qc, depth, reading
Sensor: temperature | fields: depth, lon, unit, level
Task: Get lat from frost where depth exceeds the count of reading from temperature for the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073225 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: depth, qc, reading, lat
Sensor: uv_index | fields: level, value, type, ts
Task: Retrieve lon from evaporation whose unit is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073226 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: qc, level, lon, ts
Sensor: frost | fields: type, lon, value, level
Task: Fetch lat from drought_index that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073227 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: lon, reading, level, ts
Sensor: air_quality | fields: depth, level, type, qc
Task: Retrieve lon from visibility with reading above the COUNT(depth) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073228 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: type, depth, level, lon
Sensor: lightning | fields: ts, qc, reading, depth
Task: Get depth from air_quality where unit appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073229 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: ts, lat, type, depth
Sensor: snow_depth | fields: lat, depth, reading, unit
Task: Retrieve level from drought_index with reading above the SUM(value) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073230 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: qc, value, ts, unit
Sensor: air_quality | fields: value, qc, depth, reading
Task: Retrieve value from visibility with depth above the SUM(reading) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073231 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, ts, unit, reading
Sensor: drought_index | fields: reading, lon, level, ts
Task: Retrieve depth from cloud_cover whose ts is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073232 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, level, ts, value
Sensor: temperature | fields: unit, type, value, depth
Task: Get lon from wind_speed where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073233 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: lon, ts, unit, level
Sensor: air_quality | fields: depth, type, lat, qc
Task: Get depth from frost where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073234 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: depth, lat, level, ts
Sensor: air_quality | fields: unit, lon, qc, reading
Task: Retrieve depth from soil_moisture with depth above the MAX(reading) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073235 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: lat, reading, value, lon
Sensor: air_quality | fields: level, lat, value, lon
Task: Retrieve value from rainfall that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073236 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: ts, qc, lon, reading
Sensor: air_quality | fields: qc, type, level, unit
Task: Get lat from frost where reading exceeds the total depth from air_quality for the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073237 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: ts, lon, depth, value
Sensor: turbidity | fields: qc, unit, depth, type
Task: Retrieve level from uv_index with value above the COUNT(depth) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073238 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: unit, value, lon, reading
Sensor: frost | fields: unit, ts, qc, reading
Task: Fetch value from lightning where qc exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073239 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: lat, reading, lon, ts
Sensor: sunlight | fields: reading, qc, ts, value
Task: Fetch depth from frost where value is greater than the count of of value in sunlight for matching ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073240 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: depth, qc, ts, value
Sensor: drought_index | fields: qc, reading, unit, lon
Task: Get value from air_quality where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073241 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lat, lon, qc, type
Sensor: frost | fields: qc, lon, level, unit
Task: Get value from temperature where unit appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073242 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lon, depth, value, qc
Sensor: lightning | fields: ts, reading, lat, qc
Task: Get level from pressure where unit appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073243 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: lon, level, depth, unit
Sensor: turbidity | fields: type, lat, value, reading
Task: Get lon from drought_index where ts appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073244 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: level, depth, reading, qc
Sensor: drought_index | fields: qc, level, depth, type
Task: Fetch reading from temperature that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"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_073245 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: lon, lat, qc, level
Sensor: rainfall | fields: ts, lat, qc, value
Task: Fetch lon from dew_point where value is greater than the average of reading in rainfall for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073246 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: qc, lat, type, level
Sensor: evaporation | fields: unit, value, ts, depth
Task: Retrieve lat from pressure that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073247 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: reading, value, depth, qc
Sensor: dew_point | fields: level, value, lat, reading
Task: Get level from lightning where value exceeds the average depth from dew_point for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073248 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: value, depth, lat, level
Sensor: frost | fields: qc, ts, level, type
Task: Get depth from evaporation where depth exceeds the average value from frost for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073249 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: reading, qc, depth, ts
Sensor: rainfall | fields: ts, lat, qc, type
Task: Get level from pressure where depth exceeds the count of reading from rainfall for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073250 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: reading, qc, unit, level
Sensor: turbidity | fields: lat, lon, ts, qc
Task: Retrieve depth from uv_index whose ts is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073251 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: qc, depth, reading, level
Sensor: cloud_cover | fields: depth, value, ts, qc
Task: Retrieve lon from humidity that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073252 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: lat, unit, level, lon
Sensor: uv_index | fields: lat, ts, depth, value
Task: Get reading from cloud_cover where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073253 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: type, qc, lat, unit
Sensor: dew_point | fields: lon, type, qc, unit
Task: Fetch value from wind_speed where reading is greater than the total of value in dew_point for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073254 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: reading, value, qc, level
Sensor: lightning | fields: qc, level, type, lon
Task: Retrieve depth from rainfall whose depth is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073255 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: value, lon, level, qc
Sensor: cloud_cover | fields: qc, value, reading, lat
Task: Fetch value from temperature where reading is greater than the average of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073256 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: reading, unit, lat, depth
Sensor: cloud_cover | fields: qc, value, ts, depth
Task: Fetch reading from rainfall where value is greater than the average of depth in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073257 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: ts, lat, lon, qc
Sensor: dew_point | fields: type, lon, level, reading
Task: Retrieve level from drought_index that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073258 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: reading, ts, level, value
Sensor: dew_point | fields: type, level, value, lon
Task: Get level from turbidity where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073259 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: type, depth, lon, reading
Sensor: frost | fields: value, ts, type, depth
Task: Retrieve lon from wind_speed with value above the SUM(reading) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073260 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: unit, qc, value, lon
Sensor: snow_depth | fields: type, depth, qc, unit
Task: Retrieve level from visibility with depth above the MIN(reading) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073261 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: lon, type, level, lat
Sensor: visibility | fields: qc, reading, lon, unit
Task: Retrieve reading from dew_point that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073262 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, reading, lon, level
Sensor: uv_index | fields: reading, unit, type, lat
Task: Get value from soil_moisture where unit appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073263 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: type, reading, lon, level
Sensor: pressure | fields: lon, level, lat, ts
Task: Fetch value from temperature that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073264 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: type, value, unit, lon
Sensor: turbidity | fields: reading, value, lon, type
Task: Get lat from dew_point where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073265 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: value, qc, level, ts
Sensor: temperature | fields: depth, lon, reading, qc
Task: Get depth from evaporation where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073266 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, lat, depth, value
Sensor: evaporation | fields: type, depth, ts, lat
Task: Fetch value from wind_speed where type exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073267 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: qc, lon, value, unit
Sensor: evaporation | fields: lon, qc, unit, depth
Task: Retrieve reading from sunlight that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073268 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: unit, ts, type, value
Sensor: temperature | fields: qc, unit, reading, ts
Task: Retrieve value from pressure that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073269 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: ts, lat, level, qc
Sensor: humidity | fields: unit, qc, lat, lon
Task: Fetch reading from turbidity that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073270 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: unit, depth, reading, lat
Sensor: lightning | fields: ts, type, depth, lat
Task: Retrieve lat from turbidity with value above the MIN(reading) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073271 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: reading, ts, unit, qc
Sensor: cloud_cover | fields: depth, ts, type, qc
Task: Fetch level from visibility where depth is greater than the average of reading in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073272 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: reading, type, value, ts
Sensor: drought_index | fields: reading, lat, type, level
Task: Retrieve value from uv_index that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073273 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: level, reading, depth, lat
Sensor: lightning | fields: lat, type, reading, value
Task: Fetch lon from drought_index where depth is greater than the total of depth in lightning for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073274 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: depth, unit, qc, ts
Sensor: drought_index | fields: lat, depth, ts, qc
Task: Get lon from temperature where unit appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073275 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: level, depth, ts, reading
Sensor: lightning | fields: lat, qc, depth, reading
Task: Get lat from wind_speed where type appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073276 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: value, lon, qc, lat
Sensor: dew_point | fields: depth, type, value, lat
Task: Get depth from frost where value exceeds the average depth from dew_point for the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073277 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: value, type, ts, qc
Sensor: humidity | fields: lon, depth, type, lat
Task: Fetch lon from drought_index where type exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073278 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: level, value, qc, lon
Sensor: soil_moisture | fields: type, ts, depth, lon
Task: Retrieve lon from sunlight whose qc is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073279 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: unit, value, lon, type
Sensor: wind_speed | fields: type, lon, qc, level
Task: Get depth from lightning where qc appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073280 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: type, qc, level, value
Sensor: air_quality | fields: qc, lon, unit, lat
Task: Get value from lightning where reading exceeds the maximum value from air_quality for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073281 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: reading, unit, value, type
Sensor: frost | fields: value, lat, qc, ts
Task: Fetch reading from uv_index that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073282 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: unit, lon, type, reading
Sensor: visibility | fields: type, reading, unit, depth
Task: Retrieve level from turbidity that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073283 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: lon, unit, depth, type
Sensor: frost | fields: qc, unit, value, ts
Task: Retrieve value from sunlight that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073284 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: lat, ts, qc, depth
Sensor: temperature | fields: reading, ts, value, type
Task: Get value from air_quality where type appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073285 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: value, ts, qc, lat
Sensor: uv_index | fields: lon, type, depth, unit
Task: Get lat from evaporation where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073286 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: type, reading, unit, lat
Sensor: sunlight | fields: ts, lat, qc, unit
Task: Get level from wind_speed where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073287 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, ts, level, reading
Sensor: dew_point | fields: unit, qc, lat, value
Task: Fetch lat from soil_moisture that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073288 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: value, depth, qc, lat
Sensor: visibility | fields: reading, ts, level, depth
Task: Get lon from lightning where ts appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073289 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, reading, lon, qc
Sensor: pressure | fields: value, reading, qc, ts
Task: Fetch depth from snow_depth where value is greater than the count of of depth in pressure for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073290 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: depth, level, lon, type
Sensor: snow_depth | fields: lon, type, reading, qc
Task: Fetch reading from uv_index where value is greater than the total of value in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073291 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: lon, ts, unit, level
Sensor: rainfall | fields: lon, level, ts, reading
Task: Get value from pressure where qc appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073292 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: value, type, ts, depth
Sensor: frost | fields: level, value, reading, lon
Task: Get value from air_quality where reading exceeds the average value from frost for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073293 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: type, lon, unit, qc
Sensor: rainfall | fields: qc, level, unit, lon
Task: Retrieve depth from drought_index whose depth is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073294 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, type, value, qc
Sensor: temperature | fields: unit, qc, type, reading
Task: Fetch value from soil_moisture that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073295 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: reading, ts, depth, level
Sensor: drought_index | fields: lon, ts, type, reading
Task: Get depth from frost where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073296 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: reading, lat, depth, ts
Sensor: cloud_cover | fields: value, level, reading, type
Task: Get lat from frost where ts appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073297 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, value, lat, type
Sensor: rainfall | fields: type, level, unit, reading
Task: Retrieve lon from wind_speed whose qc is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073298 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: depth, level, unit, lat
Sensor: lightning | fields: type, reading, lon, qc
Task: Retrieve lon from rainfall with reading above the SUM(depth) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.