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: temperature | code: gst | fields: unit, reading, depth, qc
Sensor: pressure | fields: level, value, lon, reading
Task: Retrieve lon from temperature whose type is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057300 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: type, level, qc, lon
Sensor: humidity | fields: depth, ts, qc, unit
Task: Get lon from air_quality where qc appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057301 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: unit, reading, value, depth
Sensor: lightning | fields: lon, qc, value, ts
Task: Get lat from rainfall where value exceeds the average value from lightning for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057302 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lon, lat, type, qc
Sensor: turbidity | fields: lat, ts, type, value
Task: Get value from air_quality where qc appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057303 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: level, qc, type, unit
Sensor: pressure | fields: value, type, level, reading
Task: Retrieve depth from lightning whose type is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057304 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: ts, value, lat, lon
Sensor: visibility | fields: depth, type, ts, reading
Task: Fetch level from uv_index where depth is greater than the average of depth in visibility for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057305 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, type, depth, ts
Sensor: humidity | fields: level, unit, lon, qc
Task: Retrieve lat from snow_depth with reading above the AVG(depth) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057306 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: qc, type, depth, unit
Sensor: turbidity | fields: lat, type, unit, ts
Task: Retrieve depth from pressure that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057307 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: type, depth, ts, lon
Sensor: pressure | fields: depth, value, lat, level
Task: Fetch reading from rainfall where value is greater than the average of reading in pressure for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057308 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: lat, lon, value, qc
Sensor: evaporation | fields: value, qc, type, unit
Task: Get reading from pressure where depth exceeds the total reading from evaporation for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057309 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: lat, depth, type, lon
Sensor: pressure | fields: level, lon, lat, depth
Task: Fetch value from visibility that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057310 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: level, value, lat, reading
Sensor: frost | fields: type, level, depth, lon
Task: Retrieve level from wind_speed with value above the COUNT(depth) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057311 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: ts, lon, level, unit
Sensor: dew_point | fields: type, qc, lon, level
Task: Get lon from air_quality where depth appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057312 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, lat, ts, qc
Sensor: humidity | fields: reading, lon, lat, depth
Task: Get lat from cloud_cover where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057313 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: lat, qc, reading, type
Sensor: turbidity | fields: depth, ts, lat, lon
Task: Retrieve reading from lightning whose type is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057314 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: type, value, lon, unit
Sensor: temperature | fields: type, level, lat, reading
Task: Retrieve depth from uv_index that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057315 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: lat, unit, value, ts
Sensor: humidity | fields: lat, unit, ts, depth
Task: Get level from sunlight where value exceeds the minimum depth from humidity for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057316 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: unit, ts, value, depth
Sensor: snow_depth | fields: unit, type, lat, value
Task: Get depth from uv_index where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057317 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: qc, type, lat, value
Sensor: wind_speed | fields: lon, depth, ts, reading
Task: Fetch depth from evaporation where reading is greater than the maximum of value in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057318 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: level, ts, value, depth
Sensor: air_quality | fields: ts, unit, depth, lon
Task: Get lon from temperature where value exceeds the total reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057319 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: lat, value, lon, qc
Sensor: drought_index | fields: level, type, unit, value
Task: Get level from temperature where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057320 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: value, depth, lon, qc
Sensor: snow_depth | fields: type, reading, lon, qc
Task: Fetch lon from rainfall where type exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057321 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: lat, lon, reading, qc
Sensor: frost | fields: lat, depth, unit, reading
Task: Retrieve reading from visibility that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057322 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: lon, value, level, type
Sensor: cloud_cover | fields: lon, ts, value, level
Task: Fetch level from sunlight where reading is greater than the minimum of value in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057323 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: lat, type, value, reading
Sensor: uv_index | fields: lat, unit, type, qc
Task: Retrieve level from dew_point whose ts is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057324 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: unit, reading, value, qc
Sensor: humidity | fields: depth, qc, type, ts
Task: Get reading from turbidity where ts appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057325 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: level, ts, lat, lon
Sensor: sunlight | fields: value, type, qc, reading
Task: Get level from evaporation where depth appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057326 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: depth, qc, type, lon
Sensor: visibility | fields: lon, reading, depth, ts
Task: Fetch reading from uv_index that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057327 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: type, level, ts, value
Sensor: soil_moisture | fields: lat, level, value, lon
Task: Fetch reading from temperature where reading is greater than the minimum of reading in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"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_057328 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: reading, depth, type, lon
Sensor: lightning | fields: depth, lat, value, reading
Task: Retrieve lon from temperature with depth above the AVG(value) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057329 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, qc, reading, depth
Sensor: sunlight | fields: lon, level, qc, lat
Task: Get value from wind_speed where value exceeds the average reading from sunlight for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057330 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: ts, lon, type, lat
Sensor: evaporation | fields: qc, level, reading, unit
Task: Get value from sunlight where type appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057331 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: value, ts, lat, reading
Sensor: frost | fields: lat, value, type, ts
Task: Retrieve depth from turbidity whose unit is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057332 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: lat, ts, depth, unit
Sensor: uv_index | fields: unit, lon, qc, lat
Task: Retrieve lon from drought_index whose type is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057333 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: reading, lat, level, value
Sensor: wind_speed | fields: level, ts, qc, lat
Task: Retrieve value from air_quality that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057334 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: lat, value, ts, type
Sensor: air_quality | fields: lon, value, reading, level
Task: Fetch lon from cloud_cover where depth exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057335 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: ts, lat, level, type
Sensor: sunlight | fields: level, reading, value, lon
Task: Get lat from dew_point where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057336 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: type, value, qc, lat
Sensor: sunlight | fields: reading, depth, unit, lat
Task: Fetch depth from uv_index where depth exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057337 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: ts, type, reading, value
Sensor: dew_point | fields: lat, value, level, ts
Task: Get lon from turbidity where depth exceeds the maximum depth from dew_point for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057338 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lon, qc, reading, type
Sensor: turbidity | fields: reading, lat, ts, unit
Task: Get value from dew_point where reading exceeds the total depth from turbidity for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057339 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: type, unit, reading, level
Sensor: cloud_cover | fields: type, level, value, reading
Task: Retrieve depth from sunlight with value above the AVG(depth) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057340 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, level, qc, lon
Sensor: dew_point | fields: unit, reading, lat, ts
Task: Get value from snow_depth where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057341 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: value, depth, ts, unit
Sensor: humidity | fields: ts, depth, lon, lat
Task: Fetch value from drought_index that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057342 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lon, unit, reading, type
Sensor: frost | fields: qc, value, ts, lon
Task: Fetch lat from pressure where depth exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057343 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, lat, lon, depth
Sensor: visibility | fields: type, reading, level, value
Task: Fetch level from cloud_cover that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057344 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: unit, lon, level, ts
Sensor: snow_depth | fields: lon, level, ts, unit
Task: Retrieve lon from air_quality with reading above the AVG(reading) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057345 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: reading, depth, value, type
Sensor: uv_index | fields: qc, depth, ts, level
Task: Fetch lat from frost that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057346 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: lon, unit, reading, depth
Sensor: visibility | fields: lat, depth, value, qc
Task: Fetch level from air_quality where depth is greater than the average of reading in visibility for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057347 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: lon, type, lat, reading
Sensor: evaporation | fields: depth, unit, qc, lat
Task: Retrieve value from frost with depth above the AVG(value) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057348 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: depth, reading, lat, qc
Sensor: humidity | fields: lat, qc, ts, unit
Task: Get lat from pressure where unit appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057349 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: ts, lon, lat, value
Sensor: uv_index | fields: type, ts, level, depth
Task: Retrieve level from rainfall whose unit is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057350 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: lon, depth, ts, qc
Sensor: soil_moisture | fields: unit, reading, type, lon
Task: Fetch depth from turbidity where qc exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057351 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: value, unit, lon, reading
Sensor: turbidity | fields: level, type, depth, value
Task: Fetch lat from temperature where qc exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057352 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, value, qc, ts
Sensor: sunlight | fields: reading, level, lat, unit
Task: Get lat from cloud_cover where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057353 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: level, unit, type, value
Sensor: cloud_cover | fields: reading, lon, level, unit
Task: Get reading from humidity where depth exceeds the count of value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057354 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, qc, lat, ts
Sensor: wind_speed | fields: lon, ts, unit, type
Task: Get lat from cloud_cover where ts appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057355 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: lat, level, type, ts
Sensor: turbidity | fields: lon, lat, depth, value
Task: Fetch value from visibility where value is greater than the total of value in turbidity for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057356 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: level, reading, lat, lon
Sensor: sunlight | fields: qc, type, unit, depth
Task: Fetch lon from turbidity where depth exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057357 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: depth, qc, lon, ts
Sensor: snow_depth | fields: lat, type, reading, depth
Task: Get lon from visibility where value exceeds the count of depth from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057358 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: depth, reading, qc, type
Sensor: humidity | fields: unit, qc, depth, ts
Task: Retrieve value from lightning with value above the MAX(value) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057359 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: ts, value, reading, type
Sensor: snow_depth | fields: type, qc, ts, depth
Task: Get value from rainfall where qc appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057360 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: type, reading, qc, lat
Sensor: cloud_cover | fields: ts, value, lat, lon
Task: Get level from frost where value exceeds the minimum value from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057361 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, reading, qc, unit
Sensor: lightning | fields: reading, depth, value, type
Task: Retrieve depth from cloud_cover whose unit is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057362 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: value, type, lon, qc
Sensor: lightning | fields: depth, lon, type, reading
Task: Retrieve lon from soil_moisture whose unit is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057363 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: level, lat, ts, qc
Sensor: snow_depth | fields: lon, reading, qc, value
Task: Get value from soil_moisture where depth appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057364 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: value, type, ts, reading
Sensor: temperature | fields: value, reading, level, depth
Task: Fetch level from sunlight that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057365 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: lon, depth, value, unit
Sensor: rainfall | fields: lat, value, level, ts
Task: Fetch lon from humidity where depth exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057366 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: level, ts, value, qc
Sensor: cloud_cover | fields: qc, ts, depth, reading
Task: Get depth from sunlight where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057367 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: value, level, ts, unit
Sensor: evaporation | fields: lon, lat, unit, type
Task: Retrieve lon from rainfall with value above the COUNT(value) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057368 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: qc, level, reading, ts
Sensor: dew_point | fields: unit, lon, qc, type
Task: Fetch level from drought_index where depth is greater than the minimum of depth in dew_point for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057369 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: level, reading, value, unit
Sensor: wind_speed | fields: lat, type, ts, level
Task: Retrieve value from temperature with reading above the AVG(reading) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057370 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: reading, unit, value, lat
Sensor: rainfall | fields: lat, type, unit, ts
Task: Fetch lat from turbidity that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057371 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: value, qc, type, ts
Sensor: snow_depth | fields: depth, unit, ts, type
Task: Get reading from humidity where value exceeds the total reading from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057372 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: lon, unit, qc, reading
Sensor: visibility | fields: unit, level, type, value
Task: Get level from temperature where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057373 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: lon, qc, type, reading
Sensor: lightning | fields: qc, lat, lon, unit
Task: Get lat from wind_speed where depth exceeds the count of depth from lightning for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057374 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: lon, depth, level, value
Sensor: evaporation | fields: type, qc, reading, unit
Task: Get level from wind_speed where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057375 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: ts, type, lat, level
Sensor: uv_index | fields: depth, qc, ts, value
Task: Fetch level from rainfall where depth exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057376 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: lat, unit, ts, level
Sensor: temperature | fields: depth, unit, qc, value
Task: Fetch depth from pressure where qc exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057377 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: unit, reading, ts, qc
Sensor: soil_moisture | fields: depth, unit, ts, lon
Task: Retrieve lon from temperature whose unit is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057378 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: depth, lon, level, lat
Sensor: evaporation | fields: level, lon, lat, depth
Task: Fetch lat from pressure that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057379 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: depth, level, qc, lon
Sensor: uv_index | fields: reading, unit, ts, level
Task: Fetch value from temperature where value is greater than the count of of depth in uv_index for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057380 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: unit, qc, lat, reading
Sensor: turbidity | fields: ts, qc, unit, value
Task: Retrieve lat from humidity whose ts is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057381 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: type, unit, level, lat
Sensor: pressure | fields: depth, value, unit, lat
Task: Fetch reading from humidity that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057382 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: type, unit, qc, ts
Sensor: visibility | fields: ts, lon, reading, depth
Task: Get reading from sunlight where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057383 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: lon, lat, value, type
Sensor: uv_index | fields: type, lat, unit, ts
Task: Fetch lat from cloud_cover that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057384 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: qc, type, value, lon
Sensor: lightning | fields: type, reading, value, qc
Task: Get depth from cloud_cover where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057385 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: reading, unit, depth, value
Sensor: dew_point | fields: value, lon, type, depth
Task: Retrieve lon from visibility that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057386 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, lat, qc, depth
Sensor: dew_point | fields: value, level, type, lat
Task: Retrieve level 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="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057387 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: qc, unit, depth, type
Sensor: lightning | fields: reading, unit, depth, value
Task: Fetch lat from humidity where type exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057388 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, level, value, type
Sensor: turbidity | fields: ts, qc, reading, lat
Task: Fetch lon from cloud_cover that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057389 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: qc, reading, lon, type
Sensor: drought_index | fields: unit, value, qc, reading
Task: Get value from rainfall where qc appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057390 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lat, type, ts, qc
Sensor: visibility | fields: ts, value, type, lon
Task: Get value from air_quality where value exceeds the total reading from visibility for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057391 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: level, lat, lon, reading
Sensor: sunlight | fields: ts, value, lon, type
Task: Retrieve depth from temperature with value above the COUNT(depth) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057392 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: reading, type, ts, qc
Sensor: air_quality | fields: ts, lon, type, value
Task: Retrieve level from sunlight that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057393 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: qc, level, unit, lon
Sensor: temperature | fields: qc, value, reading, ts
Task: Retrieve level from frost whose unit is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057394 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: qc, reading, unit, lon
Sensor: uv_index | fields: reading, level, type, value
Task: Get depth from evaporation where ts appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057395 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: level, qc, depth, unit
Sensor: humidity | fields: ts, lon, level, reading
Task: Get reading from sunlight where depth appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057396 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: value, level, ts, reading
Sensor: soil_moisture | fields: value, depth, unit, lat
Task: Fetch depth from dew_point that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057397 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: type, qc, value, lat
Sensor: snow_depth | fields: ts, qc, lon, depth
Task: Get lat from lightning where depth appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057398 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: lat, type, level, lon
Sensor: turbidity | fields: lat, reading, lon, level
Task: Fetch lat from evaporation that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.