variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: visibility | code: stn | fields: depth, reading, qc, value
Sensor: uv_index | fields: reading, type, ts, value
Task: Get depth from visibility where depth exceeds the count of value from uv_index for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003400 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: value, level, qc, reading
Sensor: air_quality | fields: lon, value, reading, unit
Task: Fetch reading from wind_speed where unit exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003401 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: lat, value, ts, reading
Sensor: drought_index | fields: qc, level, value, lat
Task: Retrieve lon from sunlight whose ts is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003402 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: ts, lon, value, reading
Sensor: evaporation | fields: value, depth, qc, unit
Task: Get reading from visibility where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003403 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: unit, type, depth, qc
Sensor: frost | fields: depth, ts, value, level
Task: Fetch depth from air_quality where depth is greater than the maximum of depth in frost for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003404 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: unit, lon, type, depth
Sensor: sunlight | fields: qc, unit, lat, depth
Task: Get reading from drought_index where depth appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003405 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: unit, type, reading, level
Sensor: visibility | fields: qc, lat, ts, level
Task: Fetch level from sunlight where type exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003406 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: unit, lon, lat, level
Sensor: rainfall | fields: qc, lat, value, reading
Task: Fetch level from pressure that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003407 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: value, ts, qc, level
Sensor: rainfall | fields: value, unit, lat, ts
Task: Retrieve depth from snow_depth that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003408 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: type, lon, depth, level
Sensor: visibility | fields: ts, unit, lon, depth
Task: Retrieve reading from drought_index that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003409 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: depth, qc, level, value
Sensor: uv_index | fields: type, depth, ts, unit
Task: Retrieve lon from cloud_cover with depth above the AVG(value) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003410 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: value, qc, level, reading
Sensor: wind_speed | fields: depth, unit, level, lat
Task: Get depth from soil_moisture where unit appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003411 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: value, ts, type, level
Sensor: soil_moisture | fields: depth, reading, type, ts
Task: Retrieve reading from uv_index with reading above the AVG(reading) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003412 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, value, unit, reading
Sensor: snow_depth | fields: depth, unit, lat, value
Task: Retrieve depth from cloud_cover that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003413 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lon, ts, reading, qc
Sensor: dew_point | fields: reading, value, ts, level
Task: Get depth from pressure where value exceeds the total value from dew_point for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003414 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: lon, level, value, type
Sensor: pressure | fields: type, unit, lon, depth
Task: Fetch level from dew_point that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003415 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: depth, qc, lat, unit
Sensor: lightning | fields: ts, lon, depth, type
Task: Retrieve value from pressure with depth above the MIN(depth) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003416 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: unit, ts, lon, qc
Sensor: soil_moisture | fields: unit, qc, depth, lat
Task: Fetch value from dew_point where reading is greater than the maximum of value in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003417 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: ts, reading, qc, unit
Sensor: humidity | fields: depth, reading, level, unit
Task: Get value from frost where depth exceeds the average depth from humidity for the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003418 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: unit, type, depth, lon
Sensor: pressure | fields: type, value, lat, level
Task: Get lon from snow_depth where qc appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003419 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: unit, type, depth, lat
Sensor: cloud_cover | fields: lon, unit, reading, lat
Task: Retrieve reading from evaporation whose ts is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003420 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: lat, reading, ts, level
Sensor: humidity | fields: value, depth, reading, type
Task: Retrieve lat from lightning that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003421 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: unit, reading, lon, value
Sensor: turbidity | fields: lon, type, depth, qc
Task: Fetch lon from dew_point where reading is greater than the average of value in turbidity for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003422 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, lon, level, qc
Sensor: humidity | fields: lat, level, value, depth
Task: Retrieve depth from soil_moisture whose depth is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003423 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: depth, value, qc, lon
Sensor: sunlight | fields: value, type, unit, lat
Task: Get level from snow_depth where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003424 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: type, qc, depth, lat
Sensor: lightning | fields: ts, reading, lon, value
Task: Retrieve reading from frost whose type is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003425 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: depth, lat, qc, level
Sensor: drought_index | fields: level, reading, depth, unit
Task: Retrieve lat from humidity with depth above the MIN(depth) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003426 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: level, depth, reading, value
Sensor: evaporation | fields: lon, level, ts, unit
Task: Get reading from snow_depth where ts appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003427 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: type, qc, value, ts
Sensor: soil_moisture | fields: lon, reading, level, ts
Task: Get lat from sunlight where depth exceeds the maximum value from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003428 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: reading, lon, qc, depth
Sensor: temperature | fields: qc, unit, type, lat
Task: Fetch lat from visibility where reading is greater than the maximum of value in temperature for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003429 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: type, ts, value, reading
Sensor: evaporation | fields: value, lon, unit, level
Task: Fetch reading from soil_moisture where reading is greater than the minimum of depth in evaporation for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003430 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: ts, lon, type, reading
Sensor: temperature | fields: depth, lat, reading, lon
Task: Retrieve lon from dew_point with reading above the MAX(value) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003431 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: value, type, qc, reading
Sensor: pressure | fields: ts, lon, type, value
Task: Retrieve value from temperature with value above the SUM(depth) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003432 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: qc, value, type, depth
Sensor: humidity | fields: depth, ts, qc, unit
Task: Fetch lat from drought_index where reading is greater than the count of of value in humidity for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003433 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, reading, depth, level
Sensor: sunlight | fields: ts, reading, lon, level
Task: Fetch value from wind_speed where reading is greater than the maximum of depth in sunlight for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003434 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: lon, ts, depth, type
Sensor: soil_moisture | fields: level, value, ts, qc
Task: Get depth from sunlight where reading exceeds the minimum value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003435 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, depth, lon, qc
Sensor: sunlight | fields: depth, lon, type, qc
Task: Get level from snow_depth where value exceeds the maximum reading from sunlight for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003436 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: qc, reading, value, lat
Sensor: air_quality | fields: level, reading, depth, type
Task: Retrieve lon from lightning whose unit is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003437 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: type, unit, value, ts
Sensor: turbidity | fields: lat, value, level, qc
Task: Fetch value from sunlight where value is greater than the total of reading in turbidity for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003438 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, reading, qc, lat
Sensor: drought_index | fields: lat, depth, qc, unit
Task: Get depth from soil_moisture where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003439 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: level, type, lon, qc
Sensor: evaporation | fields: value, unit, qc, level
Task: Retrieve reading from visibility whose type is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003440 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: qc, lat, depth, reading
Sensor: soil_moisture | fields: level, lon, unit, value
Task: Get reading from drought_index where value exceeds the average value from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003441 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: lat, depth, lon, ts
Sensor: uv_index | fields: level, unit, depth, type
Task: Get lat from evaporation where qc appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003442 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: lon, depth, value, lat
Sensor: snow_depth | fields: lon, value, ts, depth
Task: Retrieve lat from humidity that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003443 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: type, level, lon, unit
Sensor: air_quality | fields: lon, unit, type, depth
Task: Retrieve level from sunlight with depth above the AVG(depth) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003444 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: ts, qc, reading, unit
Sensor: turbidity | fields: lon, ts, value, type
Task: Fetch lon from visibility where depth is greater than the minimum of value in turbidity for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003445 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: qc, depth, value, level
Sensor: lightning | fields: depth, level, reading, lat
Task: Get lat from soil_moisture where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003446 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: depth, ts, value, qc
Sensor: rainfall | fields: reading, qc, depth, unit
Task: Retrieve lon from temperature with reading above the AVG(reading) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003447 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: lat, ts, reading, qc
Sensor: rainfall | fields: lon, type, unit, reading
Task: Get lat from lightning where depth exceeds the maximum reading from rainfall for the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003448 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: qc, lat, type, unit
Sensor: snow_depth | fields: qc, reading, lon, depth
Task: Retrieve lat from frost with reading above the MAX(depth) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003449 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: unit, depth, level, lon
Sensor: drought_index | fields: reading, level, depth, value
Task: Fetch lat from air_quality where depth is greater than the count of of reading in drought_index for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003450 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: qc, unit, value, depth
Sensor: dew_point | fields: lat, level, type, unit
Task: Get value from uv_index where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003451 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: value, lat, unit, depth
Sensor: snow_depth | fields: qc, level, unit, type
Task: Fetch reading from dew_point where unit exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003452 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: level, lat, ts, reading
Sensor: cloud_cover | fields: lat, depth, value, type
Task: Retrieve lon from temperature with depth above the AVG(depth) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003453 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: qc, value, level, lat
Sensor: rainfall | fields: lat, depth, reading, lon
Task: Retrieve lon from evaporation with reading above the SUM(value) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003454 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: lon, reading, level, ts
Sensor: visibility | fields: lon, depth, qc, unit
Task: Get lon from turbidity where qc appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003455 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: depth, value, reading, lat
Sensor: air_quality | fields: ts, level, qc, depth
Task: Retrieve lat from evaporation whose unit is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003456 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: lon, reading, depth, value
Sensor: humidity | fields: qc, lat, reading, depth
Task: Retrieve level from visibility that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003457 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: reading, unit, lat, depth
Sensor: snow_depth | fields: type, unit, qc, reading
Task: Retrieve value from drought_index that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003458 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: reading, depth, level, value
Sensor: sunlight | fields: value, reading, level, lon
Task: Retrieve depth from visibility whose qc is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003459 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: lat, ts, type, level
Sensor: evaporation | fields: qc, depth, type, lon
Task: Fetch value from temperature where depth exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003460 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: level, lon, reading, ts
Sensor: frost | fields: qc, lat, level, unit
Task: Get depth from pressure where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003461 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, type, ts, lat
Sensor: wind_speed | fields: unit, level, depth, ts
Task: Retrieve value from snow_depth that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003462 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: lat, qc, unit, lon
Sensor: dew_point | fields: type, qc, depth, unit
Task: Retrieve depth from temperature that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003463 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, unit, qc, lon
Sensor: rainfall | fields: value, lon, qc, unit
Task: Get depth from soil_moisture where unit appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003464 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: value, depth, ts, reading
Sensor: sunlight | fields: unit, value, ts, reading
Task: Retrieve depth from rainfall with reading above the AVG(depth) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003465 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: ts, unit, value, depth
Sensor: snow_depth | fields: value, unit, level, lat
Task: Get reading from dew_point where depth appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003466 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: lon, depth, unit, qc
Sensor: snow_depth | fields: reading, value, ts, qc
Task: Get lat from cloud_cover where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003467 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, depth, qc, type
Sensor: dew_point | fields: lon, lat, reading, unit
Task: Retrieve level from snow_depth with value above the AVG(value) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003468 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: type, depth, qc, lon
Sensor: rainfall | fields: unit, type, level, depth
Task: Retrieve value from temperature whose type is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003469 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: level, qc, lon, lat
Sensor: air_quality | fields: unit, level, reading, ts
Task: Get level from humidity where reading exceeds the total value from air_quality for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003470 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, ts, lat, unit
Sensor: snow_depth | fields: ts, lat, unit, lon
Task: Fetch level from soil_moisture where value is greater than the average of reading in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003471 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: type, lon, unit, qc
Sensor: drought_index | fields: unit, depth, lat, lon
Task: Fetch value from soil_moisture where reading is greater than the minimum of reading in drought_index for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003472 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: qc, level, lat, ts
Sensor: temperature | fields: depth, unit, value, lon
Task: Get reading from frost where qc appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003473 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: ts, lat, reading, value
Sensor: frost | fields: depth, ts, lon, qc
Task: Get reading from air_quality where value exceeds the count of reading from frost for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003474 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: lon, depth, ts, lat
Sensor: soil_moisture | fields: value, level, depth, reading
Task: Fetch lat from uv_index where qc exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003475 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: level, depth, qc, reading
Sensor: rainfall | fields: reading, depth, type, value
Task: Fetch level from evaporation that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003476 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: reading, depth, lat, unit
Sensor: drought_index | fields: level, ts, depth, qc
Task: Get reading from sunlight where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003477 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: qc, value, lon, lat
Sensor: lightning | fields: type, ts, level, qc
Task: Retrieve lon from evaporation that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003478 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: lat, qc, depth, ts
Sensor: turbidity | fields: value, qc, unit, depth
Task: Retrieve value from drought_index that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003479 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: lat, depth, value, ts
Sensor: wind_speed | fields: reading, lon, lat, qc
Task: Retrieve lat from dew_point whose unit is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003480 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: qc, lon, type, ts
Sensor: dew_point | fields: lat, unit, ts, depth
Task: Get level from turbidity where ts appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003481 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: type, ts, level, qc
Sensor: air_quality | fields: value, unit, depth, lat
Task: Retrieve value from frost that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"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_003482 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: unit, lat, value, level
Sensor: evaporation | fields: type, qc, value, depth
Task: Fetch lat from air_quality that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003483 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: type, level, ts, lon
Sensor: air_quality | fields: depth, qc, level, lat
Task: Retrieve lon from evaporation that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003484 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: type, depth, ts, reading
Sensor: frost | fields: level, reading, lon, type
Task: Retrieve value from humidity whose ts is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003485 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: lat, value, level, reading
Sensor: pressure | fields: ts, unit, value, qc
Task: Get reading from air_quality where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003486 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: qc, reading, depth, lat
Sensor: lightning | fields: reading, unit, type, depth
Task: Get lat from visibility where depth appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003487 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, ts, lon, depth
Sensor: rainfall | fields: reading, lon, depth, type
Task: Fetch reading from snow_depth where value is greater than the maximum of depth in rainfall for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003488 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: value, depth, level, unit
Sensor: pressure | fields: lon, level, ts, reading
Task: Fetch lat from cloud_cover where value is greater than the average of reading in pressure for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003489 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: reading, lat, level, type
Sensor: lightning | fields: depth, level, type, lat
Task: Get value from rainfall where type appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003490 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: ts, type, level, depth
Sensor: sunlight | fields: reading, ts, level, lat
Task: Fetch lat from turbidity where depth exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003491 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: qc, level, ts, lon
Sensor: air_quality | fields: lat, unit, reading, value
Task: Fetch reading from dew_point where ts exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003492 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: unit, level, lon, lat
Sensor: soil_moisture | fields: depth, qc, level, lon
Task: Get lon from sunlight where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003493 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: level, ts, unit, lon
Sensor: drought_index | fields: type, qc, reading, lat
Task: Get level from dew_point where type appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003494 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: value, depth, reading, ts
Sensor: sunlight | fields: value, unit, level, qc
Task: Get lat from lightning where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003495 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, type, depth, ts
Sensor: uv_index | fields: lat, depth, type, level
Task: Get value from soil_moisture where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003496 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: lat, qc, ts, unit
Sensor: lightning | fields: lon, value, lat, unit
Task: Fetch level from turbidity that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003497 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: value, ts, type, reading
Sensor: turbidity | fields: ts, lon, reading, value
Task: Get value from snow_depth where type appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003498 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: depth, value, unit, qc
Sensor: air_quality | fields: reading, level, lat, unit
Task: Fetch value from pressure where depth is greater than the average of depth in air_quality for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.