variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: temperature | code: ref | fields: lon, qc, depth, ts
Sensor: snow_depth | fields: reading, level, lon, depth
Task: Retrieve lon from temperature whose type is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004400 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: depth, value, qc, type
Sensor: uv_index | fields: lon, lat, reading, value
Task: Get depth from visibility where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004401 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: depth, reading, value, ts
Sensor: rainfall | fields: depth, reading, lat, value
Task: Get lat from wind_speed where reading exceeds the average reading from rainfall for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004402 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: value, lat, reading, unit
Sensor: uv_index | fields: unit, ts, lon, depth
Task: Retrieve reading from humidity with depth above the SUM(value) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004403 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, unit, lon, ts
Sensor: air_quality | fields: unit, reading, lon, value
Task: Retrieve reading from cloud_cover whose unit is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004404 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: value, qc, lat, type
Sensor: sunlight | fields: unit, lat, level, reading
Task: Retrieve lon from cloud_cover that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"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_004405 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: unit, qc, reading, type
Sensor: drought_index | fields: reading, value, lat, ts
Task: Get reading from wind_speed where reading exceeds the count of reading from drought_index for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004406 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: type, qc, lat, unit
Sensor: rainfall | fields: lon, qc, type, depth
Task: Get level from temperature where qc appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004407 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: lat, ts, unit, value
Sensor: drought_index | fields: value, type, qc, depth
Task: Get level from snow_depth where value exceeds the average reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004408 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: value, depth, reading, lat
Sensor: uv_index | fields: lon, value, lat, level
Task: Fetch level from temperature where depth is greater than the average of reading in uv_index for matching type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004409 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: lon, qc, reading, lat
Sensor: soil_moisture | fields: level, lat, qc, reading
Task: Retrieve reading from air_quality that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004410 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: ts, lon, type, depth
Sensor: frost | fields: reading, depth, ts, type
Task: Fetch value from dew_point where depth exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004411 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: level, depth, qc, lon
Sensor: pressure | fields: lat, type, depth, level
Task: Get lat from lightning where depth exceeds the maximum value from pressure for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004412 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: lon, depth, unit, lat
Sensor: soil_moisture | fields: qc, unit, value, lon
Task: Get lon from rainfall where reading exceeds the average reading from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004413 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: reading, depth, lat, value
Sensor: soil_moisture | fields: depth, ts, reading, unit
Task: Fetch lon from frost that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004414 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: type, depth, value, level
Sensor: snow_depth | fields: unit, type, level, qc
Task: Fetch lon from wind_speed that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004415 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: value, reading, type, lat
Sensor: frost | fields: ts, lat, level, unit
Task: Fetch lon from visibility that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004416 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: type, level, unit, qc
Sensor: air_quality | fields: value, reading, lon, type
Task: Retrieve lat from wind_speed whose type is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004417 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: level, lat, type, lon
Sensor: wind_speed | fields: value, ts, reading, qc
Task: Get lat from air_quality where ts appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004418 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: type, value, level, lon
Sensor: rainfall | fields: unit, lat, qc, depth
Task: Retrieve level from temperature whose depth is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004419 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, ts, lat, value
Sensor: drought_index | fields: depth, type, unit, level
Task: Retrieve reading from wind_speed with depth above the MAX(depth) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004420 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: depth, reading, level, qc
Sensor: dew_point | fields: depth, value, level, ts
Task: Fetch level from visibility that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004421 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: lat, ts, value, depth
Sensor: sunlight | fields: reading, ts, depth, type
Task: Retrieve lat from uv_index whose qc is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004422 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: ts, reading, depth, lat
Sensor: frost | fields: type, depth, lon, ts
Task: Retrieve depth from rainfall that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004423 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: value, unit, depth, ts
Sensor: humidity | fields: level, qc, value, unit
Task: Retrieve lon from cloud_cover whose ts is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004424 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: lon, value, unit, depth
Sensor: lightning | fields: qc, ts, level, lat
Task: Retrieve depth from sunlight that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004425 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: unit, lon, depth, qc
Sensor: dew_point | fields: ts, lat, reading, value
Task: Fetch level from humidity where depth is greater than the total of value in dew_point for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004426 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, level, unit, ts
Sensor: temperature | fields: reading, level, unit, ts
Task: Get lon from soil_moisture where reading exceeds the average value from temperature for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004427 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: lat, qc, type, value
Sensor: cloud_cover | fields: type, ts, depth, lon
Task: Retrieve level from dew_point whose unit is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004428 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: value, type, unit, lon
Sensor: rainfall | fields: ts, depth, reading, lon
Task: Fetch reading from air_quality that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004429 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: unit, depth, lat, value
Sensor: turbidity | fields: level, lat, type, value
Task: Retrieve reading from dew_point that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004430 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: depth, lat, type, level
Sensor: turbidity | fields: qc, reading, depth, type
Task: Retrieve depth from evaporation with value above the AVG(value) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004431 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: unit, type, reading, value
Sensor: turbidity | fields: type, depth, qc, value
Task: Retrieve depth from evaporation with reading above the AVG(depth) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004432 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: type, unit, ts, level
Sensor: drought_index | fields: value, reading, type, lon
Task: Get value from frost where unit appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004433 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: level, qc, reading, type
Sensor: temperature | fields: lon, value, depth, ts
Task: Get lon from drought_index where depth exceeds the maximum depth from temperature for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004434 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: reading, qc, depth, value
Sensor: frost | fields: ts, value, qc, lon
Task: Retrieve lon from air_quality with value above the MIN(depth) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004435 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, type, unit, value
Sensor: sunlight | fields: lat, unit, lon, level
Task: Fetch value from soil_moisture where depth is greater than the total of depth in sunlight for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004436 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: level, lon, lat, qc
Sensor: sunlight | fields: level, qc, reading, depth
Task: Fetch reading from evaporation where reading is greater than the average of depth in sunlight for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004437 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: reading, lon, ts, level
Sensor: drought_index | fields: type, value, depth, reading
Task: Retrieve depth from rainfall whose type is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004438 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: lon, qc, reading, lat
Sensor: visibility | fields: value, qc, depth, level
Task: Fetch value from drought_index where qc exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004439 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: lat, unit, depth, lon
Sensor: frost | fields: ts, type, value, depth
Task: Get reading from visibility where depth appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004440 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: lat, value, depth, type
Sensor: soil_moisture | fields: type, reading, value, unit
Task: Get value from sunlight where depth appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004441 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: qc, level, lat, unit
Sensor: cloud_cover | fields: level, depth, qc, value
Task: Fetch level from evaporation where ts exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004442 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: type, reading, qc, level
Sensor: visibility | fields: value, unit, depth, lat
Task: Retrieve level from air_quality that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004443 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: value, unit, type, depth
Sensor: air_quality | fields: lat, lon, unit, type
Task: Fetch level from humidity that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004444 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: unit, ts, lat, type
Sensor: frost | fields: unit, depth, value, type
Task: Fetch lon from evaporation where value is greater than the count of of depth in frost for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004445 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: level, lat, unit, type
Sensor: snow_depth | fields: value, level, type, lat
Task: Retrieve level from drought_index whose unit is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004446 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: depth, qc, lon, ts
Sensor: frost | fields: level, qc, lat, lon
Task: Fetch lat from lightning that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004447 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: level, lat, type, unit
Sensor: temperature | fields: type, lat, level, qc
Task: Get lon from rainfall where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004448 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: value, level, reading, qc
Sensor: uv_index | fields: reading, level, value, ts
Task: Retrieve value from evaporation with value above the AVG(depth) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004449 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: level, depth, lat, ts
Sensor: wind_speed | fields: level, depth, lat, ts
Task: Get level from soil_moisture where qc appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004450 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, ts, depth, level
Sensor: sunlight | fields: type, reading, unit, qc
Task: Fetch level from soil_moisture where reading is greater than the maximum of reading in sunlight for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004451 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: value, type, lon, ts
Sensor: snow_depth | fields: depth, value, lat, level
Task: Fetch reading from uv_index that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004452 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lon, value, level, qc
Sensor: air_quality | fields: lon, unit, qc, lat
Task: Retrieve lat from pressure with value above the AVG(reading) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004453 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: lat, ts, unit, qc
Sensor: rainfall | fields: value, type, qc, ts
Task: Retrieve level from sunlight with value above the COUNT(value) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004454 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: ts, lon, lat, type
Sensor: humidity | fields: level, reading, ts, qc
Task: Retrieve reading from rainfall with depth above the MAX(depth) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004455 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: value, lon, lat, type
Sensor: air_quality | fields: lat, value, level, ts
Task: Fetch depth from pressure that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004456 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: depth, lat, lon, level
Sensor: turbidity | fields: lat, level, value, ts
Task: Retrieve value from rainfall that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004457 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lon, ts, depth, reading
Sensor: sunlight | fields: qc, unit, lon, ts
Task: Get lat from air_quality where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004458 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: lat, depth, qc, lon
Sensor: visibility | fields: depth, level, type, lon
Task: Fetch lat from drought_index where type exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004459 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: depth, lon, qc, unit
Sensor: temperature | fields: type, unit, depth, ts
Task: Get value from dew_point where qc appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004460 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: unit, reading, lon, lat
Sensor: soil_moisture | fields: value, reading, ts, lon
Task: Retrieve reading from frost that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004461 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, type, reading, lat
Sensor: turbidity | fields: ts, reading, depth, level
Task: Get lat from cloud_cover where reading exceeds the total reading from turbidity for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004462 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: unit, qc, lat, lon
Sensor: dew_point | fields: ts, qc, type, depth
Task: Get lon from snow_depth where unit appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004463 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: ts, reading, lat, qc
Sensor: rainfall | fields: ts, reading, lon, level
Task: Retrieve value from visibility whose type is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004464 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: lon, reading, type, value
Sensor: soil_moisture | fields: qc, level, reading, unit
Task: Fetch depth from sunlight where ts exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004465 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: depth, type, unit, qc
Sensor: turbidity | fields: ts, depth, value, type
Task: Fetch lon from sunlight that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004466 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: qc, level, reading, lat
Sensor: air_quality | fields: type, qc, depth, ts
Task: Retrieve depth from sunlight with value above the AVG(value) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004467 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: type, value, lon, unit
Sensor: frost | fields: depth, qc, ts, lon
Task: Retrieve depth from lightning whose qc is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004468 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, ts, lat, reading
Sensor: air_quality | fields: qc, ts, depth, value
Task: Retrieve level from cloud_cover with value above the AVG(reading) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004469 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: unit, lat, ts, value
Sensor: visibility | fields: type, level, lat, ts
Task: Get lat from dew_point where depth exceeds the count of depth from visibility for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004470 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: lat, depth, lon, reading
Sensor: soil_moisture | fields: unit, type, lon, lat
Task: Fetch depth from air_quality where ts exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004471 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: value, lon, depth, lat
Sensor: rainfall | fields: level, lat, type, unit
Task: Retrieve lat from sunlight with value above the AVG(value) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004472 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: depth, ts, level, type
Sensor: wind_speed | fields: unit, lon, depth, qc
Task: Retrieve lon from pressure with reading above the AVG(depth) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004473 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: ts, type, depth, qc
Sensor: pressure | fields: value, reading, level, lon
Task: Get value from sunlight where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004474 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: ts, lat, reading, value
Sensor: humidity | fields: qc, lon, depth, ts
Task: Fetch depth from lightning where ts exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004475 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: value, lat, qc, reading
Sensor: evaporation | fields: type, reading, lon, lat
Task: Retrieve depth from cloud_cover with depth above the MAX(depth) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004476 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: value, unit, type, ts
Sensor: wind_speed | fields: depth, lon, type, reading
Task: Retrieve level from evaporation that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004477 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: depth, lat, unit, ts
Sensor: pressure | fields: type, ts, qc, depth
Task: Fetch lat from wind_speed where ts exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004478 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: type, lon, ts, depth
Sensor: uv_index | fields: ts, qc, value, level
Task: Retrieve lat from snow_depth that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"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_004479 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: lon, level, unit, type
Sensor: air_quality | fields: level, ts, qc, reading
Task: Get level from humidity where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004480 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, lat, lon, qc
Sensor: air_quality | fields: value, reading, depth, lon
Task: Get depth from snow_depth where reading exceeds the count of depth from air_quality for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004481 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: reading, ts, lat, value
Sensor: air_quality | fields: lon, lat, unit, reading
Task: Get depth from drought_index where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004482 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: unit, lon, depth, type
Sensor: drought_index | fields: type, unit, reading, ts
Task: Get lon from visibility where value exceeds the count of value from drought_index for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004483 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: unit, lon, value, level
Sensor: soil_moisture | fields: type, depth, lat, ts
Task: Get depth from rainfall where value exceeds the average depth from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004484 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: value, level, reading, ts
Sensor: soil_moisture | fields: qc, value, lon, lat
Task: Retrieve lon from rainfall that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004485 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: ts, lat, depth, type
Sensor: frost | fields: type, qc, ts, lat
Task: Retrieve value from rainfall that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004486 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: reading, unit, level, ts
Sensor: turbidity | fields: value, lat, ts, level
Task: Get depth from frost where value exceeds the total reading from turbidity for the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"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_004487 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: lon, level, ts, lat
Sensor: frost | fields: type, lat, ts, unit
Task: Retrieve value from uv_index with reading above the AVG(depth) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004488 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: depth, lon, level, value
Sensor: soil_moisture | fields: ts, qc, level, unit
Task: Get lon from humidity where value exceeds the maximum reading from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004489 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: ts, qc, value, unit
Sensor: rainfall | fields: unit, value, qc, depth
Task: Get lon from sunlight where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004490 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: depth, type, ts, lat
Sensor: temperature | fields: type, value, depth, ts
Task: Fetch lon from humidity where depth is greater than the count of of value in temperature for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004491 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: ts, lat, lon, qc
Sensor: dew_point | fields: unit, qc, value, level
Task: Retrieve level from visibility that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004492 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: lat, depth, type, unit
Sensor: visibility | fields: value, reading, level, unit
Task: Get value from drought_index where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004493 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: unit, level, lat, value
Sensor: lightning | fields: qc, type, value, depth
Task: Get reading from humidity where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004494 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: value, level, ts, reading
Sensor: air_quality | fields: unit, depth, value, lon
Task: Fetch reading from turbidity where qc exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004495 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, reading, type, ts
Sensor: evaporation | fields: type, value, depth, level
Task: Retrieve reading from soil_moisture whose type is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004496 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: qc, type, ts, reading
Sensor: humidity | fields: type, ts, reading, unit
Task: Fetch lon from turbidity where reading is greater than the average of reading in humidity for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004497 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: reading, ts, lon, qc
Sensor: humidity | fields: lat, unit, depth, type
Task: Get lon from temperature where unit appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004498 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, level, depth, value
Sensor: dew_point | fields: reading, lat, ts, level
Task: Fetch reading from wind_speed where depth is greater than the count of of value in dew_point for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.