variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: frost | code: gst | fields: lat, type, level, unit
Sensor: air_quality | fields: type, unit, depth, qc
Task: Get lon from frost where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067800 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: level, reading, ts, depth
Sensor: lightning | fields: unit, lon, type, lat
Task: Fetch level from wind_speed that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067801 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: reading, unit, level, lat
Sensor: evaporation | fields: unit, type, value, reading
Task: Get lon from drought_index where qc appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067802 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: type, value, lon, reading
Sensor: air_quality | fields: unit, value, level, depth
Task: Get lat from snow_depth where depth exceeds the maximum depth from air_quality for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067803 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: depth, value, ts, lon
Sensor: visibility | fields: qc, lon, value, reading
Task: Retrieve depth from turbidity with reading above the MAX(value) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067804 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: value, ts, lat, lon
Sensor: air_quality | fields: type, level, depth, reading
Task: Fetch value from frost that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067805 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: qc, type, depth, lat
Sensor: humidity | fields: unit, value, level, type
Task: Get lon from visibility where ts appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067806 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lat, depth, reading, lon
Sensor: cloud_cover | fields: unit, qc, lon, value
Task: Get value from air_quality where unit appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067807 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: value, type, lon, qc
Sensor: sunlight | fields: ts, depth, value, level
Task: Fetch reading from snow_depth where value is greater than the average of value in sunlight for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067808 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: lon, type, depth, qc
Sensor: temperature | fields: level, lon, value, lat
Task: Fetch depth from uv_index where reading is greater than the total of depth in temperature for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067809 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: type, ts, qc, unit
Sensor: turbidity | fields: ts, lon, unit, lat
Task: Fetch value from lightning that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067810 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: ts, type, reading, value
Sensor: dew_point | fields: ts, type, lon, qc
Task: Get level from visibility where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067811 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: unit, ts, depth, type
Sensor: pressure | fields: level, value, lat, reading
Task: Fetch level from lightning that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067812 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: qc, reading, lat, level
Sensor: pressure | fields: value, depth, level, lon
Task: Retrieve value from air_quality that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067813 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: level, value, ts, lon
Sensor: snow_depth | fields: type, qc, lon, level
Task: Fetch reading from sunlight where depth is greater than the minimum of depth in snow_depth for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067814 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: type, depth, lat, unit
Sensor: air_quality | fields: level, type, qc, value
Task: Fetch lon from drought_index where type exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067815 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: lat, lon, level, ts
Sensor: evaporation | fields: depth, lat, level, type
Task: Get reading from drought_index where type appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067816 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: depth, level, value, unit
Sensor: air_quality | fields: unit, level, lon, ts
Task: Get lon from uv_index where depth appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067817 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: lat, ts, depth, level
Sensor: drought_index | fields: depth, type, value, ts
Task: Retrieve reading from humidity that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067818 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: depth, level, value, unit
Sensor: cloud_cover | fields: lon, qc, level, ts
Task: Get reading from evaporation where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067819 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: level, lat, unit, depth
Sensor: sunlight | fields: level, value, depth, reading
Task: Fetch lon from rainfall where depth is greater than the count of of reading in sunlight for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067820 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: lat, qc, level, unit
Sensor: rainfall | fields: qc, ts, unit, lat
Task: Get level from uv_index where type appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067821 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: ts, unit, depth, qc
Sensor: evaporation | fields: level, lat, lon, value
Task: Fetch lon from turbidity that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067822 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, level, unit, qc
Sensor: sunlight | fields: unit, lon, type, ts
Task: Retrieve level from wind_speed whose unit is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067823 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: ts, lon, lat, level
Sensor: visibility | fields: unit, value, depth, level
Task: Get level from cloud_cover where depth exceeds the maximum depth from visibility for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067824 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: type, qc, lon, level
Sensor: pressure | fields: level, unit, reading, depth
Task: Get level from rainfall where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067825 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: ts, lat, level, depth
Sensor: wind_speed | fields: unit, qc, ts, lat
Task: Fetch value from drought_index that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067826 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: unit, level, lat, qc
Sensor: air_quality | fields: qc, type, unit, depth
Task: Retrieve reading from rainfall with reading above the SUM(depth) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067827 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: unit, ts, depth, lat
Sensor: wind_speed | fields: value, level, lon, depth
Task: Get reading from temperature where unit appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067828 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: type, lat, value, qc
Sensor: pressure | fields: level, lat, reading, lon
Task: Retrieve level from sunlight whose depth is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067829 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: reading, qc, ts, unit
Sensor: dew_point | fields: reading, unit, depth, value
Task: Fetch lon from temperature where depth is greater than the count of of reading in dew_point for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067830 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: unit, level, depth, qc
Sensor: pressure | fields: type, ts, reading, value
Task: Retrieve lat from turbidity with reading above the SUM(reading) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067831 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: value, lon, type, lat
Sensor: soil_moisture | fields: ts, reading, value, lat
Task: Retrieve value from turbidity with value above the COUNT(depth) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067832 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: level, value, lon, unit
Sensor: pressure | fields: depth, lat, reading, qc
Task: Get reading from dew_point where value exceeds the count of depth from pressure for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067833 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: lat, lon, reading, type
Sensor: temperature | fields: qc, value, lon, ts
Task: Fetch level from turbidity where reading is greater than the maximum of depth in temperature for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067834 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: unit, qc, reading, ts
Sensor: visibility | fields: value, type, depth, lat
Task: Retrieve lon from rainfall that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067835 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, ts, value, qc
Sensor: cloud_cover | fields: lat, lon, value, qc
Task: Fetch depth from soil_moisture that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067836 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: value, lon, reading, ts
Sensor: snow_depth | fields: value, ts, qc, depth
Task: Fetch reading from air_quality where reading is greater than the maximum of value in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067837 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: reading, lon, type, lat
Sensor: snow_depth | fields: lat, type, depth, lon
Task: Get value from uv_index where qc appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067838 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: level, depth, lon, type
Sensor: visibility | fields: depth, lat, ts, value
Task: Retrieve reading from frost with depth above the SUM(depth) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067839 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, level, reading, value
Sensor: visibility | fields: unit, level, value, ts
Task: Get lat from cloud_cover where unit appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067840 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: value, ts, type, lat
Sensor: lightning | fields: ts, reading, level, unit
Task: Get lat from drought_index where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067841 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: ts, value, depth, reading
Sensor: visibility | fields: ts, unit, type, reading
Task: Retrieve reading from turbidity with reading above the MAX(depth) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067842 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lon, type, depth, value
Sensor: air_quality | fields: value, qc, lat, depth
Task: Fetch lon from turbidity that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067843 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, lat, value, qc
Sensor: lightning | fields: value, depth, lat, qc
Task: Retrieve lon from cloud_cover whose type is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067844 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: reading, ts, unit, type
Sensor: pressure | fields: reading, qc, lon, type
Task: Fetch lat from turbidity where reading is greater than the maximum of value in pressure for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067845 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: type, level, unit, depth
Sensor: temperature | fields: level, qc, lat, ts
Task: Get lon from evaporation where type appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067846 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, lat, unit, depth
Sensor: dew_point | fields: qc, lat, value, ts
Task: Retrieve depth from soil_moisture that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067847 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: depth, qc, lat, type
Sensor: cloud_cover | fields: lat, qc, unit, level
Task: Get depth from drought_index where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067848 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: qc, value, lat, reading
Sensor: evaporation | fields: reading, lat, depth, ts
Task: Retrieve value from humidity that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067849 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, type, unit, reading
Sensor: temperature | fields: value, level, ts, unit
Task: Fetch depth from cloud_cover that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067850 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, lon, level, depth
Sensor: cloud_cover | fields: value, reading, lon, depth
Task: Get depth from soil_moisture where reading exceeds the minimum reading from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067851 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, unit, ts, value
Sensor: temperature | fields: value, depth, unit, lon
Task: Fetch depth from soil_moisture where unit exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067852 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lon, depth, type, qc
Sensor: humidity | fields: qc, ts, value, lat
Task: Get reading from cloud_cover where unit appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067853 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: qc, lon, value, reading
Sensor: frost | fields: lat, reading, qc, value
Task: Fetch value from uv_index where reading is greater than the maximum of value in frost for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067854 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: lat, level, depth, lon
Sensor: wind_speed | fields: type, ts, reading, qc
Task: Retrieve lon from frost whose depth is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067855 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: value, lon, qc, reading
Sensor: wind_speed | fields: qc, value, type, lon
Task: Retrieve lon from dew_point whose ts is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067856 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: ts, level, qc, unit
Sensor: humidity | fields: lat, value, unit, type
Task: Get value from pressure where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067857 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: lat, level, reading, lon
Sensor: lightning | fields: type, depth, lat, unit
Task: Fetch lat from drought_index where qc exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067858 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: lat, qc, lon, type
Sensor: turbidity | fields: value, lon, level, type
Task: Retrieve level from drought_index whose depth is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067859 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: lat, level, qc, unit
Sensor: evaporation | fields: lat, qc, lon, level
Task: Retrieve value from dew_point with depth above the MAX(depth) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067860 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: depth, qc, value, type
Sensor: frost | fields: lat, reading, lon, value
Task: Retrieve value from rainfall with depth above the COUNT(value) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067861 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: reading, lon, unit, lat
Sensor: snow_depth | fields: unit, qc, value, depth
Task: Fetch lon from dew_point where depth is greater than the maximum of value in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067862 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: type, depth, level, reading
Sensor: soil_moisture | fields: ts, unit, depth, lat
Task: Retrieve value from wind_speed that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067863 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: lat, type, qc, reading
Sensor: wind_speed | fields: type, reading, qc, lat
Task: Retrieve value from dew_point with reading above the AVG(value) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067864 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: depth, level, type, value
Sensor: snow_depth | fields: lon, unit, value, reading
Task: Fetch level from temperature that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067865 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: ts, lat, type, unit
Sensor: humidity | fields: depth, qc, type, ts
Task: Get depth from cloud_cover where depth appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067866 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: reading, lat, level, lon
Sensor: rainfall | fields: ts, reading, unit, lon
Task: Fetch value from temperature where depth is greater than the total of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067867 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: depth, qc, value, lat
Sensor: humidity | fields: unit, type, level, reading
Task: Get level from wind_speed where value exceeds the maximum depth from humidity for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067868 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: value, unit, lat, lon
Sensor: dew_point | fields: lon, level, depth, reading
Task: Retrieve value from pressure whose ts is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067869 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: level, depth, qc, type
Sensor: uv_index | fields: lon, reading, unit, value
Task: Retrieve lon from lightning that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067870 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: depth, lon, qc, reading
Sensor: air_quality | fields: value, reading, qc, ts
Task: Get lat from soil_moisture where reading exceeds the minimum depth from air_quality for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067871 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: qc, value, lat, reading
Sensor: lightning | fields: qc, type, ts, lat
Task: Get depth from turbidity where ts appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067872 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: level, qc, value, reading
Sensor: evaporation | fields: level, qc, unit, lat
Task: Fetch depth from uv_index where depth is greater than the total of value in evaporation for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067873 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: value, level, type, depth
Sensor: cloud_cover | fields: level, lat, lon, value
Task: Fetch lon from evaporation that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067874 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: lat, ts, level, depth
Sensor: temperature | fields: value, qc, lat, type
Task: Get value from pressure where depth exceeds the total depth from temperature for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067875 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: ts, unit, level, reading
Sensor: cloud_cover | fields: reading, type, unit, value
Task: Get lat from humidity where reading exceeds the maximum reading from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067876 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: level, lat, lon, type
Sensor: snow_depth | fields: depth, lat, ts, qc
Task: Fetch lon from temperature that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067877 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: depth, qc, lon, unit
Sensor: humidity | fields: depth, lat, ts, unit
Task: Get lat from rainfall where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067878 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: value, unit, ts, lat
Sensor: drought_index | fields: lat, ts, lon, level
Task: Get depth from pressure where value exceeds the average depth from drought_index for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067879 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: reading, lon, value, level
Sensor: cloud_cover | fields: qc, lat, lon, level
Task: Retrieve level from visibility that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067880 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: value, depth, level, qc
Sensor: rainfall | fields: ts, reading, qc, depth
Task: Get level from cloud_cover where depth appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067881 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: lon, value, level, type
Sensor: rainfall | fields: unit, value, type, depth
Task: Get lon from humidity where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067882 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: lon, qc, type, depth
Sensor: wind_speed | fields: value, ts, reading, qc
Task: Get lat from drought_index where depth exceeds the total reading from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067883 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: value, lon, unit, reading
Sensor: air_quality | fields: lon, unit, lat, ts
Task: Retrieve level 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="level",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067884 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: lat, type, lon, depth
Sensor: turbidity | fields: depth, level, type, lon
Task: Get depth from pressure where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067885 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: reading, qc, value, ts
Sensor: sunlight | fields: depth, reading, ts, unit
Task: Fetch lat from pressure where type exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067886 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: unit, type, ts, depth
Sensor: humidity | fields: type, reading, depth, value
Task: Retrieve value from air_quality whose depth is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067887 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: type, reading, qc, lat
Sensor: evaporation | fields: lon, reading, ts, depth
Task: Get depth from turbidity where depth exceeds the minimum value from evaporation for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"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_067888 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: qc, lat, depth, unit
Sensor: rainfall | fields: lat, type, level, qc
Task: Retrieve level from frost with value above the AVG(reading) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067889 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: level, lat, type, unit
Sensor: cloud_cover | fields: level, type, value, depth
Task: Retrieve lat from temperature with depth above the SUM(depth) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067890 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: level, value, lat, depth
Sensor: air_quality | fields: qc, level, type, ts
Task: Get value from sunlight where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067891 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: qc, unit, depth, type
Sensor: cloud_cover | fields: unit, type, qc, lon
Task: Fetch lon from drought_index where value is greater than the total of value in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067892 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: lon, level, lat, depth
Sensor: air_quality | fields: level, type, lat, ts
Task: Retrieve depth from turbidity whose depth is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067893 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: value, level, lat, type
Sensor: sunlight | fields: lat, ts, lon, reading
Task: Get depth from uv_index where value exceeds the minimum value from sunlight for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067894 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: qc, reading, value, level
Sensor: snow_depth | fields: depth, unit, ts, value
Task: Get lon from humidity where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067895 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: qc, type, level, lon
Sensor: visibility | fields: ts, lon, value, depth
Task: Fetch lat from soil_moisture that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_067896 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: qc, level, depth, reading
Sensor: uv_index | fields: depth, lon, ts, lat
Task: Fetch value from visibility where ts exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067897 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: level, qc, unit, lat
Sensor: snow_depth | fields: ts, value, unit, level
Task: Get lat from rainfall where type appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067898 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: level, qc, value, reading
Sensor: uv_index | fields: reading, depth, level, lat
Task: Get reading from pressure where depth appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_067899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.