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: turbidity | code: clr | fields: level, reading, lat, depth
Sensor: frost | fields: lon, level, lat, type
Task: Retrieve reading from turbidity whose qc is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006800 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: level, unit, type, qc
Sensor: lightning | fields: unit, lat, type, level
Task: Fetch reading from visibility where qc exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006801 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: qc, ts, level, lon
Sensor: drought_index | fields: qc, type, level, reading
Task: Get level from air_quality where depth exceeds the count of depth from drought_index for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006802 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, ts, depth, unit
Sensor: temperature | fields: depth, ts, type, unit
Task: Retrieve reading from soil_moisture whose unit is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006803 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: level, value, depth, unit
Sensor: temperature | fields: ts, qc, value, unit
Task: Get depth from soil_moisture where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006804 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: reading, lon, ts, qc
Sensor: snow_depth | fields: reading, unit, depth, lat
Task: Retrieve level from visibility that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006805 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: ts, depth, unit, type
Sensor: lightning | fields: unit, reading, ts, lon
Task: Retrieve level from sunlight that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006806 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: unit, depth, qc, lat
Sensor: sunlight | fields: ts, value, qc, reading
Task: Get lon from snow_depth where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006807 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: unit, ts, type, depth
Sensor: turbidity | fields: lat, level, lon, value
Task: Retrieve value from rainfall that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006808 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: qc, unit, type, reading
Sensor: cloud_cover | fields: lat, qc, level, depth
Task: Retrieve lon from drought_index with reading above the MAX(value) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006809 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: lat, qc, type, depth
Sensor: humidity | fields: depth, level, reading, value
Task: Fetch value from snow_depth that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006810 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, value, depth, unit
Sensor: cloud_cover | fields: ts, qc, depth, value
Task: Get reading from wind_speed where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006811 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: ts, value, lon, reading
Sensor: temperature | fields: unit, lon, lat, level
Task: Retrieve reading from lightning with reading above the MIN(depth) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006812 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: lat, value, ts, type
Sensor: humidity | fields: lat, depth, type, ts
Task: Retrieve value from frost whose ts is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006813 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, depth, type, lat
Sensor: air_quality | fields: level, reading, lat, unit
Task: Retrieve lat from snow_depth with value above the MIN(depth) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006814 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: unit, reading, qc, level
Sensor: air_quality | fields: type, lon, level, qc
Task: Retrieve level from uv_index with reading above the COUNT(value) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006815 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: unit, value, type, reading
Sensor: sunlight | fields: unit, value, depth, lon
Task: Retrieve reading from evaporation whose ts is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006816 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: level, value, ts, reading
Sensor: pressure | fields: ts, qc, level, type
Task: Retrieve lon from sunlight with value above the MIN(value) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006817 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: ts, qc, type, value
Sensor: visibility | fields: reading, level, type, lon
Task: Retrieve lat from soil_moisture whose qc is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006818 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: ts, lon, level, lat
Sensor: evaporation | fields: type, value, qc, lon
Task: Get depth from rainfall where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006819 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: reading, level, qc, value
Sensor: wind_speed | fields: lon, lat, ts, reading
Task: Fetch reading from humidity that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006820 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: type, qc, ts, unit
Sensor: evaporation | fields: qc, depth, type, ts
Task: Fetch lon from drought_index where type exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006821 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: reading, lat, lon, ts
Sensor: lightning | fields: depth, lon, unit, ts
Task: Get lon from drought_index where reading exceeds the average depth from lightning for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006822 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: qc, ts, level, type
Sensor: lightning | fields: lon, depth, value, ts
Task: Get level from humidity where ts appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006823 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: depth, lon, level, reading
Sensor: humidity | fields: qc, type, lon, depth
Task: Get reading from pressure where depth exceeds the maximum depth from humidity for the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006824 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: ts, type, level, unit
Sensor: air_quality | fields: value, unit, reading, qc
Task: Get reading from dew_point where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006825 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: lat, type, depth, reading
Sensor: evaporation | fields: type, lon, value, depth
Task: Get level from dew_point where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006826 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: qc, level, depth, ts
Sensor: uv_index | fields: value, reading, depth, lon
Task: Fetch lat from wind_speed where depth is greater than the minimum of reading in uv_index for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006827 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: ts, value, qc, depth
Sensor: uv_index | fields: lat, qc, level, ts
Task: Fetch lon from humidity that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006828 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: type, reading, value, ts
Sensor: sunlight | fields: qc, reading, level, type
Task: Retrieve lat from temperature that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006829 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, depth, qc, level
Sensor: sunlight | fields: reading, level, depth, lon
Task: Fetch value from snow_depth that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006830 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: type, value, level, reading
Sensor: frost | fields: depth, ts, lat, unit
Task: Fetch level from visibility where depth is greater than the total of value in frost for matching type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006831 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: unit, depth, qc, reading
Sensor: cloud_cover | fields: value, lat, reading, depth
Task: Retrieve reading from sunlight with reading above the COUNT(depth) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006832 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: lon, reading, value, qc
Sensor: snow_depth | fields: lat, depth, qc, type
Task: Retrieve level from sunlight with depth above the COUNT(value) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006833 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: unit, type, depth, level
Sensor: evaporation | fields: lat, type, value, depth
Task: Retrieve level from rainfall that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006834 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: qc, type, lat, ts
Sensor: visibility | fields: reading, level, ts, type
Task: Get level from pressure where unit appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006835 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: type, lat, value, reading
Sensor: uv_index | fields: level, unit, value, lon
Task: Retrieve value from drought_index with depth above the SUM(reading) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"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_006836 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: reading, ts, type, depth
Sensor: pressure | fields: depth, lon, value, reading
Task: Fetch reading from sunlight where ts exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006837 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: unit, ts, lon, lat
Sensor: turbidity | fields: reading, level, lon, type
Task: Get level from sunlight where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006838 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: level, unit, qc, value
Sensor: soil_moisture | fields: level, type, lon, reading
Task: Get value from drought_index where depth exceeds the count of value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006839 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: qc, ts, type, unit
Sensor: turbidity | fields: depth, qc, ts, value
Task: Fetch depth from pressure where depth is greater than the maximum of depth in turbidity for matching type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006840 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: lon, ts, value, unit
Sensor: temperature | fields: qc, value, reading, ts
Task: Retrieve reading from evaporation whose unit is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006841 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: qc, ts, lon, unit
Sensor: uv_index | fields: level, lon, type, depth
Task: Retrieve reading from evaporation that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006842 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: level, lat, depth, ts
Sensor: lightning | fields: lon, reading, qc, ts
Task: Fetch level from cloud_cover where ts exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006843 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: ts, type, reading, lon
Sensor: humidity | fields: unit, lon, value, level
Task: Retrieve lon from rainfall that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006844 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: lon, lat, ts, type
Sensor: uv_index | fields: qc, unit, level, depth
Task: Retrieve level from wind_speed that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006845 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: lat, unit, type, qc
Sensor: wind_speed | fields: ts, lon, lat, depth
Task: Fetch reading from pressure that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006846 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: unit, lon, qc, reading
Sensor: evaporation | fields: level, type, unit, reading
Task: Fetch depth from rainfall where ts exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006847 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: qc, lat, level, unit
Sensor: frost | fields: type, lon, depth, level
Task: Fetch level from lightning where reading is greater than the total of value in frost for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006848 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: lat, unit, level, type
Sensor: snow_depth | fields: unit, value, lon, level
Task: Fetch lon from sunlight where depth is greater than the minimum of value in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006849 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: depth, unit, reading, type
Sensor: frost | fields: value, level, depth, reading
Task: Retrieve level from visibility whose type is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006850 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: level, lat, depth, type
Sensor: cloud_cover | fields: type, ts, lon, lat
Task: Retrieve reading from snow_depth whose type is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006851 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: ts, depth, unit, reading
Sensor: visibility | fields: unit, lat, reading, qc
Task: Get lat from rainfall where depth exceeds the count of depth from visibility for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006852 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, type, unit, level
Sensor: evaporation | fields: value, type, lat, level
Task: Fetch reading from soil_moisture that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006853 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: unit, depth, value, reading
Sensor: frost | fields: lat, depth, lon, value
Task: Fetch lon from dew_point where depth is greater than the maximum of reading in frost for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006854 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: depth, value, unit, ts
Sensor: lightning | fields: depth, ts, reading, value
Task: Fetch lon from pressure that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"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_006855 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: depth, reading, unit, level
Sensor: dew_point | fields: depth, ts, qc, lat
Task: Get value from drought_index where type appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"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_006856 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: depth, value, reading, lon
Sensor: air_quality | fields: qc, reading, ts, unit
Task: Retrieve lon from drought_index that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006857 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: value, qc, lat, level
Sensor: turbidity | fields: qc, level, ts, type
Task: Get depth from sunlight where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006858 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: lon, level, reading, ts
Sensor: soil_moisture | fields: depth, lon, value, ts
Task: Retrieve depth from air_quality that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006859 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: depth, unit, reading, qc
Sensor: humidity | fields: reading, ts, lat, type
Task: Retrieve reading from sunlight whose unit is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006860 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: level, value, qc, unit
Sensor: cloud_cover | fields: ts, value, qc, lon
Task: Get reading from frost where qc appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006861 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: qc, reading, lat, value
Sensor: evaporation | fields: lat, unit, qc, ts
Task: Fetch reading from drought_index that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006862 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: ts, reading, lat, value
Sensor: frost | fields: qc, reading, type, level
Task: Retrieve lon from visibility with reading above the MIN(value) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006863 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, depth, level, reading
Sensor: humidity | fields: ts, lon, type, depth
Task: Retrieve reading from soil_moisture with reading above the MAX(value) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006864 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: type, unit, ts, level
Sensor: turbidity | fields: lat, type, depth, reading
Task: Fetch lat from snow_depth where reading is greater than the total of value in turbidity for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006865 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: value, unit, type, lon
Sensor: lightning | fields: type, unit, lon, depth
Task: Retrieve value from soil_moisture with depth above the SUM(value) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006866 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: qc, value, level, lat
Sensor: soil_moisture | fields: type, ts, value, level
Task: Fetch reading from turbidity that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006867 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: reading, lon, level, type
Sensor: frost | fields: depth, lon, ts, level
Task: Get reading from snow_depth where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006868 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: qc, lon, depth, reading
Sensor: sunlight | fields: value, lat, reading, depth
Task: Fetch reading from rainfall where ts exists in sunlight sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006869 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: type, qc, reading, unit
Sensor: snow_depth | fields: type, qc, lat, lon
Task: Get reading from visibility where ts appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006870 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: reading, lon, lat, ts
Sensor: lightning | fields: qc, reading, lon, depth
Task: Retrieve depth from frost with value above the MIN(depth) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006871 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: unit, reading, qc, lat
Sensor: rainfall | fields: level, reading, depth, lat
Task: Fetch value from temperature where value is greater than the total of depth in rainfall for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006872 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: value, reading, ts, depth
Sensor: rainfall | fields: qc, ts, lat, depth
Task: Retrieve lon from dew_point whose depth is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006873 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: type, ts, qc, value
Sensor: turbidity | fields: lat, ts, level, type
Task: Get level from humidity where reading exceeds the minimum depth from turbidity for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006874 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, ts, lon, level
Sensor: turbidity | fields: level, depth, unit, lat
Task: Get reading from cloud_cover where depth appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006875 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: ts, qc, unit, level
Sensor: evaporation | fields: level, unit, ts, reading
Task: Get reading from uv_index where ts appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006876 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: ts, type, depth, unit
Sensor: soil_moisture | fields: qc, level, type, reading
Task: Get depth from uv_index where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006877 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: unit, lat, qc, depth
Sensor: frost | fields: ts, lon, qc, level
Task: Get value from air_quality where ts appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006878 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: qc, ts, unit, reading
Sensor: pressure | fields: depth, qc, lon, ts
Task: Get lat from temperature where type appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006879 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: ts, reading, lon, unit
Sensor: evaporation | fields: type, lat, level, lon
Task: Retrieve depth from lightning that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006880 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: level, ts, lat, qc
Sensor: lightning | fields: ts, type, depth, lat
Task: Retrieve depth from snow_depth with depth above the MAX(depth) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006881 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: qc, depth, ts, lat
Sensor: evaporation | fields: depth, qc, lon, level
Task: Retrieve reading from drought_index with value above the AVG(reading) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006882 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: depth, reading, qc, lat
Sensor: frost | fields: type, unit, qc, level
Task: Retrieve level from air_quality that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006883 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: lat, type, level, lon
Sensor: cloud_cover | fields: level, ts, depth, qc
Task: Fetch level from snow_depth where ts exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006884 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, level, type, reading
Sensor: drought_index | fields: qc, reading, ts, lat
Task: Retrieve level from soil_moisture that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006885 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: reading, qc, depth, type
Sensor: sunlight | fields: level, value, ts, unit
Task: Get value from rainfall where depth exceeds the total reading from sunlight for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006886 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: unit, value, type, qc
Sensor: rainfall | fields: type, unit, level, qc
Task: Fetch reading from dew_point where depth is greater than the maximum of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006887 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: depth, type, ts, lon
Sensor: uv_index | fields: depth, level, qc, lon
Task: Get lat from turbidity where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006888 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: depth, qc, level, unit
Sensor: cloud_cover | fields: depth, lon, qc, level
Task: Fetch depth from frost that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006889 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: ts, unit, lat, depth
Sensor: cloud_cover | fields: unit, type, value, ts
Task: Fetch level from humidity where type exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006890 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, value, ts, reading
Sensor: turbidity | fields: value, ts, depth, type
Task: Retrieve level from wind_speed whose depth is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006891 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: unit, level, reading, depth
Sensor: turbidity | fields: lon, reading, type, level
Task: Retrieve reading from evaporation whose qc is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006892 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: ts, value, depth, lat
Sensor: rainfall | fields: lat, ts, depth, lon
Task: Retrieve lon from air_quality whose ts is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006893 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: level, value, qc, reading
Sensor: snow_depth | fields: ts, unit, reading, qc
Task: Retrieve lon from lightning whose unit is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006894 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: unit, level, lat, depth
Sensor: cloud_cover | fields: lon, reading, qc, lat
Task: Retrieve lon from drought_index whose qc is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006895 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lon, qc, ts, level
Sensor: turbidity | fields: unit, value, qc, depth
Task: Get level from air_quality where depth exceeds the average reading from turbidity for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006896 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: value, depth, qc, level
Sensor: evaporation | fields: unit, qc, value, level
Task: Get level from cloud_cover where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006897 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: level, lon, ts, type
Sensor: humidity | fields: ts, qc, reading, level
Task: Retrieve level from visibility whose type is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006898 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: value, lat, qc, unit
Sensor: dew_point | fields: lat, unit, qc, value
Task: Fetch lon from evaporation where depth exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.