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: wind_speed | code: thr | fields: ts, type, value, unit
Sensor: air_quality | fields: unit, lon, type, reading
Task: Fetch depth from wind_speed where reading is greater than the minimum of value in air_quality for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024700 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: ts, lat, level, value
Sensor: dew_point | fields: level, qc, lat, lon
Task: Fetch value from air_quality where ts exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024701 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: value, ts, unit, lon
Sensor: cloud_cover | fields: lat, qc, ts, lon
Task: Retrieve lat from temperature with reading above the MIN(reading) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"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_024702 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: value, type, unit, ts
Sensor: air_quality | fields: value, reading, depth, ts
Task: Fetch lon from drought_index where qc exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024703 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: level, unit, ts, lon
Sensor: lightning | fields: lon, unit, qc, level
Task: Get depth from uv_index where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024704 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: unit, ts, lat, qc
Sensor: soil_moisture | fields: value, qc, depth, lon
Task: Fetch level from rainfall where type exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024705 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: ts, reading, unit, depth
Sensor: cloud_cover | fields: reading, depth, qc, lon
Task: Get value from soil_moisture where type appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024706 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: lat, level, lon, depth
Sensor: cloud_cover | fields: qc, value, depth, reading
Task: Retrieve depth from rainfall that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024707 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, lon, depth, lat
Sensor: turbidity | fields: level, unit, lat, depth
Task: Retrieve value from snow_depth with reading above the SUM(value) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024708 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: type, qc, lon, depth
Sensor: sunlight | fields: value, type, lon, level
Task: Fetch lat from drought_index that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024709 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: reading, unit, value, lat
Sensor: air_quality | fields: lon, ts, depth, type
Task: Fetch depth from uv_index that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024710 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: lon, unit, ts, qc
Sensor: wind_speed | fields: value, lat, level, reading
Task: Get depth from evaporation where depth exceeds the count of value from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024711 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, value, ts, lat
Sensor: drought_index | fields: unit, value, type, level
Task: Retrieve depth from snow_depth with value above the MAX(depth) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"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_024712 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: ts, value, type, level
Sensor: uv_index | fields: reading, unit, type, qc
Task: Get reading from visibility where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024713 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: reading, level, type, lat
Sensor: cloud_cover | fields: depth, qc, lat, ts
Task: Retrieve value from soil_moisture that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024714 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, lat, value, ts
Sensor: turbidity | fields: level, ts, value, unit
Task: Get level from snow_depth where qc appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024715 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: type, unit, qc, ts
Sensor: lightning | fields: type, level, reading, ts
Task: Retrieve level from rainfall whose type is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024716 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: lon, ts, type, unit
Sensor: visibility | fields: value, depth, qc, level
Task: Retrieve depth from sunlight with value above the COUNT(reading) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024717 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, type, unit, qc
Sensor: cloud_cover | fields: unit, qc, lat, lon
Task: Fetch lon from soil_moisture that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024718 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, lat, type, depth
Sensor: cloud_cover | fields: value, ts, lat, depth
Task: Fetch reading from soil_moisture where reading is greater than the average of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024719 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: type, lon, depth, lat
Sensor: evaporation | fields: level, type, depth, lat
Task: Retrieve value from snow_depth whose unit is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024720 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: depth, lat, level, reading
Sensor: soil_moisture | fields: qc, ts, lon, lat
Task: Fetch depth from visibility that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024721 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: reading, lon, qc, unit
Sensor: air_quality | fields: unit, lat, depth, type
Task: Get depth from rainfall where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024722 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, reading, qc, level
Sensor: frost | fields: ts, lat, type, qc
Task: Retrieve lat from soil_moisture with reading above the COUNT(depth) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024723 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: lon, ts, value, level
Sensor: lightning | fields: qc, level, unit, type
Task: Retrieve value from evaporation whose qc is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024724 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: qc, type, reading, depth
Sensor: humidity | fields: lat, value, type, qc
Task: Get lon from frost where ts appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024725 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: level, lon, ts, type
Sensor: soil_moisture | fields: ts, reading, depth, qc
Task: Retrieve reading from temperature with reading above the SUM(reading) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024726 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: lat, level, type, unit
Sensor: humidity | fields: ts, lat, reading, value
Task: Get reading from rainfall where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024727 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: level, qc, unit, value
Sensor: rainfall | fields: unit, depth, type, lon
Task: Get lat from evaporation where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024728 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: depth, unit, value, type
Sensor: temperature | fields: depth, lat, level, lon
Task: Fetch value from pressure where qc exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024729 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: depth, ts, unit, qc
Sensor: drought_index | fields: unit, qc, lat, lon
Task: Retrieve depth from rainfall that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024730 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: unit, value, qc, lat
Sensor: rainfall | fields: value, qc, type, ts
Task: Retrieve value from visibility with value above the SUM(depth) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024731 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: reading, depth, ts, lat
Sensor: dew_point | fields: unit, depth, value, ts
Task: Get value from humidity where depth appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024732 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lon, level, value, type
Sensor: air_quality | fields: reading, ts, value, type
Task: Retrieve reading from pressure whose depth is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024733 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: ts, unit, qc, reading
Sensor: frost | fields: type, ts, lat, qc
Task: Fetch lon from rainfall where unit exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024734 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: level, ts, qc, type
Sensor: humidity | fields: ts, lat, level, qc
Task: Retrieve value from air_quality with depth above the MIN(depth) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024735 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: type, value, lon, unit
Sensor: dew_point | fields: type, value, reading, level
Task: Get level from temperature where depth exceeds the maximum depth from dew_point for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024736 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: value, depth, lon, lat
Sensor: uv_index | fields: ts, lat, level, value
Task: Fetch lon from visibility where type exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024737 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: unit, ts, depth, lon
Sensor: cloud_cover | fields: depth, type, value, qc
Task: Fetch lat from snow_depth that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024738 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, lat, value, type
Sensor: evaporation | fields: reading, level, type, lat
Task: Retrieve reading from snow_depth with value above the SUM(reading) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024739 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: lon, qc, value, reading
Sensor: evaporation | fields: qc, lon, reading, level
Task: Fetch lon from frost where unit exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024740 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: lon, reading, ts, qc
Sensor: uv_index | fields: reading, type, qc, unit
Task: Retrieve depth from lightning that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024741 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: ts, type, unit, reading
Sensor: humidity | fields: qc, level, ts, reading
Task: Retrieve value from wind_speed whose type is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024742 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: lon, value, unit, level
Sensor: temperature | fields: unit, type, value, level
Task: Get value from dew_point where reading exceeds the maximum depth from temperature for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024743 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: ts, reading, value, lon
Sensor: air_quality | fields: ts, value, depth, lat
Task: Retrieve level from uv_index whose ts is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024744 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: depth, level, reading, type
Sensor: evaporation | fields: qc, unit, value, lon
Task: Fetch reading from air_quality where ts exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024745 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: level, lon, depth, type
Sensor: wind_speed | fields: level, type, lat, ts
Task: Fetch lat from pressure where type exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024746 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: lat, level, reading, ts
Sensor: drought_index | fields: level, unit, lon, depth
Task: Retrieve value from frost with value above the SUM(value) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024747 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: level, unit, type, value
Sensor: frost | fields: depth, qc, type, lat
Task: Fetch depth from rainfall that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024748 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: unit, depth, type, reading
Sensor: uv_index | fields: depth, ts, reading, value
Task: Retrieve lat from temperature with depth above the MIN(value) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024749 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: value, lat, reading, qc
Sensor: drought_index | fields: ts, unit, value, level
Task: Retrieve depth from lightning that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024750 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: depth, qc, lat, reading
Sensor: uv_index | fields: unit, reading, qc, lon
Task: Get reading from evaporation where depth appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024751 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: lon, qc, ts, type
Sensor: sunlight | fields: lat, ts, level, qc
Task: Get value from evaporation where depth exceeds the maximum depth from sunlight for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024752 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: type, level, value, qc
Sensor: air_quality | fields: type, value, level, depth
Task: Fetch depth from lightning where value is greater than the maximum of value in air_quality for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024753 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: depth, lon, reading, level
Sensor: frost | fields: lon, reading, unit, type
Task: Fetch value from uv_index that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024754 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, value, type, depth
Sensor: lightning | fields: qc, depth, lat, lon
Task: Retrieve lon from snow_depth whose qc is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024755 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: lat, ts, qc, reading
Sensor: temperature | fields: lat, lon, unit, type
Task: Fetch depth from evaporation that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024756 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: level, lat, reading, ts
Sensor: uv_index | fields: reading, type, level, ts
Task: Fetch lat from wind_speed that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024757 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: lat, level, lon, ts
Sensor: humidity | fields: value, lon, qc, level
Task: Retrieve value from turbidity with reading above the MIN(value) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024758 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, ts, value, reading
Sensor: rainfall | fields: depth, lat, type, qc
Task: Retrieve level from soil_moisture whose depth is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024759 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: value, ts, reading, qc
Sensor: sunlight | fields: value, unit, ts, type
Task: Get lon from dew_point where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024760 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: value, lat, ts, depth
Sensor: turbidity | fields: unit, lat, level, reading
Task: Fetch lat from sunlight where ts exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024761 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, level, qc, unit
Sensor: humidity | fields: ts, type, lon, value
Task: Get value from wind_speed where type appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024762 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: lat, unit, qc, type
Sensor: pressure | fields: level, type, lon, ts
Task: Fetch depth from rainfall where qc exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024763 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: lon, qc, depth, lat
Sensor: cloud_cover | fields: ts, reading, lon, type
Task: Get level from visibility where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024764 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, reading, value, lon
Sensor: air_quality | fields: value, reading, depth, type
Task: Retrieve level from soil_moisture with reading above the COUNT(value) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024765 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: qc, value, reading, level
Sensor: lightning | fields: unit, depth, ts, level
Task: Retrieve lat from air_quality whose qc is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024766 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: type, level, depth, ts
Sensor: snow_depth | fields: depth, qc, type, reading
Task: Get depth from dew_point where depth exceeds the minimum reading from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024767 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: lat, reading, type, qc
Sensor: frost | fields: reading, depth, type, value
Task: Retrieve lat from lightning with depth above the AVG(value) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024768 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: lon, value, lat, depth
Sensor: evaporation | fields: value, type, unit, level
Task: Get lat from soil_moisture where depth appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024769 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: qc, level, depth, lat
Sensor: snow_depth | fields: type, qc, value, depth
Task: Get reading from rainfall where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024770 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: value, lat, reading, unit
Sensor: temperature | fields: type, qc, lon, reading
Task: Get lat from sunlight where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024771 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, ts, unit, type
Sensor: uv_index | fields: qc, value, reading, depth
Task: Fetch level from soil_moisture where ts exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024772 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: depth, lon, qc, ts
Sensor: sunlight | fields: type, unit, depth, lon
Task: Get lon from frost where unit appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024773 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: lat, reading, value, lon
Sensor: lightning | fields: level, ts, reading, type
Task: Retrieve reading from cloud_cover whose ts is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024774 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: lat, depth, type, ts
Sensor: air_quality | fields: level, value, type, lon
Task: Fetch lon from lightning where qc exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024775 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: depth, value, type, qc
Sensor: wind_speed | fields: value, lat, ts, type
Task: Get value from air_quality where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024776 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: unit, level, reading, type
Sensor: cloud_cover | fields: reading, unit, lon, type
Task: Get lon from frost where reading exceeds the average value from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024777 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: lat, reading, level, depth
Sensor: air_quality | fields: depth, lat, reading, qc
Task: Fetch lon from frost that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024778 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: depth, ts, level, qc
Sensor: drought_index | fields: level, type, value, lon
Task: Fetch reading from turbidity where value is greater than the count of of value in drought_index for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024779 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: unit, qc, ts, lat
Sensor: humidity | fields: lat, lon, reading, qc
Task: Retrieve lat from pressure with depth above the AVG(depth) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024780 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: qc, lon, lat, type
Sensor: rainfall | fields: reading, ts, type, lat
Task: Fetch value from pressure that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024781 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: reading, lon, ts, depth
Sensor: turbidity | fields: lon, type, level, unit
Task: Retrieve level from rainfall that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024782 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, lon, qc, level
Sensor: evaporation | fields: lon, depth, type, unit
Task: Retrieve lon from soil_moisture whose qc is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024783 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: lon, qc, type, reading
Sensor: pressure | fields: level, reading, unit, depth
Task: Retrieve lon from soil_moisture whose depth is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024784 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: value, depth, lat, qc
Sensor: uv_index | fields: depth, value, type, unit
Task: Retrieve depth from turbidity with value above the MAX(depth) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024785 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: lon, value, unit, level
Sensor: humidity | fields: lon, depth, value, level
Task: Retrieve depth from sunlight with value above the AVG(depth) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024786 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: value, reading, lat, unit
Sensor: frost | fields: reading, lon, unit, value
Task: Get depth from snow_depth where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024787 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: level, ts, lon, qc
Sensor: rainfall | fields: reading, lat, lon, level
Task: Get depth from humidity where qc appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024788 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: level, lon, lat, type
Sensor: drought_index | fields: reading, value, ts, qc
Task: Fetch lon from uv_index where value is greater than the count of of reading in drought_index for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024789 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: level, lon, ts, type
Sensor: cloud_cover | fields: lon, value, level, qc
Task: Retrieve reading from uv_index that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024790 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: depth, level, unit, lon
Sensor: pressure | fields: type, lon, value, lat
Task: Get level from rainfall where depth appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024791 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: lat, depth, qc, reading
Sensor: rainfall | fields: ts, depth, reading, lat
Task: Get reading from pressure where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024792 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: ts, unit, reading, type
Sensor: wind_speed | fields: reading, lon, unit, lat
Task: Fetch lat from drought_index that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024793 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: ts, type, lon, lat
Sensor: soil_moisture | fields: ts, qc, reading, depth
Task: Get level from lightning where ts appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024794 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: depth, unit, lon, value
Sensor: evaporation | fields: depth, lat, qc, level
Task: Fetch level from sunlight where depth is greater than the minimum of value in evaporation for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024795 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, reading, lon, unit
Sensor: temperature | fields: unit, ts, qc, level
Task: Fetch value from soil_moisture where reading is greater than the average of value in temperature for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024796 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: unit, ts, level, depth
Sensor: lightning | fields: qc, ts, value, reading
Task: Retrieve reading from wind_speed whose unit is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024797 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: level, depth, value, lat
Sensor: lightning | fields: lat, type, depth, value
Task: Fetch value from turbidity where value is greater than the minimum of reading in lightning for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024798 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: unit, reading, lat, depth
Sensor: evaporation | fields: unit, ts, reading, qc
Task: Fetch value from pressure where depth is greater than the total of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.