variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: unit, qc, ts, lon
Sensor: visibility | fields: unit, lon, ts, value
Task: Fetch lon from wind_speed where ts exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077700 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: depth, reading, value, type
Sensor: evaporation | fields: value, level, unit, ts
Task: Get value from temperature where type appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077701 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: reading, depth, lat, level
Sensor: snow_depth | fields: reading, lat, ts, unit
Task: Fetch lon from dew_point that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077702 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lon, reading, lat, type
Sensor: lightning | fields: qc, ts, depth, unit
Task: Fetch level from pressure where value is greater than the total of value in lightning for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077703 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: qc, level, ts, value
Sensor: wind_speed | fields: level, unit, lon, reading
Task: Fetch value from temperature where type exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077704 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: lat, value, ts, depth
Sensor: temperature | fields: value, unit, reading, qc
Task: Get depth from air_quality where value exceeds the count of value from temperature for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077705 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: qc, unit, level, ts
Sensor: evaporation | fields: unit, lon, depth, reading
Task: Get reading from temperature where qc appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077706 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: qc, lat, lon, depth
Sensor: drought_index | fields: level, lon, unit, ts
Task: Retrieve reading from visibility whose type is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077707 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: ts, level, depth, lat
Sensor: lightning | fields: lat, depth, value, level
Task: Get reading from soil_moisture where unit appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077708 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: ts, type, unit, reading
Sensor: dew_point | fields: reading, lat, depth, unit
Task: Fetch value from sunlight that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077709 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: type, qc, ts, unit
Sensor: sunlight | fields: unit, depth, ts, lon
Task: Fetch lon from turbidity that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077710 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: reading, lat, unit, lon
Sensor: uv_index | fields: depth, lat, unit, lon
Task: Retrieve depth from dew_point whose type is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077711 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: level, unit, qc, lon
Sensor: soil_moisture | fields: unit, depth, type, qc
Task: Retrieve level from temperature that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077712 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: type, qc, lon, level
Sensor: snow_depth | fields: lat, depth, qc, ts
Task: Retrieve depth from evaporation with reading above the COUNT(value) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077713 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: ts, lat, unit, reading
Sensor: drought_index | fields: reading, qc, lon, lat
Task: Get lon from temperature where unit appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077714 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: qc, ts, unit, value
Sensor: temperature | fields: reading, depth, qc, lon
Task: Retrieve level from snow_depth whose ts is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077715 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: level, ts, qc, value
Sensor: dew_point | fields: depth, qc, value, reading
Task: Fetch value from lightning where reading is greater than the total of depth in dew_point for matching type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077716 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: qc, type, reading, level
Sensor: humidity | fields: reading, ts, depth, type
Task: Retrieve value from turbidity whose type is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077717 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, qc, lat, ts
Sensor: soil_moisture | fields: lat, lon, level, ts
Task: Retrieve level from snow_depth whose qc is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077718 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: unit, reading, depth, value
Sensor: cloud_cover | fields: value, type, qc, level
Task: Fetch depth from pressure where depth is greater than the count of of depth in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077719 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: lat, type, level, reading
Sensor: evaporation | fields: value, qc, depth, lat
Task: Fetch level from air_quality where reading is greater than the maximum of depth in evaporation for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077720 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: level, depth, ts, value
Sensor: frost | fields: depth, lat, type, ts
Task: Retrieve value from evaporation that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"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_077721 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: reading, type, ts, lon
Sensor: turbidity | fields: value, qc, unit, lon
Task: Retrieve reading from wind_speed whose ts is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077722 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: type, unit, ts, depth
Sensor: dew_point | fields: type, lon, value, depth
Task: Get lon from uv_index where value exceeds the total depth from dew_point for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077723 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: qc, depth, level, reading
Sensor: uv_index | fields: depth, lat, reading, lon
Task: Retrieve lat from frost whose ts is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077724 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: level, lat, ts, lon
Sensor: frost | fields: reading, ts, lat, lon
Task: Fetch lon from evaporation where depth is greater than the total of reading in frost for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077725 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: unit, qc, level, lon
Sensor: humidity | fields: depth, unit, lat, ts
Task: Retrieve level from soil_moisture whose depth is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077726 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: type, lat, qc, level
Sensor: dew_point | fields: ts, reading, lon, depth
Task: Get level from evaporation where value exceeds the count of depth from dew_point for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077727 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: reading, lon, value, lat
Sensor: frost | fields: ts, value, lon, unit
Task: Fetch lon from wind_speed where value is greater than the minimum of reading in frost for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077728 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: depth, value, reading, level
Sensor: dew_point | fields: unit, value, lon, qc
Task: Retrieve reading from humidity that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077729 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: lon, ts, qc, unit
Sensor: visibility | fields: qc, unit, reading, ts
Task: Retrieve level from uv_index with value above the MIN(value) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077730 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: level, ts, reading, depth
Sensor: air_quality | fields: type, lat, level, ts
Task: Retrieve lat from frost that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077731 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: unit, reading, type, qc
Sensor: visibility | fields: value, type, lon, reading
Task: Fetch lat from evaporation where reading is greater than the count of of value in visibility for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077732 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: qc, unit, ts, depth
Sensor: frost | fields: lat, depth, unit, reading
Task: Retrieve depth from lightning whose ts is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077733 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: qc, level, lat, lon
Sensor: snow_depth | fields: reading, ts, qc, value
Task: Retrieve value from dew_point that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077734 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, unit, lon, level
Sensor: rainfall | fields: depth, value, reading, qc
Task: Retrieve value from wind_speed whose qc is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077735 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: unit, lon, depth, reading
Sensor: temperature | fields: type, ts, value, depth
Task: Get level from evaporation where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077736 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: lon, level, value, qc
Sensor: air_quality | fields: value, lon, ts, type
Task: Retrieve reading from wind_speed whose ts is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077737 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: qc, reading, value, unit
Sensor: temperature | fields: lat, type, ts, level
Task: Fetch reading from air_quality where depth exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077738 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, type, qc, level
Sensor: visibility | fields: qc, lon, value, ts
Task: Fetch lat from cloud_cover where value is greater than the maximum of depth in visibility for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077739 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: qc, depth, lat, type
Sensor: visibility | fields: type, value, ts, level
Task: Retrieve lon from drought_index that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077740 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: level, lon, lat, unit
Sensor: pressure | fields: lon, reading, lat, unit
Task: Get level from drought_index where type appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077741 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: lon, reading, qc, depth
Sensor: rainfall | fields: type, reading, lat, value
Task: Fetch value from snow_depth where depth exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077742 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: value, lat, depth, lon
Sensor: dew_point | fields: type, lon, qc, value
Task: Get lon from evaporation where reading exceeds the maximum depth from dew_point for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077743 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: lat, qc, type, level
Sensor: evaporation | fields: type, ts, level, unit
Task: Fetch depth from cloud_cover where type exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077744 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: lon, type, level, reading
Sensor: evaporation | fields: qc, level, ts, lon
Task: Retrieve depth from turbidity with value above the MAX(value) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077745 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: ts, lat, depth, type
Sensor: lightning | fields: level, unit, type, qc
Task: Fetch lon from frost that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077746 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: reading, qc, lon, unit
Sensor: humidity | fields: qc, unit, type, level
Task: Retrieve level from air_quality whose type is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077747 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, lat, lon, type
Sensor: visibility | fields: qc, depth, ts, lon
Task: Get level from snow_depth where reading exceeds the minimum value from visibility for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077748 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: level, lon, depth, unit
Sensor: snow_depth | fields: unit, lon, lat, level
Task: Get lat from turbidity where unit appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077749 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: ts, lon, qc, type
Sensor: rainfall | fields: type, qc, ts, lat
Task: Fetch lon from turbidity where reading is greater than the average of value in rainfall for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077750 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: lon, ts, type, qc
Sensor: humidity | fields: lat, ts, depth, qc
Task: Fetch reading from evaporation where depth is greater than the average of reading in humidity for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077751 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: unit, level, lat, value
Sensor: lightning | fields: depth, reading, level, qc
Task: Retrieve lon from air_quality whose type is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077752 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: type, depth, lat, unit
Sensor: frost | fields: level, lat, depth, qc
Task: Retrieve depth from visibility whose unit is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077753 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: depth, lat, unit, level
Sensor: evaporation | fields: lat, type, qc, value
Task: Fetch level from drought_index where reading is greater than the average of depth in evaporation for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077754 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: value, type, qc, reading
Sensor: dew_point | fields: reading, level, value, qc
Task: Get value from temperature where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077755 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, value, lat, ts
Sensor: evaporation | fields: type, ts, lon, level
Task: Get reading from cloud_cover where depth exceeds the total reading from evaporation for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077756 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: ts, unit, value, lon
Sensor: pressure | fields: lon, qc, unit, type
Task: Get lat from uv_index where reading exceeds the count of depth from pressure for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077757 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: reading, unit, value, depth
Sensor: dew_point | fields: ts, qc, type, lon
Task: Fetch lat from humidity where ts exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077758 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: unit, ts, depth, reading
Sensor: drought_index | fields: value, depth, type, lat
Task: Retrieve reading from wind_speed that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077759 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: level, value, qc, reading
Sensor: frost | fields: value, reading, lat, depth
Task: Fetch lon from dew_point where ts exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077760 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: reading, qc, unit, level
Sensor: soil_moisture | fields: ts, type, lon, reading
Task: Fetch level from sunlight that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077761 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: lat, lon, value, reading
Sensor: temperature | fields: lon, type, depth, lat
Task: Retrieve depth from drought_index with value above the COUNT(value) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077762 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, type, lat, qc
Sensor: sunlight | fields: reading, type, level, ts
Task: Retrieve level from soil_moisture with reading above the COUNT(reading) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077763 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: qc, type, value, depth
Sensor: visibility | fields: qc, type, reading, value
Task: Retrieve value from uv_index whose unit is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077764 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: lon, value, depth, lat
Sensor: evaporation | fields: value, lat, unit, ts
Task: Get value from dew_point where ts appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077765 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: qc, unit, type, lon
Sensor: lightning | fields: type, ts, lat, reading
Task: Retrieve level from turbidity with depth above the MIN(value) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077766 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: ts, qc, level, value
Sensor: temperature | fields: type, ts, unit, depth
Task: Retrieve value from frost whose qc is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077767 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: value, qc, ts, unit
Sensor: wind_speed | fields: unit, level, qc, ts
Task: Get reading from dew_point where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077768 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: unit, value, lon, depth
Sensor: lightning | fields: value, level, reading, ts
Task: Get value from rainfall where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077769 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: type, lon, reading, value
Sensor: evaporation | fields: type, qc, reading, lat
Task: Fetch reading from sunlight that have at least one corresponding evaporation measurement for 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_077770 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, type, ts, qc
Sensor: wind_speed | fields: depth, lat, lon, value
Task: Retrieve level from snow_depth with depth above the MAX(reading) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077771 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: lon, depth, qc, unit
Sensor: pressure | fields: level, value, reading, type
Task: Retrieve lat from humidity whose qc is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077772 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: type, qc, unit, lon
Sensor: visibility | fields: level, value, lon, depth
Task: Retrieve depth from soil_moisture that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077773 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: reading, qc, level, type
Sensor: dew_point | fields: type, value, lon, qc
Task: Retrieve value from rainfall whose type is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077774 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: level, unit, depth, lon
Sensor: uv_index | fields: lat, lon, qc, type
Task: Get level from evaporation where ts appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077775 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: reading, unit, lat, value
Sensor: temperature | fields: qc, type, reading, value
Task: Get lat from dew_point where ts appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077776 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: unit, lat, qc, lon
Sensor: drought_index | fields: unit, ts, type, reading
Task: Get lon from pressure where unit appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077777 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: level, ts, reading, type
Sensor: turbidity | fields: reading, lat, lon, ts
Task: Fetch depth from visibility where qc exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077778 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: value, qc, type, depth
Sensor: cloud_cover | fields: type, qc, reading, lat
Task: Retrieve lat from snow_depth that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077779 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: value, lat, ts, lon
Sensor: frost | fields: depth, reading, value, type
Task: Retrieve lat from pressure whose unit is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077780 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: unit, value, level, qc
Sensor: pressure | fields: reading, ts, value, depth
Task: Retrieve value from sunlight that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077781 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: qc, lon, ts, level
Sensor: turbidity | fields: lon, ts, lat, qc
Task: Retrieve depth from dew_point that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077782 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lat, ts, lon, type
Sensor: pressure | fields: lat, qc, lon, level
Task: Get lat from air_quality where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077783 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: type, depth, reading, unit
Sensor: pressure | fields: qc, value, reading, level
Task: Retrieve reading from uv_index with depth above the MAX(reading) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077784 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: level, ts, reading, lon
Sensor: humidity | fields: type, lat, reading, value
Task: Retrieve depth from temperature with reading above the SUM(reading) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077785 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: unit, type, lon, depth
Sensor: humidity | fields: depth, qc, lat, type
Task: Get depth from lightning where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077786 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: value, qc, type, depth
Sensor: frost | fields: qc, lat, lon, type
Task: Fetch level from visibility that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077787 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: value, lon, level, depth
Sensor: turbidity | fields: ts, qc, lon, unit
Task: Fetch level from lightning where unit exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077788 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: reading, value, ts, unit
Sensor: evaporation | fields: lon, qc, unit, level
Task: Get lon from rainfall where depth exceeds the total value from evaporation for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077789 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: value, level, type, depth
Sensor: pressure | fields: level, value, ts, reading
Task: Fetch lon from snow_depth where qc exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077790 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: depth, unit, level, lon
Sensor: uv_index | fields: lon, level, type, reading
Task: Get level from evaporation where value exceeds the minimum value from uv_index for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077791 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: unit, ts, type, lon
Sensor: frost | fields: unit, lon, qc, depth
Task: Fetch lon from lightning where depth is greater than the count of of value in frost for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077792 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: value, reading, ts, type
Sensor: turbidity | fields: qc, ts, unit, value
Task: Fetch level from frost that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077793 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: depth, lat, unit, reading
Sensor: rainfall | fields: value, level, lon, lat
Task: Retrieve level from sunlight whose ts is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077794 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, type, unit, qc
Sensor: temperature | fields: value, depth, lat, reading
Task: Retrieve lon from cloud_cover whose qc is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077795 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: type, ts, value, depth
Sensor: turbidity | fields: depth, ts, reading, level
Task: Get depth from drought_index where type appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077796 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: lat, depth, unit, type
Sensor: visibility | fields: type, reading, value, qc
Task: Get level from frost where reading exceeds the maximum value from visibility for the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077797 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: type, reading, unit, ts
Sensor: soil_moisture | fields: reading, value, type, lat
Task: Get level from sunlight where unit appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077798 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: lat, type, depth, lon
Sensor: air_quality | fields: ts, level, unit, depth
Task: Get value from uv_index where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.