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: wind_speed | code: ref | fields: unit, reading, lon, value
Sensor: uv_index | fields: type, reading, value, depth
Task: Fetch lat from wind_speed where ts exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021400 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: reading, level, depth, type
Sensor: air_quality | fields: reading, qc, level, ts
Task: Retrieve value from humidity that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021401 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: value, qc, ts, level
Sensor: evaporation | fields: level, lon, depth, ts
Task: Fetch lon from uv_index where reading is greater than the count of of depth in evaporation for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021402 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: qc, depth, lat, value
Sensor: soil_moisture | fields: type, level, value, lon
Task: Retrieve level from drought_index that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021403 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: type, value, unit, lat
Sensor: wind_speed | fields: level, value, depth, qc
Task: Get depth from uv_index where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021404 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: value, unit, type, depth
Sensor: air_quality | fields: reading, ts, type, depth
Task: Fetch value from turbidity where depth is greater than the total of reading in air_quality for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021405 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: level, lon, lat, reading
Sensor: rainfall | fields: level, lon, reading, ts
Task: Fetch level from drought_index where reading is greater than the minimum of value in rainfall for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021406 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: lon, depth, ts, level
Sensor: evaporation | fields: level, qc, lat, value
Task: Fetch depth from lightning where value is greater than the total of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021407 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: ts, qc, type, depth
Sensor: evaporation | fields: unit, lat, value, ts
Task: Fetch lat from uv_index where value is greater than the average of reading in evaporation for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021408 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: level, ts, lat, value
Sensor: uv_index | fields: ts, depth, lon, type
Task: Retrieve reading from drought_index that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021409 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: depth, level, reading, lon
Sensor: evaporation | fields: reading, level, lat, type
Task: Fetch depth from rainfall that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021410 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: ts, qc, level, lon
Sensor: sunlight | fields: value, unit, level, depth
Task: Get reading from temperature where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021411 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: lat, reading, type, depth
Sensor: sunlight | fields: value, lat, reading, lon
Task: Fetch level from pressure that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021412 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: depth, ts, qc, lon
Sensor: turbidity | fields: lon, type, qc, reading
Task: Fetch reading from snow_depth that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021413 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: lat, unit, reading, depth
Sensor: frost | fields: lat, depth, level, value
Task: Get lon from rainfall where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021414 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: unit, value, type, depth
Sensor: air_quality | fields: type, value, unit, depth
Task: Fetch lat from evaporation that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021415 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: depth, reading, qc, lat
Sensor: temperature | fields: level, lon, reading, unit
Task: Get lat from frost where value exceeds the total value from temperature for the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021416 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: depth, lon, level, qc
Sensor: turbidity | fields: value, type, qc, unit
Task: Retrieve depth from visibility that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021417 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, level, ts, qc
Sensor: evaporation | fields: lon, type, unit, level
Task: Retrieve depth from wind_speed with reading above the COUNT(reading) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021418 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: level, qc, depth, type
Sensor: cloud_cover | fields: unit, value, level, lon
Task: Fetch reading from snow_depth that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021419 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: depth, ts, unit, qc
Sensor: drought_index | fields: level, value, depth, type
Task: Get depth from pressure where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021420 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: unit, qc, depth, type
Sensor: drought_index | fields: ts, lon, type, reading
Task: Retrieve level from dew_point that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021421 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: value, level, lon, lat
Sensor: uv_index | fields: value, type, depth, level
Task: Get depth from cloud_cover where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021422 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: lat, value, type, qc
Sensor: pressure | fields: ts, level, type, qc
Task: Get level from temperature where reading exceeds the total depth from pressure for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021423 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: lon, lat, depth, ts
Sensor: temperature | fields: lon, ts, value, lat
Task: Get value from humidity where depth exceeds the average reading from temperature for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021424 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: lat, qc, reading, depth
Sensor: frost | fields: level, lat, lon, type
Task: Get lon from visibility where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021425 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: reading, type, level, value
Sensor: pressure | fields: unit, reading, level, qc
Task: Fetch reading from visibility where ts exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021426 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: depth, level, qc, unit
Sensor: lightning | fields: unit, reading, level, type
Task: Retrieve level from pressure with depth above the COUNT(value) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021427 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: unit, reading, type, value
Sensor: soil_moisture | fields: unit, qc, lon, lat
Task: Get lat from wind_speed where depth exceeds the total value from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021428 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: level, lat, ts, unit
Sensor: soil_moisture | fields: unit, qc, level, lat
Task: Fetch reading from dew_point where unit exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021429 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: unit, ts, value, type
Sensor: drought_index | fields: unit, lat, type, value
Task: Retrieve lat from dew_point whose ts is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021430 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, lat, type, value
Sensor: uv_index | fields: qc, reading, unit, ts
Task: Fetch value from snow_depth where reading is greater than the count of of reading in uv_index for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021431 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: unit, depth, reading, qc
Sensor: pressure | fields: lat, depth, type, qc
Task: Retrieve reading from sunlight whose unit is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021432 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: lat, reading, value, depth
Sensor: rainfall | fields: ts, lon, value, type
Task: Get lat from evaporation where reading exceeds the total value from rainfall for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021433 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: level, ts, qc, unit
Sensor: frost | fields: value, ts, unit, lon
Task: Get lon from rainfall where value exceeds the average reading from frost for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021434 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, lon, level, value
Sensor: drought_index | fields: lon, level, qc, type
Task: Fetch level from wind_speed that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021435 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: depth, lat, lon, level
Sensor: visibility | fields: reading, value, unit, type
Task: Get depth from air_quality where depth exceeds the total reading from visibility for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021436 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, value, lon, depth
Sensor: humidity | fields: lon, level, value, ts
Task: Get reading from soil_moisture where value exceeds the total reading from humidity for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021437 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: reading, lon, lat, qc
Sensor: visibility | fields: unit, depth, type, lat
Task: Retrieve value from evaporation whose qc is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021438 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: value, ts, level, reading
Sensor: drought_index | fields: lat, reading, value, unit
Task: Fetch value from cloud_cover where reading is greater than the average of depth in drought_index for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021439 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: lon, type, qc, reading
Sensor: rainfall | fields: depth, ts, value, unit
Task: Get value from cloud_cover where unit appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021440 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: ts, lat, reading, value
Sensor: humidity | fields: reading, lon, lat, depth
Task: Fetch value from dew_point where type exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021441 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: qc, ts, lat, depth
Sensor: visibility | fields: reading, unit, value, lon
Task: Get value from drought_index where depth exceeds the maximum value from visibility for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021442 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, unit, depth, level
Sensor: drought_index | fields: unit, lon, value, qc
Task: Retrieve depth from wind_speed with value above the COUNT(value) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021443 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: value, type, reading, ts
Sensor: pressure | fields: unit, ts, depth, qc
Task: Retrieve value from frost whose depth is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021444 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: lon, ts, lat, qc
Sensor: temperature | fields: lat, depth, level, qc
Task: Retrieve reading from pressure with value above the AVG(depth) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021445 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: value, depth, qc, unit
Sensor: rainfall | fields: type, lon, lat, reading
Task: Retrieve depth from frost whose depth is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021446 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: value, lat, depth, lon
Sensor: uv_index | fields: depth, level, unit, value
Task: Retrieve value from humidity with depth above the MAX(value) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021447 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, reading, type, lat
Sensor: lightning | fields: depth, value, qc, reading
Task: Get lat from soil_moisture where type appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021448 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: lon, type, depth, level
Sensor: snow_depth | fields: ts, lat, level, value
Task: Retrieve depth from air_quality that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021449 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: qc, value, type, lat
Sensor: soil_moisture | fields: type, reading, level, unit
Task: Get reading from visibility where reading exceeds the maximum depth from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021450 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: value, lat, level, reading
Sensor: soil_moisture | fields: unit, depth, lon, type
Task: Get level from lightning where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021451 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, type, reading, depth
Sensor: evaporation | fields: lon, type, unit, value
Task: Retrieve reading from snow_depth that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021452 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: lon, qc, reading, lat
Sensor: drought_index | fields: depth, lat, ts, lon
Task: Fetch level from frost where depth is greater than the average of reading in drought_index for matching depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021453 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: lon, unit, lat, ts
Sensor: uv_index | fields: value, unit, lon, ts
Task: Fetch depth from cloud_cover that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021454 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: qc, ts, type, value
Sensor: humidity | fields: unit, qc, level, ts
Task: Fetch lat from uv_index where reading is greater than the minimum of reading in humidity for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021455 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: qc, level, ts, lon
Sensor: snow_depth | fields: level, lon, unit, lat
Task: Get reading from visibility where reading exceeds the average depth from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021456 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: lon, lat, reading, qc
Sensor: drought_index | fields: ts, reading, unit, value
Task: Get reading from cloud_cover where depth appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021457 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, qc, ts, reading
Sensor: evaporation | fields: unit, level, qc, lat
Task: Fetch lon from cloud_cover where depth exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021458 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, lon, value, depth
Sensor: humidity | fields: type, unit, depth, lon
Task: Fetch lat from cloud_cover where value is greater than the maximum of value in humidity for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021459 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: level, ts, reading, type
Sensor: sunlight | fields: lon, reading, depth, level
Task: Get value from air_quality where type appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021460 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: value, qc, level, unit
Sensor: pressure | fields: depth, lon, reading, level
Task: Fetch lon from soil_moisture where depth is greater than the minimum of reading in pressure for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021461 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: level, lat, lon, depth
Sensor: dew_point | fields: lat, reading, ts, unit
Task: Get level from drought_index where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021462 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: lat, ts, depth, unit
Sensor: air_quality | fields: ts, reading, depth, value
Task: Fetch value from rainfall that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021463 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: unit, lat, value, qc
Sensor: soil_moisture | fields: lon, unit, reading, level
Task: Get value from pressure where reading exceeds the total depth from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021464 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: reading, lon, type, lat
Sensor: soil_moisture | fields: ts, value, depth, lon
Task: Retrieve depth from uv_index whose type is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021465 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: value, reading, ts, qc
Sensor: turbidity | fields: lon, lat, level, value
Task: Get value from uv_index where value exceeds the average reading from turbidity for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021466 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: value, unit, qc, lon
Sensor: uv_index | fields: type, depth, level, lat
Task: Fetch depth from humidity where value is greater than the total of depth in uv_index for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021467 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: type, unit, reading, value
Sensor: wind_speed | fields: type, qc, ts, lon
Task: Get level from frost where qc appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021468 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: reading, lon, type, depth
Sensor: snow_depth | fields: depth, unit, value, level
Task: Retrieve level from uv_index whose ts is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021469 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: value, lat, type, lon
Sensor: soil_moisture | fields: level, ts, lon, value
Task: Retrieve reading from sunlight whose unit is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021470 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: lon, lat, qc, ts
Sensor: frost | fields: type, qc, lat, lon
Task: Get level from rainfall where reading exceeds the average depth from frost for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021471 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: lat, reading, unit, depth
Sensor: uv_index | fields: type, unit, qc, lat
Task: Retrieve depth from rainfall with value above the COUNT(reading) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021472 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, reading, lon, depth
Sensor: wind_speed | fields: ts, level, value, unit
Task: Retrieve reading from soil_moisture with value above the AVG(reading) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021473 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, qc, reading, level
Sensor: humidity | fields: depth, qc, level, lat
Task: Retrieve depth from cloud_cover whose qc is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021474 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: lon, lat, qc, ts
Sensor: pressure | fields: unit, qc, lat, ts
Task: Get lon from dew_point where value exceeds the average reading from pressure for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021475 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: ts, lon, value, reading
Sensor: evaporation | fields: level, lat, type, depth
Task: Get level from uv_index where ts appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021476 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: value, level, lat, lon
Sensor: air_quality | fields: ts, reading, qc, value
Task: Get reading from evaporation where depth exceeds the average depth from air_quality for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021477 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: lat, ts, level, reading
Sensor: humidity | fields: value, qc, level, ts
Task: Get lat from dew_point where value exceeds the average depth from humidity for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021478 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: type, lat, reading, ts
Sensor: air_quality | fields: lat, reading, depth, ts
Task: Get lon from evaporation where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021479 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, lat, level, reading
Sensor: dew_point | fields: ts, qc, level, type
Task: Fetch lon from wind_speed that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021480 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: value, qc, lat, ts
Sensor: snow_depth | fields: type, unit, reading, ts
Task: Fetch lat from air_quality where depth is greater than the average of depth in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021481 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, qc, depth, reading
Sensor: temperature | fields: lon, level, ts, lat
Task: Fetch depth from cloud_cover where unit exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021482 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: value, type, depth, ts
Sensor: sunlight | fields: qc, lat, value, level
Task: Fetch value from lightning where unit exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021483 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: ts, level, depth, value
Sensor: snow_depth | fields: level, lat, value, unit
Task: Fetch depth from soil_moisture where reading is greater than the total of value in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021484 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, reading, level, qc
Sensor: sunlight | fields: unit, depth, reading, level
Task: Retrieve depth from cloud_cover whose qc is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021485 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: value, lat, type, lon
Sensor: snow_depth | fields: unit, level, type, depth
Task: Retrieve lat from rainfall with value above the MIN(reading) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021486 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: depth, level, type, value
Sensor: frost | fields: depth, lon, value, qc
Task: Get lat from evaporation where ts appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021487 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: unit, depth, qc, type
Sensor: rainfall | fields: qc, reading, lat, type
Task: Get depth from pressure where depth appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021488 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: depth, qc, unit, lat
Sensor: pressure | fields: ts, value, reading, lon
Task: Get reading from sunlight where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021489 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: depth, level, lat, qc
Sensor: turbidity | fields: ts, qc, depth, level
Task: Retrieve reading from evaporation whose ts is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021490 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: reading, value, lat, unit
Sensor: snow_depth | fields: reading, unit, qc, ts
Task: Retrieve depth from visibility with value above the SUM(depth) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021491 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: ts, qc, lon, value
Sensor: air_quality | fields: qc, level, lon, lat
Task: Retrieve lon from turbidity that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021492 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: qc, lat, value, unit
Sensor: uv_index | fields: depth, level, reading, value
Task: Fetch lat from visibility where ts exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021493 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: level, value, lat, depth
Sensor: air_quality | fields: level, qc, depth, ts
Task: Fetch level from cloud_cover where depth exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021494 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: lon, lat, level, unit
Sensor: rainfall | fields: level, depth, qc, lon
Task: Retrieve lat from wind_speed with depth above the MIN(reading) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021495 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: lat, depth, lon, type
Sensor: temperature | fields: qc, ts, lon, value
Task: Fetch lon from dew_point where unit exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021496 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: type, ts, depth, lat
Sensor: snow_depth | fields: depth, lon, ts, value
Task: Get lon from dew_point where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021497 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: reading, qc, value, ts
Sensor: lightning | fields: lat, reading, depth, ts
Task: Get depth from humidity where reading exceeds the count of depth from lightning for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021498 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: unit, lon, type, value
Sensor: drought_index | fields: value, depth, level, ts
Task: Get lon from visibility where qc appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.