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: lightning | code: stn | fields: ts, qc, level, lon
Sensor: visibility | fields: lon, ts, reading, depth
Task: Fetch level from lightning where unit exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056600 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: unit, depth, lat, ts
Sensor: humidity | fields: lon, qc, unit, ts
Task: Retrieve level from rainfall whose unit is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056601 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: type, unit, lat, level
Sensor: pressure | fields: value, lat, type, depth
Task: Get value from evaporation where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056602 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: type, qc, ts, lat
Sensor: cloud_cover | fields: unit, ts, lon, lat
Task: Get depth from lightning where reading exceeds the average value from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056603 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: level, depth, lon, unit
Sensor: lightning | fields: level, type, depth, unit
Task: Retrieve level from evaporation that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"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_056604 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: depth, reading, unit, ts
Sensor: sunlight | fields: lat, ts, lon, type
Task: Retrieve value from dew_point with value above the MIN(value) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056605 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: unit, depth, lat, level
Sensor: uv_index | fields: depth, reading, level, value
Task: Fetch depth from turbidity where value is greater than the average of depth in uv_index for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056606 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: lon, level, unit, qc
Sensor: evaporation | fields: lon, unit, value, qc
Task: Get level from pressure where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056607 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: type, unit, lon, lat
Sensor: soil_moisture | fields: lon, reading, qc, level
Task: Get depth from snow_depth where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056608 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, unit, qc, lon
Sensor: evaporation | fields: qc, unit, ts, lat
Task: Fetch depth from soil_moisture where value is greater than the total of value in evaporation for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056609 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: level, type, unit, depth
Sensor: lightning | fields: value, type, lon, depth
Task: Get level from pressure where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056610 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: depth, type, value, level
Sensor: cloud_cover | fields: reading, depth, lon, type
Task: Fetch lat from uv_index that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056611 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: qc, ts, level, depth
Sensor: air_quality | fields: lon, level, lat, ts
Task: Fetch reading from sunlight where qc exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056612 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, level, unit, value
Sensor: frost | fields: lat, type, reading, unit
Task: Get depth from wind_speed where depth exceeds the average reading from frost for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056613 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: unit, lat, type, depth
Sensor: visibility | fields: depth, reading, ts, level
Task: Fetch reading from evaporation where reading is greater than the maximum of depth in visibility for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056614 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: lat, level, reading, value
Sensor: pressure | fields: reading, level, lat, ts
Task: Get lat from humidity where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056615 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: reading, value, depth, lon
Sensor: temperature | fields: depth, qc, lat, level
Task: Retrieve value from turbidity whose unit is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056616 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: level, ts, lat, unit
Sensor: wind_speed | fields: reading, level, ts, unit
Task: Get value from rainfall where value exceeds the minimum reading from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056617 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: unit, lon, type, depth
Sensor: humidity | fields: value, lon, level, reading
Task: Retrieve reading from frost whose depth is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056618 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: level, depth, lon, qc
Sensor: air_quality | fields: type, lat, depth, unit
Task: Fetch lat from humidity where unit exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056619 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: level, lon, depth, ts
Sensor: temperature | fields: unit, reading, type, depth
Task: Fetch reading from evaporation that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056620 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: reading, type, level, lon
Sensor: pressure | fields: lon, value, unit, level
Task: Retrieve reading from snow_depth with depth above the SUM(value) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056621 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: qc, lat, depth, ts
Sensor: visibility | fields: type, reading, ts, unit
Task: Retrieve level from lightning whose unit is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056622 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: lon, type, unit, lat
Sensor: evaporation | fields: qc, unit, level, reading
Task: Retrieve depth from lightning that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056623 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: lat, value, level, type
Sensor: dew_point | fields: reading, qc, depth, unit
Task: Retrieve lon from humidity whose type is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056624 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: unit, depth, qc, type
Sensor: turbidity | fields: depth, unit, value, lat
Task: Fetch level from wind_speed where depth exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056625 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: level, lon, lat, depth
Sensor: air_quality | fields: qc, unit, depth, reading
Task: Get lat from pressure where qc appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056626 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, type, unit, qc
Sensor: snow_depth | fields: value, lat, depth, qc
Task: Retrieve depth from cloud_cover whose qc is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056627 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: value, ts, level, unit
Sensor: pressure | fields: ts, value, type, level
Task: Get reading from humidity where type appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056628 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: lon, lat, level, type
Sensor: temperature | fields: type, unit, depth, value
Task: Get value from evaporation where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056629 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: value, depth, level, ts
Sensor: pressure | fields: lon, lat, value, type
Task: Get depth from wind_speed where qc appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056630 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: reading, level, type, qc
Sensor: uv_index | fields: value, lon, lat, qc
Task: Fetch level from evaporation where type exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056631 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: lon, qc, lat, value
Sensor: uv_index | fields: level, qc, lat, unit
Task: Fetch value from air_quality that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056632 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: type, unit, lat, lon
Sensor: drought_index | fields: unit, reading, depth, lat
Task: Retrieve level from sunlight that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056633 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: level, ts, unit, qc
Sensor: uv_index | fields: depth, type, value, lon
Task: Fetch lon from dew_point that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056634 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: ts, qc, value, level
Sensor: snow_depth | fields: depth, level, ts, type
Task: Fetch level from visibility where qc exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056635 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: lon, reading, value, level
Sensor: sunlight | fields: lon, ts, depth, lat
Task: Get reading from evaporation where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056636 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: level, qc, unit, reading
Sensor: pressure | fields: qc, type, unit, reading
Task: Retrieve depth from temperature with depth above the MAX(depth) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056637 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: value, type, lat, unit
Sensor: uv_index | fields: lat, value, type, depth
Task: Get reading from lightning where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056638 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: lon, value, unit, ts
Sensor: dew_point | fields: qc, value, depth, level
Task: Retrieve lat from air_quality with value above the AVG(reading) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056639 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: reading, lon, level, value
Sensor: turbidity | fields: value, ts, unit, qc
Task: Retrieve lat from sunlight that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056640 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: ts, value, lat, depth
Sensor: uv_index | fields: ts, value, reading, depth
Task: Fetch reading from frost where unit exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056641 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: qc, reading, lat, level
Sensor: pressure | fields: lon, qc, reading, lat
Task: Get value from dew_point where reading exceeds the minimum reading from pressure for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056642 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: qc, level, unit, lon
Sensor: cloud_cover | fields: type, lon, depth, lat
Task: Retrieve lon from drought_index whose unit is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056643 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: reading, depth, lon, type
Sensor: snow_depth | fields: unit, lat, reading, level
Task: Get lon from rainfall where depth exceeds the total reading from snow_depth for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056644 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: unit, qc, ts, reading
Sensor: pressure | fields: level, value, qc, ts
Task: Retrieve lon from humidity with value above the MAX(reading) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056645 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: lat, level, lon, ts
Sensor: sunlight | fields: level, ts, reading, qc
Task: Retrieve lat from drought_index that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056646 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: ts, lon, lat, type
Sensor: evaporation | fields: qc, depth, lon, value
Task: Retrieve reading from soil_moisture whose depth is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056647 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: type, depth, reading, level
Sensor: wind_speed | fields: value, reading, lat, unit
Task: Fetch reading from turbidity where value is greater than the count of of reading in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056648 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: depth, lat, value, lon
Sensor: temperature | fields: type, unit, depth, reading
Task: Fetch depth from turbidity that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056649 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: value, unit, qc, lat
Sensor: snow_depth | fields: level, qc, depth, lat
Task: Get lon from temperature where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056650 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: level, reading, unit, qc
Sensor: temperature | fields: reading, level, ts, value
Task: Get reading from visibility where qc appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056651 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: level, unit, depth, ts
Sensor: snow_depth | fields: lat, level, type, lon
Task: Retrieve depth from pressure with reading above the MIN(depth) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056652 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: value, qc, lon, level
Sensor: snow_depth | fields: depth, ts, lat, lon
Task: Fetch lat from lightning where reading is greater than the total of value in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056653 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: ts, reading, lon, unit
Sensor: turbidity | fields: lat, value, qc, reading
Task: Retrieve level from pressure whose ts is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056654 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: lat, type, unit, qc
Sensor: humidity | fields: level, value, lon, lat
Task: Fetch level from visibility that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056655 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: depth, level, unit, value
Sensor: humidity | fields: unit, reading, type, qc
Task: Fetch depth from visibility that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056656 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: qc, level, value, unit
Sensor: temperature | fields: level, lat, lon, depth
Task: Fetch value from turbidity that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056657 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: ts, lat, level, unit
Sensor: visibility | fields: type, lat, level, value
Task: Fetch lat from sunlight where depth exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056658 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: qc, type, lon, ts
Sensor: humidity | fields: value, depth, reading, lon
Task: Get lat from evaporation where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056659 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: reading, unit, qc, value
Sensor: frost | fields: reading, level, lat, type
Task: Get lat from turbidity where depth appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056660 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: value, reading, unit, ts
Sensor: dew_point | fields: lon, level, unit, ts
Task: Get value from temperature where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056661 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: reading, value, lon, type
Sensor: rainfall | fields: depth, ts, lat, lon
Task: Retrieve reading 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="reading",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056662 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: depth, unit, level, lon
Sensor: temperature | fields: depth, lon, lat, ts
Task: Get lon from snow_depth where value exceeds the count of reading from temperature for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056663 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: type, qc, reading, value
Sensor: humidity | fields: ts, depth, qc, lon
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="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056664 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: type, value, ts, lat
Sensor: sunlight | fields: ts, type, lat, lon
Task: Retrieve value from pressure whose depth is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056665 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: unit, lat, reading, ts
Sensor: lightning | fields: value, qc, level, type
Task: Retrieve level from wind_speed that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056666 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: reading, lat, type, qc
Sensor: visibility | fields: ts, lat, reading, type
Task: Retrieve depth from humidity whose ts is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056667 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: level, unit, lat, qc
Sensor: temperature | fields: lat, value, reading, lon
Task: Retrieve level from rainfall whose type is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056668 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: depth, unit, value, level
Sensor: uv_index | fields: lat, ts, type, reading
Task: Retrieve reading from air_quality whose type 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="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056669 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: reading, type, level, depth
Sensor: lightning | fields: type, unit, level, reading
Task: Fetch reading from temperature where value is greater than the average of reading in lightning for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056670 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: unit, lat, level, ts
Sensor: drought_index | fields: value, type, level, lon
Task: Retrieve level from uv_index with value above the MAX(reading) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056671 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: value, depth, lat, type
Sensor: soil_moisture | fields: lat, qc, ts, level
Task: Retrieve lat from drought_index with depth above the SUM(reading) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056672 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: lat, type, lon, value
Sensor: humidity | fields: type, lon, level, ts
Task: Retrieve reading from soil_moisture whose qc is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056673 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: ts, depth, lat, lon
Sensor: wind_speed | fields: lat, ts, type, qc
Task: Get value from turbidity where value exceeds the minimum reading from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056674 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: value, ts, type, lon
Sensor: temperature | fields: lat, depth, qc, value
Task: Get lon from visibility where type appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056675 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: depth, lat, lon, reading
Sensor: uv_index | fields: value, level, qc, type
Task: Retrieve reading from visibility with depth above the AVG(depth) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056676 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: ts, lon, type, depth
Sensor: sunlight | fields: type, lon, level, value
Task: Fetch value from pressure that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056677 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: ts, value, unit, depth
Sensor: drought_index | fields: unit, value, reading, ts
Task: Retrieve level from turbidity that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056678 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: depth, type, level, lat
Sensor: wind_speed | fields: unit, reading, qc, lat
Task: Retrieve lon from uv_index whose qc is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056679 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: value, lat, ts, level
Sensor: lightning | fields: lat, depth, qc, lon
Task: Get value from evaporation where reading exceeds the total depth from lightning for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056680 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: unit, lat, value, level
Sensor: lightning | fields: qc, lat, value, reading
Task: Fetch lat from uv_index where value is greater than the total of depth in lightning for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056681 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: reading, type, ts, unit
Sensor: wind_speed | fields: unit, level, depth, type
Task: Retrieve reading from soil_moisture with reading above the MAX(reading) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056682 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: type, reading, qc, level
Sensor: temperature | fields: qc, level, lat, depth
Task: Retrieve value from lightning whose type is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056683 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: type, level, lat, unit
Sensor: visibility | fields: unit, value, lon, depth
Task: Fetch lon from temperature where depth exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056684 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: lat, unit, level, ts
Sensor: uv_index | fields: lon, reading, qc, type
Task: Get lat from turbidity where depth appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056685 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: lon, lat, unit, depth
Sensor: temperature | fields: ts, lon, depth, level
Task: Get value from pressure where qc appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056686 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: unit, value, reading, depth
Sensor: humidity | fields: ts, qc, reading, unit
Task: Get lon from drought_index where qc appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056687 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: unit, type, level, reading
Sensor: snow_depth | fields: qc, level, unit, value
Task: Retrieve lon from dew_point that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056688 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: depth, type, qc, value
Sensor: evaporation | fields: lon, value, reading, ts
Task: Fetch depth from frost that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056689 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: value, qc, level, depth
Sensor: frost | fields: qc, value, reading, type
Task: Get value from air_quality where depth exceeds the average reading from frost for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056690 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: ts, value, lon, depth
Sensor: snow_depth | fields: lon, type, depth, unit
Task: Get value from frost where qc appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056691 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: lat, qc, reading, level
Sensor: lightning | fields: value, reading, type, qc
Task: Retrieve level from drought_index that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056692 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, reading, qc, lon
Sensor: air_quality | fields: level, lon, ts, qc
Task: Get reading from cloud_cover where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_056693 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: reading, ts, type, level
Sensor: humidity | fields: value, unit, reading, qc
Task: Retrieve level from visibility with value above the AVG(depth) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056694 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: ts, depth, level, value
Sensor: drought_index | fields: ts, reading, depth, lon
Task: Fetch reading from cloud_cover where depth is greater than the average of depth in drought_index for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056695 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: value, reading, level, qc
Sensor: frost | fields: type, value, qc, depth
Task: Retrieve level from lightning whose qc is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056696 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: lon, type, unit, reading
Sensor: humidity | fields: type, lon, level, qc
Task: Get level from air_quality where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056697 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, ts, unit, level
Sensor: snow_depth | fields: level, unit, lat, value
Task: Get level from cloud_cover where reading exceeds the count of reading from snow_depth for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056698 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: lon, unit, value, ts
Sensor: uv_index | fields: unit, qc, value, reading
Task: Fetch level from temperature where depth is greater than the maximum of reading in uv_index for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_056699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.