variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: dew_point | code: thr | fields: lat, unit, type, ts
Sensor: rainfall | fields: ts, depth, type, qc
Task: Retrieve reading from dew_point whose type is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039800 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: type, ts, reading, lon
Sensor: wind_speed | fields: type, unit, qc, level
Task: Retrieve lon from lightning that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039801 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: lon, unit, ts, reading
Sensor: pressure | fields: type, unit, depth, qc
Task: Retrieve depth from rainfall whose unit is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039802 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: depth, lat, type, ts
Sensor: rainfall | fields: ts, depth, level, qc
Task: Get reading from turbidity where reading exceeds the maximum reading from rainfall for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039803 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, lon, unit, lat
Sensor: pressure | fields: qc, type, ts, lon
Task: Retrieve lat from wind_speed whose ts is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039804 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: ts, lat, qc, unit
Sensor: drought_index | fields: type, reading, ts, lon
Task: Fetch lon from uv_index that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039805 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: ts, lon, unit, lat
Sensor: rainfall | fields: reading, qc, level, type
Task: Get lat from visibility where value exceeds the maximum depth from rainfall for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039806 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: lon, lat, type, level
Sensor: snow_depth | fields: value, level, depth, ts
Task: Get reading from uv_index where depth exceeds the count of reading from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039807 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: value, depth, ts, lat
Sensor: lightning | fields: value, lon, lat, unit
Task: Get lon from turbidity where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"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_039808 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: reading, lat, type, lon
Sensor: cloud_cover | fields: type, ts, unit, level
Task: Get level from soil_moisture where type appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039809 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: lon, level, type, qc
Sensor: frost | fields: lon, depth, lat, ts
Task: Get depth from sunlight where depth appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039810 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: reading, lat, lon, value
Sensor: lightning | fields: qc, value, lon, unit
Task: Get lon from evaporation where type appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039811 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: value, type, ts, unit
Sensor: frost | fields: unit, lat, depth, type
Task: Retrieve value from drought_index with value above the SUM(depth) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039812 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: lat, type, depth, lon
Sensor: lightning | fields: unit, reading, qc, type
Task: Retrieve value from drought_index with reading above the SUM(reading) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039813 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: ts, qc, lat, lon
Sensor: humidity | fields: value, lon, qc, unit
Task: Get lat from uv_index where value exceeds the minimum depth from humidity for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039814 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: qc, lat, lon, reading
Sensor: sunlight | fields: value, level, ts, qc
Task: Retrieve level from visibility that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039815 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: depth, qc, lon, ts
Sensor: dew_point | fields: depth, reading, lon, level
Task: Fetch lon from visibility where depth is greater than the count of of reading in dew_point for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039816 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: lat, unit, lon, depth
Sensor: soil_moisture | fields: lon, reading, unit, ts
Task: Fetch value from evaporation where type exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039817 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: ts, level, lon, value
Sensor: evaporation | fields: type, level, lon, value
Task: Get reading from sunlight where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039818 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: ts, unit, type, lat
Sensor: cloud_cover | fields: unit, qc, lon, depth
Task: Get level from frost where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039819 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: qc, type, ts, level
Sensor: evaporation | fields: unit, type, ts, value
Task: Get lon from sunlight where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039820 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: value, reading, qc, type
Sensor: uv_index | fields: ts, qc, reading, value
Task: Fetch reading from wind_speed where unit exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039821 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: level, depth, qc, lat
Sensor: visibility | fields: qc, value, unit, level
Task: Get value from drought_index where reading exceeds the average value from visibility for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039822 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, level, lat, reading
Sensor: air_quality | fields: depth, ts, unit, type
Task: Retrieve lat from snow_depth that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039823 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: unit, ts, lon, depth
Sensor: lightning | fields: reading, qc, depth, type
Task: Get lon from evaporation where reading exceeds the minimum depth from lightning for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039824 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: lat, value, lon, type
Sensor: snow_depth | fields: lon, value, unit, ts
Task: Get reading from dew_point where qc appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039825 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: depth, qc, lat, type
Sensor: dew_point | fields: depth, level, ts, qc
Task: Get lat from lightning where depth appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039826 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: level, reading, value, lat
Sensor: temperature | fields: unit, type, qc, value
Task: Retrieve value from sunlight with depth above the COUNT(depth) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039827 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: lon, ts, unit, lat
Sensor: visibility | fields: qc, lon, reading, ts
Task: Get depth from uv_index where reading exceeds the count of value from visibility for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039828 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: ts, qc, value, type
Sensor: turbidity | fields: lat, depth, ts, lon
Task: Retrieve reading from soil_moisture with reading above the SUM(depth) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039829 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, lon, level, qc
Sensor: temperature | fields: lat, ts, qc, level
Task: Retrieve reading from cloud_cover whose depth is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039830 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: type, depth, lon, unit
Sensor: soil_moisture | fields: reading, type, depth, value
Task: Retrieve lon from frost whose ts is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039831 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: unit, lat, depth, type
Sensor: temperature | fields: ts, reading, qc, unit
Task: Fetch lon from visibility where depth is greater than the average of reading in temperature for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039832 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: level, type, lat, ts
Sensor: sunlight | fields: lon, qc, value, reading
Task: Retrieve lon from snow_depth that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039833 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: depth, reading, value, level
Sensor: sunlight | fields: qc, ts, reading, value
Task: Fetch level from pressure that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039834 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: type, unit, depth, level
Sensor: cloud_cover | fields: lon, type, level, value
Task: Get reading from drought_index where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039835 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: qc, reading, level, lon
Sensor: temperature | fields: level, unit, qc, value
Task: Retrieve depth from frost whose depth is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039836 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: value, level, type, lat
Sensor: air_quality | fields: ts, lat, lon, unit
Task: Retrieve lat from snow_depth with value above the MAX(depth) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039837 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: ts, qc, lon, depth
Sensor: frost | fields: qc, depth, lat, value
Task: Fetch depth from cloud_cover that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039838 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: lon, ts, level, lat
Sensor: lightning | fields: value, ts, lon, level
Task: Get lat from uv_index where value exceeds the count of depth from lightning for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039839 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: lat, qc, depth, unit
Sensor: temperature | fields: qc, lat, unit, ts
Task: Get level from soil_moisture where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039840 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: unit, level, lon, reading
Sensor: soil_moisture | fields: level, qc, value, lat
Task: Get value from humidity where type appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039841 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: lon, lat, value, unit
Sensor: humidity | fields: lon, level, ts, depth
Task: Retrieve lat from sunlight whose qc is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039842 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: reading, type, depth, unit
Sensor: dew_point | fields: ts, value, lon, depth
Task: Retrieve level from uv_index with value above the SUM(reading) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039843 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: lon, qc, reading, type
Sensor: cloud_cover | fields: type, value, qc, level
Task: Retrieve depth from air_quality whose unit is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039844 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: level, type, reading, qc
Sensor: lightning | fields: lon, reading, unit, value
Task: Get lon from wind_speed where ts appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039845 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: unit, value, lat, level
Sensor: soil_moisture | fields: depth, reading, lon, ts
Task: Retrieve depth from sunlight that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039846 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, qc, reading, value
Sensor: sunlight | fields: ts, unit, lon, reading
Task: Get lon from wind_speed where ts appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039847 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: qc, unit, value, depth
Sensor: pressure | fields: lon, reading, level, unit
Task: Get reading from drought_index where reading exceeds the average value from pressure for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039848 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: value, level, lon, reading
Sensor: pressure | fields: value, ts, unit, qc
Task: Get lon from lightning where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039849 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: reading, unit, qc, lon
Sensor: frost | fields: level, unit, lon, lat
Task: Fetch lon from pressure that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039850 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: unit, type, qc, depth
Sensor: turbidity | fields: lat, ts, level, depth
Task: Get lon from snow_depth where depth exceeds the minimum reading from turbidity for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039851 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, level, type, depth
Sensor: wind_speed | fields: level, qc, depth, type
Task: Fetch depth from snow_depth where value is greater than the minimum of value in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039852 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: type, level, unit, lat
Sensor: temperature | fields: lon, reading, ts, depth
Task: Fetch lon from dew_point that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039853 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: qc, reading, unit, lon
Sensor: snow_depth | fields: qc, unit, level, lon
Task: Retrieve reading from humidity that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039854 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: lon, value, ts, qc
Sensor: frost | fields: value, qc, unit, depth
Task: Retrieve depth from sunlight whose type is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039855 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: lat, ts, lon, value
Sensor: rainfall | fields: depth, type, ts, lat
Task: Get lon from air_quality where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039856 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: reading, depth, type, lon
Sensor: pressure | fields: type, level, ts, depth
Task: Fetch reading from turbidity that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039857 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, unit, value, reading
Sensor: turbidity | fields: qc, type, lat, reading
Task: Get depth from cloud_cover where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039858 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lat, level, unit, lon
Sensor: air_quality | fields: lon, value, lat, unit
Task: Retrieve value from pressure that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039859 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: unit, depth, lon, ts
Sensor: rainfall | fields: lon, depth, unit, ts
Task: Get depth from uv_index where value exceeds the total depth from rainfall for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039860 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: reading, depth, level, ts
Sensor: uv_index | fields: type, reading, lon, depth
Task: Get value from soil_moisture where type appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039861 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: value, unit, type, qc
Sensor: frost | fields: type, level, reading, unit
Task: Retrieve lat from snow_depth with depth above the AVG(depth) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039862 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: ts, lon, level, lat
Sensor: cloud_cover | fields: type, value, depth, reading
Task: Retrieve lon from uv_index with value above the MIN(reading) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039863 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: ts, level, qc, value
Sensor: wind_speed | fields: level, lon, depth, qc
Task: Retrieve lat from pressure with reading above the SUM(depth) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039864 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: reading, value, qc, level
Sensor: air_quality | fields: depth, lon, ts, level
Task: Get lat from rainfall where type appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039865 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: qc, depth, level, value
Sensor: uv_index | fields: unit, qc, reading, lat
Task: Fetch value from sunlight that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039866 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: reading, unit, lon, lat
Sensor: soil_moisture | fields: depth, value, type, ts
Task: Get depth from air_quality where value exceeds the average value from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039867 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: lon, qc, unit, level
Sensor: sunlight | fields: lat, depth, level, lon
Task: Fetch value from visibility where depth is greater than the total of reading in sunlight for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039868 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: lon, depth, ts, lat
Sensor: uv_index | fields: unit, level, qc, lon
Task: Get value from drought_index where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039869 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: ts, lon, unit, reading
Sensor: lightning | fields: unit, level, lon, reading
Task: Retrieve reading from sunlight that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039870 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: lat, qc, unit, depth
Sensor: air_quality | fields: value, level, lon, lat
Task: Fetch reading from sunlight where ts exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039871 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: unit, qc, lat, type
Sensor: soil_moisture | fields: type, ts, depth, level
Task: Get lon from pressure where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039872 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: qc, value, reading, unit
Sensor: frost | fields: reading, level, qc, ts
Task: Retrieve depth from drought_index whose unit is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039873 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: type, level, lat, unit
Sensor: pressure | fields: unit, reading, ts, lat
Task: Fetch value from sunlight that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039874 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: qc, type, value, unit
Sensor: frost | fields: depth, unit, reading, value
Task: Get value from soil_moisture where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039875 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, level, qc, type
Sensor: turbidity | fields: qc, type, reading, lat
Task: Fetch value from wind_speed that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039876 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: ts, value, level, lat
Sensor: sunlight | fields: lat, level, lon, qc
Task: Get level from lightning where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039877 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: depth, lat, reading, value
Sensor: humidity | fields: unit, lon, level, value
Task: Fetch lon from snow_depth where value is greater than the maximum of depth in humidity for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039878 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: reading, lon, lat, unit
Sensor: snow_depth | fields: lat, ts, type, reading
Task: Fetch lon from sunlight where depth exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039879 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: lat, unit, type, reading
Sensor: dew_point | fields: ts, depth, unit, level
Task: Get lat from pressure where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039880 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: depth, unit, value, lon
Sensor: snow_depth | fields: lat, depth, level, reading
Task: Retrieve reading from rainfall with value above the MIN(value) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039881 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: qc, type, unit, value
Sensor: pressure | fields: depth, value, unit, level
Task: Get reading from frost where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039882 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: reading, value, level, unit
Sensor: turbidity | fields: qc, depth, reading, value
Task: Fetch lon from uv_index where depth is greater than the count of of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039883 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: ts, depth, type, qc
Sensor: soil_moisture | fields: lon, level, lat, reading
Task: Retrieve lon from dew_point that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039884 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: reading, unit, lat, lon
Sensor: frost | fields: lon, depth, level, value
Task: Fetch lat from humidity where reading is greater than the average of reading in frost for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039885 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: qc, value, lon, lat
Sensor: temperature | fields: level, type, reading, ts
Task: Fetch level from drought_index where reading is greater than the minimum of depth in temperature for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039886 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: level, qc, ts, unit
Sensor: dew_point | fields: qc, value, unit, type
Task: Fetch reading from pressure where depth is greater than the average of reading in dew_point for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039887 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, qc, lat, unit
Sensor: sunlight | fields: lat, value, unit, reading
Task: Fetch value from soil_moisture where qc exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039888 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: depth, lon, level, value
Sensor: rainfall | fields: lat, type, qc, unit
Task: Get lat from uv_index where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039889 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: lat, depth, reading, type
Sensor: pressure | fields: type, ts, qc, depth
Task: Retrieve lat from frost with depth above the AVG(reading) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039890 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: lat, reading, ts, type
Sensor: visibility | fields: value, lon, depth, lat
Task: Fetch reading from evaporation where reading is greater than the count of of value in visibility for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039891 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: type, qc, level, depth
Sensor: air_quality | fields: lon, lat, reading, ts
Task: Retrieve lat from turbidity with depth above the MIN(value) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039892 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: value, depth, ts, type
Sensor: lightning | fields: lon, ts, depth, lat
Task: Fetch reading from temperature that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039893 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, type, level, qc
Sensor: wind_speed | fields: type, lon, level, reading
Task: Get value from soil_moisture where reading exceeds the count of reading from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039894 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: depth, reading, level, qc
Sensor: wind_speed | fields: lon, value, type, lat
Task: Retrieve lon from uv_index that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039895 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: value, unit, lat, reading
Sensor: visibility | fields: reading, value, lon, level
Task: Fetch level from soil_moisture where type exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039896 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: lon, depth, value, ts
Sensor: cloud_cover | fields: reading, level, ts, lon
Task: Fetch reading from drought_index where qc exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039897 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: depth, reading, ts, level
Sensor: pressure | fields: level, unit, reading, ts
Task: Retrieve value from air_quality with value above the MAX(value) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039898 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: type, depth, reading, level
Sensor: visibility | fields: type, reading, qc, unit
Task: Fetch reading from snow_depth where unit exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.