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: mst | fields: lat, value, ts, level
Sensor: drought_index | fields: lon, lat, value, level
Task: Get lon from temperature where depth appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045600 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: level, type, lon, qc
Sensor: wind_speed | fields: ts, depth, level, value
Task: Fetch level from dew_point that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045601 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: type, lon, qc, level
Sensor: turbidity | fields: lon, level, unit, qc
Task: Fetch value from lightning where depth exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045602 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: depth, qc, ts, value
Sensor: wind_speed | fields: unit, reading, lat, qc
Task: Retrieve lon from sunlight that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045603 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, lat, depth, reading
Sensor: pressure | fields: reading, depth, value, lat
Task: Get lon from snow_depth where ts appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045604 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: reading, depth, value, lon
Sensor: soil_moisture | fields: qc, reading, type, unit
Task: Retrieve level from snow_depth whose type is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045605 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, lon, lat, unit
Sensor: uv_index | fields: lat, unit, depth, type
Task: Get value from wind_speed where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045606 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: lat, level, lon, qc
Sensor: rainfall | fields: ts, qc, reading, value
Task: Get depth from humidity where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045607 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: level, type, lon, lat
Sensor: visibility | fields: ts, reading, lon, value
Task: Retrieve lat from wind_speed that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045608 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: value, depth, unit, level
Sensor: humidity | fields: lat, level, unit, lon
Task: Fetch value from pressure where unit exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045609 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: lat, level, unit, qc
Sensor: lightning | fields: lat, depth, type, qc
Task: Retrieve reading from cloud_cover that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045610 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: depth, ts, qc, type
Sensor: turbidity | fields: unit, reading, value, type
Task: Get value from wind_speed where reading exceeds the average value from turbidity for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045611 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: lat, qc, level, value
Sensor: turbidity | fields: lon, reading, depth, unit
Task: Get reading from sunlight where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045612 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: value, qc, lat, lon
Sensor: soil_moisture | fields: type, depth, reading, qc
Task: Fetch reading from rainfall where qc exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045613 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, lat, lon, ts
Sensor: sunlight | fields: unit, lon, lat, reading
Task: Fetch depth from snow_depth where reading is greater than the average of depth in sunlight for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045614 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: ts, lat, unit, value
Sensor: uv_index | fields: reading, value, ts, type
Task: Get depth from rainfall where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045615 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: unit, level, value, reading
Sensor: evaporation | fields: depth, reading, qc, lon
Task: Get level from air_quality where unit appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045616 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: depth, reading, type, lat
Sensor: dew_point | fields: level, lat, depth, unit
Task: Get reading from sunlight where reading exceeds the average depth from dew_point for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045617 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: ts, level, reading, value
Sensor: temperature | fields: type, depth, reading, unit
Task: Get lon from humidity where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045618 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: depth, type, qc, lon
Sensor: uv_index | fields: depth, type, level, reading
Task: Get lat from temperature where ts appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045619 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: level, lat, lon, type
Sensor: evaporation | fields: qc, level, type, depth
Task: Fetch reading from humidity where ts exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045620 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: unit, depth, value, qc
Sensor: visibility | fields: qc, reading, type, unit
Task: Fetch level from drought_index that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045621 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: unit, type, depth, value
Sensor: frost | fields: lon, lat, level, qc
Task: Get lat from cloud_cover where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045622 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: ts, lon, unit, lat
Sensor: rainfall | fields: level, depth, reading, ts
Task: Get reading from wind_speed where reading exceeds the average depth from rainfall for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045623 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: depth, value, ts, reading
Sensor: cloud_cover | fields: lon, qc, type, reading
Task: Get level from lightning where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045624 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: value, type, reading, depth
Sensor: temperature | fields: ts, depth, type, unit
Task: Get level from dew_point where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045625 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: qc, unit, reading, lat
Sensor: visibility | fields: value, level, lon, ts
Task: Get depth from air_quality where depth exceeds the minimum value from visibility for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045626 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: unit, value, lat, qc
Sensor: dew_point | fields: value, lon, ts, depth
Task: Get value from temperature where type appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045627 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: lon, level, qc, type
Sensor: humidity | fields: value, lat, depth, type
Task: Fetch level from rainfall that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045628 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: reading, level, value, lon
Sensor: sunlight | fields: unit, qc, level, value
Task: Get reading from visibility where unit appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045629 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: unit, lon, reading, level
Sensor: rainfall | fields: lat, ts, unit, level
Task: Get lat from dew_point where reading exceeds the minimum value from rainfall for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045630 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: level, lon, qc, ts
Sensor: snow_depth | fields: depth, qc, reading, unit
Task: Get value from evaporation where reading exceeds the average reading from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045631 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: unit, type, qc, lat
Sensor: uv_index | fields: type, ts, level, unit
Task: Retrieve value from lightning that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045632 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: level, unit, ts, qc
Sensor: sunlight | fields: lon, level, depth, ts
Task: Fetch lon from frost where unit exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045633 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, value, lon, type
Sensor: uv_index | fields: unit, ts, lon, type
Task: Get level from snow_depth where qc appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045634 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: lat, unit, qc, reading
Sensor: pressure | fields: type, value, level, lat
Task: Get depth from humidity where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045635 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, reading, depth, value
Sensor: pressure | fields: lon, ts, reading, unit
Task: Get reading from soil_moisture where ts appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045636 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, lat, ts, level
Sensor: drought_index | fields: depth, lat, lon, reading
Task: Retrieve lon from cloud_cover that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045637 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, type, ts, lat
Sensor: drought_index | fields: unit, lon, ts, lat
Task: Fetch reading from cloud_cover where reading is greater than the maximum of value in drought_index for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045638 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: lon, qc, type, unit
Sensor: wind_speed | fields: lon, lat, level, depth
Task: Fetch reading from sunlight where ts exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045639 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: unit, ts, qc, type
Sensor: sunlight | fields: depth, level, lat, unit
Task: Get lat from turbidity where ts appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045640 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: ts, value, qc, lon
Sensor: lightning | fields: qc, unit, reading, value
Task: Get lon from temperature where qc appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045641 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: lon, lat, level, depth
Sensor: evaporation | fields: value, lon, lat, reading
Task: Get lon from drought_index where reading exceeds the count of reading from evaporation for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045642 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lat, depth, qc, level
Sensor: drought_index | fields: depth, type, value, unit
Task: Fetch value from dew_point where value is greater than the count of of reading in drought_index for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045643 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: ts, lon, reading, level
Sensor: frost | fields: level, depth, ts, qc
Task: Get depth from lightning where unit appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045644 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: level, ts, reading, unit
Sensor: lightning | fields: qc, ts, depth, lat
Task: Fetch value from uv_index that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045645 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: type, value, lon, reading
Sensor: lightning | fields: ts, unit, type, lat
Task: Retrieve depth from snow_depth whose unit is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045646 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lat, type, level, reading
Sensor: frost | fields: ts, unit, type, value
Task: Fetch lat from turbidity that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045647 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: ts, lat, reading, type
Sensor: cloud_cover | fields: ts, type, lon, unit
Task: Retrieve value from visibility whose qc is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045648 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: lon, unit, value, type
Sensor: pressure | fields: unit, type, ts, reading
Task: Retrieve level from evaporation that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045649 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: lat, ts, reading, qc
Sensor: dew_point | fields: level, reading, depth, unit
Task: Fetch depth from frost where reading is greater than the average of value in dew_point for matching unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045650 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: level, lon, value, type
Sensor: uv_index | fields: lon, lat, value, unit
Task: Get depth from turbidity where depth appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045651 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: unit, lon, value, depth
Sensor: wind_speed | fields: type, reading, qc, value
Task: Get lon from humidity where ts appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045652 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: ts, qc, reading, unit
Sensor: dew_point | fields: type, reading, ts, value
Task: Retrieve reading from rainfall with depth above the MIN(depth) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045653 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: reading, level, ts, lat
Sensor: turbidity | fields: qc, value, lon, reading
Task: Get lon from visibility where reading exceeds the minimum value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045654 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: lat, value, unit, lon
Sensor: rainfall | fields: lat, qc, lon, value
Task: Retrieve level from lightning that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045655 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: unit, level, lat, depth
Sensor: sunlight | fields: ts, reading, level, value
Task: Get value from snow_depth where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045656 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: depth, unit, level, type
Sensor: temperature | fields: ts, type, value, qc
Task: Fetch depth from turbidity where ts exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045657 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: unit, lon, depth, type
Sensor: frost | fields: qc, level, reading, type
Task: Fetch reading from air_quality where ts exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045658 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: lon, depth, ts, type
Sensor: snow_depth | fields: reading, level, value, unit
Task: Fetch reading from air_quality that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045659 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, reading, depth, lat
Sensor: wind_speed | fields: lat, value, depth, qc
Task: Retrieve reading from snow_depth that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045660 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, type, value, level
Sensor: uv_index | fields: depth, lon, lat, qc
Task: Get lat from wind_speed where unit appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045661 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, type, depth, lon
Sensor: humidity | fields: reading, type, lat, depth
Task: Get reading from soil_moisture where unit appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045662 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: lon, qc, depth, reading
Sensor: soil_moisture | fields: reading, ts, unit, level
Task: Fetch lat from rainfall where type exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045663 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: lat, qc, value, depth
Sensor: snow_depth | fields: depth, value, ts, level
Task: Get level from uv_index where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045664 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: lon, reading, ts, level
Sensor: dew_point | fields: qc, value, ts, type
Task: Fetch depth from visibility where value is greater than the maximum of depth in dew_point for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045665 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: ts, value, depth, unit
Sensor: uv_index | fields: qc, lon, unit, lat
Task: Get depth from air_quality where type appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045666 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: value, lat, ts, depth
Sensor: humidity | fields: ts, depth, reading, unit
Task: Fetch lon from wind_speed that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045667 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: lat, level, value, lon
Sensor: lightning | fields: ts, reading, depth, lat
Task: Fetch reading from temperature that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045668 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: lon, type, ts, value
Sensor: evaporation | fields: unit, lon, depth, value
Task: Fetch depth from air_quality where type exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045669 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: type, level, reading, lat
Sensor: turbidity | fields: value, lat, ts, lon
Task: Get level from evaporation where value exceeds the average reading from turbidity for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045670 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: depth, lon, type, lat
Sensor: dew_point | fields: unit, type, lat, reading
Task: Get reading from visibility where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045671 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: unit, ts, reading, lon
Sensor: soil_moisture | fields: depth, lon, ts, reading
Task: Retrieve lat from snow_depth that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045672 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, lon, lat, level
Sensor: visibility | fields: value, unit, reading, lon
Task: Retrieve lon from soil_moisture that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045673 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, value, reading, lon
Sensor: air_quality | fields: lon, lat, type, level
Task: Retrieve level from wind_speed that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045674 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: type, lon, depth, level
Sensor: wind_speed | fields: ts, type, value, depth
Task: Retrieve depth from sunlight whose ts is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045675 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: reading, lon, qc, lat
Sensor: humidity | fields: qc, unit, ts, reading
Task: Get lat from visibility where qc appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045676 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: ts, reading, type, value
Sensor: turbidity | fields: type, unit, lon, lat
Task: Get lat from frost where value exceeds the minimum reading from turbidity for the same type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045677 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: lon, value, ts, qc
Sensor: frost | fields: lat, level, ts, depth
Task: Get level from snow_depth where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045678 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: depth, lon, reading, unit
Sensor: rainfall | fields: ts, depth, unit, value
Task: Fetch value from visibility where type exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045679 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: qc, lat, type, value
Sensor: soil_moisture | fields: value, type, depth, lat
Task: Retrieve lon from snow_depth whose type is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045680 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: level, depth, unit, lon
Sensor: air_quality | fields: qc, ts, lat, level
Task: Get level from lightning where reading exceeds the total depth from air_quality for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045681 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: reading, ts, lon, lat
Sensor: drought_index | fields: qc, lat, ts, level
Task: Fetch level from evaporation that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045682 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: qc, type, reading, depth
Sensor: snow_depth | fields: reading, lon, unit, depth
Task: Retrieve lon from visibility whose qc is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045683 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: level, qc, depth, value
Sensor: snow_depth | fields: qc, ts, value, level
Task: Get reading from frost where depth exceeds the minimum depth from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045684 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: depth, ts, level, qc
Sensor: humidity | fields: reading, lat, lon, type
Task: Get value from temperature where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045685 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: reading, ts, unit, lon
Sensor: dew_point | fields: level, value, unit, lat
Task: Fetch reading from humidity where depth exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045686 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: type, reading, level, value
Sensor: turbidity | fields: value, ts, depth, level
Task: Get level from drought_index where unit appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045687 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: reading, value, unit, level
Sensor: uv_index | fields: value, level, qc, type
Task: Retrieve lat from lightning whose type is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045688 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: reading, lon, depth, value
Sensor: uv_index | fields: reading, value, unit, lat
Task: Get lon from rainfall where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045689 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: level, qc, lon, reading
Sensor: evaporation | fields: depth, lat, qc, unit
Task: Get lon from sunlight where depth appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045690 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: lat, ts, qc, value
Sensor: cloud_cover | fields: reading, unit, lon, lat
Task: Get lon from turbidity where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045691 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lon, lat, depth, type
Sensor: visibility | fields: unit, value, lon, lat
Task: Retrieve level from sunlight that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045692 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: ts, reading, qc, depth
Sensor: pressure | fields: level, unit, type, ts
Task: Retrieve level from lightning that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045693 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: reading, value, type, depth
Sensor: cloud_cover | fields: lon, type, qc, value
Task: Retrieve reading from wind_speed that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045694 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: ts, lat, value, depth
Sensor: turbidity | fields: level, ts, depth, lat
Task: Retrieve reading from rainfall whose depth is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045695 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: qc, type, value, depth
Sensor: uv_index | fields: value, qc, type, ts
Task: Get level from temperature where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045696 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: lon, lat, reading, level
Sensor: humidity | fields: qc, reading, lon, ts
Task: Retrieve depth from frost that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045697 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: type, reading, qc, value
Sensor: air_quality | fields: qc, ts, lon, level
Task: Retrieve value from wind_speed whose qc is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_045698 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, reading, level, lon
Sensor: rainfall | fields: unit, level, qc, lon
Task: Retrieve reading from soil_moisture with depth above the AVG(reading) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_045699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.