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: soil_moisture | code: stn | fields: lon, reading, unit, value
Sensor: turbidity | fields: level, unit, lon, reading
Task: Fetch lon from soil_moisture where qc exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045200 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: ts, value, reading, lat
Sensor: lightning | fields: ts, qc, lon, value
Task: Fetch reading from soil_moisture where reading is greater than the average of value in lightning for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045201 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: level, depth, lon, value
Sensor: pressure | fields: lat, level, value, reading
Task: Retrieve reading from frost whose ts is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045202 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: unit, depth, lon, type
Sensor: frost | fields: qc, ts, lon, depth
Task: Fetch lat from pressure that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045203 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: level, ts, lat, reading
Sensor: cloud_cover | fields: unit, ts, lon, qc
Task: Fetch level from humidity that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045204 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: ts, level, unit, lon
Sensor: dew_point | fields: unit, lat, value, depth
Task: Fetch value from rainfall where type exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045205 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: lat, value, level, unit
Sensor: sunlight | fields: ts, lat, lon, unit
Task: Fetch level from air_quality where qc exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045206 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: reading, lon, qc, type
Sensor: evaporation | fields: reading, depth, qc, lat
Task: Fetch level from dew_point that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045207 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: qc, level, reading, type
Sensor: rainfall | fields: unit, type, reading, qc
Task: Get level from pressure where qc appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045208 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: type, level, depth, qc
Sensor: rainfall | fields: depth, qc, type, value
Task: Get depth from pressure where reading exceeds the average depth from rainfall for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045209 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: level, lon, unit, qc
Sensor: rainfall | fields: unit, qc, lon, reading
Task: Fetch value from pressure where reading is greater than the minimum of reading in rainfall for matching type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045210 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: qc, reading, ts, lat
Sensor: rainfall | fields: qc, reading, depth, lat
Task: Retrieve value from drought_index that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045211 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: reading, depth, type, value
Sensor: air_quality | fields: reading, lat, value, type
Task: Get value from rainfall where qc appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045212 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, qc, value, ts
Sensor: temperature | fields: value, qc, level, type
Task: Fetch lat from snow_depth that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045213 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: value, level, qc, depth
Sensor: lightning | fields: depth, reading, level, unit
Task: Retrieve value from temperature whose depth is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045214 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: level, lon, lat, value
Sensor: lightning | fields: type, value, depth, unit
Task: Retrieve reading from uv_index whose unit is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045215 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: qc, level, type, reading
Sensor: snow_depth | fields: unit, lat, ts, lon
Task: Retrieve reading from frost that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045216 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, reading, qc, lon
Sensor: temperature | fields: level, lat, depth, lon
Task: Fetch reading from cloud_cover where ts exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045217 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: qc, lon, unit, reading
Sensor: soil_moisture | fields: type, depth, reading, level
Task: Retrieve value from pressure whose depth is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045218 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: value, ts, lon, type
Sensor: dew_point | fields: level, reading, value, type
Task: Fetch lat from drought_index that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045219 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: reading, lon, level, value
Sensor: turbidity | fields: unit, lat, reading, qc
Task: Retrieve value from uv_index with depth above the AVG(depth) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045220 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: level, depth, qc, value
Sensor: evaporation | fields: value, reading, type, qc
Task: Get lat from soil_moisture where depth appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045221 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: qc, reading, value, ts
Sensor: drought_index | fields: lat, ts, value, reading
Task: Fetch value from sunlight where ts exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045222 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: value, type, lat, qc
Sensor: cloud_cover | fields: level, unit, value, depth
Task: Retrieve depth from pressure that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045223 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: lon, type, reading, lat
Sensor: dew_point | fields: type, depth, lon, value
Task: Retrieve depth from temperature whose qc is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045224 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: ts, level, value, type
Sensor: drought_index | fields: value, type, lat, unit
Task: Fetch depth from air_quality where unit exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045225 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, value, unit, depth
Sensor: soil_moisture | fields: unit, lat, type, level
Task: Get reading from cloud_cover where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"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_045226 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: lat, qc, reading, type
Sensor: uv_index | fields: lat, lon, value, type
Task: Retrieve value from air_quality whose ts is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045227 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: reading, ts, lon, qc
Sensor: temperature | fields: unit, reading, level, value
Task: Retrieve level from cloud_cover with value above the COUNT(value) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045228 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: type, ts, unit, value
Sensor: evaporation | fields: qc, value, level, depth
Task: Get lon from air_quality where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045229 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: value, lon, qc, unit
Sensor: soil_moisture | fields: lat, level, type, ts
Task: Fetch value from humidity that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045230 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: type, depth, level, value
Sensor: dew_point | fields: ts, unit, lat, reading
Task: Retrieve lat from wind_speed whose ts is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045231 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: depth, level, ts, value
Sensor: rainfall | fields: depth, type, qc, unit
Task: Retrieve depth from dew_point with depth above the MIN(depth) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045232 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: depth, value, ts, qc
Sensor: uv_index | fields: level, unit, lon, lat
Task: Get value from cloud_cover where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045233 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: level, type, value, lon
Sensor: rainfall | fields: unit, ts, level, depth
Task: Fetch value from turbidity where value is greater than the count of of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045234 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: level, type, lat, qc
Sensor: air_quality | fields: type, qc, ts, depth
Task: Fetch reading from snow_depth where depth is greater than the maximum of reading in air_quality for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045235 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: reading, depth, value, lat
Sensor: snow_depth | fields: depth, qc, ts, unit
Task: Retrieve lon from air_quality whose unit is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045236 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: level, unit, qc, value
Sensor: frost | fields: ts, reading, level, depth
Task: Fetch depth from pressure that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045237 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: depth, unit, type, lon
Sensor: uv_index | fields: type, lon, lat, level
Task: Get level from evaporation where reading exceeds the total depth from uv_index for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045238 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: reading, level, type, lon
Sensor: temperature | fields: lon, value, type, unit
Task: Fetch lon from evaporation that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045239 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: type, reading, unit, ts
Sensor: snow_depth | fields: depth, lon, reading, type
Task: Get level from frost where type appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045240 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: value, lat, qc, type
Sensor: turbidity | fields: reading, unit, value, level
Task: Fetch lon from dew_point where value is greater than the average of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045241 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: type, value, lon, depth
Sensor: soil_moisture | fields: unit, lat, reading, lon
Task: Get value from humidity where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045242 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: value, qc, level, unit
Sensor: wind_speed | fields: reading, ts, unit, value
Task: Get level from turbidity where reading exceeds the count of value from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045243 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: type, qc, level, unit
Sensor: turbidity | fields: level, ts, depth, qc
Task: Fetch value from air_quality where value is greater than the minimum of value in turbidity for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045244 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: lat, level, value, unit
Sensor: air_quality | fields: unit, ts, reading, type
Task: Fetch value from drought_index where depth is greater than the total of value in air_quality for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045245 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: unit, lat, qc, depth
Sensor: dew_point | fields: level, qc, lat, depth
Task: Get reading from evaporation where ts appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045246 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: reading, ts, type, value
Sensor: drought_index | fields: qc, depth, lon, lat
Task: Retrieve reading from lightning whose ts is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045247 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: type, value, qc, level
Sensor: rainfall | fields: depth, ts, level, value
Task: Get lon from soil_moisture where reading exceeds the average reading from rainfall for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045248 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: ts, level, value, qc
Sensor: cloud_cover | fields: type, ts, reading, lat
Task: Get reading from pressure where reading exceeds the minimum value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045249 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: unit, lon, level, value
Sensor: drought_index | fields: value, type, ts, level
Task: Fetch level from dew_point where depth is greater than the minimum of depth in drought_index for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045250 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: type, value, lon, lat
Sensor: lightning | fields: reading, level, ts, value
Task: Retrieve lon from air_quality whose ts is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045251 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: value, lat, reading, ts
Sensor: drought_index | fields: type, value, depth, lon
Task: Retrieve value from frost whose ts is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045252 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: lon, level, type, ts
Sensor: dew_point | fields: qc, type, unit, value
Task: Retrieve reading from frost with value above the MAX(value) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045253 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: level, type, lon, depth
Sensor: frost | fields: lon, value, type, depth
Task: Retrieve level from wind_speed whose unit is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045254 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: level, ts, reading, lon
Sensor: pressure | fields: qc, lat, unit, reading
Task: Retrieve level from wind_speed with reading above the AVG(depth) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045255 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: depth, qc, unit, lon
Sensor: visibility | fields: type, unit, value, lon
Task: Get reading from uv_index where value exceeds the maximum depth from visibility for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045256 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, level, lat, lon
Sensor: lightning | fields: value, level, ts, unit
Task: Get level from wind_speed where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045257 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, lat, type, qc
Sensor: dew_point | fields: level, value, unit, depth
Task: Retrieve reading from wind_speed whose ts is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045258 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: lon, value, ts, depth
Sensor: sunlight | fields: unit, reading, value, lon
Task: Fetch value from visibility that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045259 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: unit, ts, depth, lat
Sensor: uv_index | fields: unit, depth, reading, type
Task: Fetch level from wind_speed where value is greater than the maximum of reading in uv_index for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045260 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: lon, lat, qc, value
Sensor: cloud_cover | fields: ts, lon, depth, value
Task: Get depth from air_quality where depth exceeds the average value from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045261 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, level, ts, type
Sensor: snow_depth | fields: depth, unit, qc, lat
Task: Fetch level from soil_moisture that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045262 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: unit, type, ts, reading
Sensor: temperature | fields: type, qc, lon, lat
Task: Fetch level from cloud_cover where type exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045263 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: level, qc, unit, reading
Sensor: wind_speed | fields: reading, lat, qc, level
Task: Get lat from rainfall where unit appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045264 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lat, type, depth, ts
Sensor: soil_moisture | fields: type, lat, ts, value
Task: Get lat from pressure where ts appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045265 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: value, ts, lon, level
Sensor: turbidity | fields: lon, level, ts, unit
Task: Get level from snow_depth where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045266 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: qc, type, level, lon
Sensor: visibility | fields: ts, value, unit, type
Task: Retrieve lat from humidity whose unit is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045267 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: level, qc, unit, ts
Sensor: snow_depth | fields: lon, value, unit, type
Task: Fetch depth from humidity where qc exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045268 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: depth, unit, type, reading
Sensor: snow_depth | fields: reading, level, qc, depth
Task: Retrieve value from humidity whose qc is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045269 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: lat, value, ts, depth
Sensor: lightning | fields: reading, depth, qc, ts
Task: Retrieve value from visibility that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045270 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: type, level, ts, value
Sensor: sunlight | fields: type, reading, lat, lon
Task: Fetch reading from dew_point where unit exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045271 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: lat, lon, ts, depth
Sensor: snow_depth | fields: reading, depth, type, lat
Task: Retrieve reading from visibility with reading above the MAX(value) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045272 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: level, value, unit, qc
Sensor: air_quality | fields: qc, ts, lon, lat
Task: Retrieve level from frost whose type is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045273 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: type, reading, depth, unit
Sensor: lightning | fields: lon, reading, unit, lat
Task: Retrieve value from wind_speed with reading above the COUNT(value) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045274 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: lat, ts, reading, type
Sensor: evaporation | fields: lat, value, ts, level
Task: Fetch value from drought_index where unit exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045275 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: type, ts, reading, lat
Sensor: drought_index | fields: ts, qc, level, value
Task: Retrieve reading from uv_index whose unit is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045276 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: level, depth, value, type
Sensor: snow_depth | fields: lat, reading, value, qc
Task: Get lon from evaporation where qc appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045277 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, depth, ts, type
Sensor: sunlight | fields: value, level, unit, depth
Task: Fetch reading from wind_speed that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045278 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: type, reading, depth, lat
Sensor: dew_point | fields: ts, type, depth, lon
Task: Retrieve lon from uv_index that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045279 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: value, level, ts, type
Sensor: soil_moisture | fields: lat, value, unit, ts
Task: Retrieve lat from sunlight that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045280 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: lat, ts, type, level
Sensor: uv_index | fields: level, lon, unit, qc
Task: Fetch level from rainfall that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045281 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: ts, lat, type, unit
Sensor: rainfall | fields: value, qc, type, unit
Task: Fetch depth from visibility where reading is greater than the total of reading in rainfall for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045282 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: level, type, reading, value
Sensor: cloud_cover | fields: ts, lon, reading, type
Task: Retrieve level from visibility whose ts is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045283 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: lat, level, value, depth
Sensor: turbidity | fields: value, unit, ts, depth
Task: Get depth from snow_depth where ts appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045284 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: depth, reading, lon, ts
Sensor: humidity | fields: level, lon, unit, depth
Task: Get level from evaporation where reading exceeds the maximum depth from humidity for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045285 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: lon, unit, qc, lat
Sensor: wind_speed | fields: qc, depth, value, lon
Task: Fetch depth from lightning where value is greater than the minimum of value in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045286 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: unit, lat, lon, ts
Sensor: uv_index | fields: ts, depth, type, lat
Task: Get depth from soil_moisture where value exceeds the total value from uv_index for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045287 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: unit, depth, level, value
Sensor: sunlight | fields: ts, value, lat, qc
Task: Fetch reading from visibility that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045288 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: level, unit, reading, lat
Sensor: dew_point | fields: ts, unit, type, value
Task: Fetch level from rainfall where value is greater than the maximum of value in dew_point for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045289 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: lon, depth, reading, unit
Sensor: soil_moisture | fields: ts, depth, qc, lon
Task: Retrieve reading from pressure whose qc is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045290 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: value, lon, ts, qc
Sensor: wind_speed | fields: value, qc, unit, level
Task: Retrieve level from rainfall with depth above the SUM(depth) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045291 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: ts, depth, level, value
Sensor: lightning | fields: qc, depth, level, reading
Task: Get lon from temperature where unit appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045292 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: qc, lat, lon, type
Sensor: soil_moisture | fields: reading, lat, ts, unit
Task: Retrieve level from rainfall whose type is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045293 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: lon, type, unit, level
Sensor: sunlight | fields: depth, reading, value, ts
Task: Get depth from snow_depth where unit appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045294 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: type, level, ts, unit
Sensor: humidity | fields: lat, lon, type, value
Task: Retrieve lon from wind_speed that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045295 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, unit, lon, type
Sensor: soil_moisture | fields: lon, unit, depth, reading
Task: Get lat from cloud_cover where type appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045296 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: ts, lon, level, type
Sensor: cloud_cover | fields: qc, type, level, value
Task: Retrieve reading from evaporation with depth above the MIN(depth) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045297 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: depth, lat, qc, reading
Sensor: frost | fields: type, qc, reading, depth
Task: Fetch depth from uv_index where value is greater than the minimum of depth in frost for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045298 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: type, lat, reading, depth
Sensor: frost | fields: level, reading, lat, type
Task: Fetch reading from snow_depth where depth exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.