variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: turbidity | code: mst | fields: type, lon, ts, unit
Sensor: sunlight | fields: lat, type, unit, value
Task: Fetch value from turbidity that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025500 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: depth, qc, lat, ts
Sensor: frost | fields: lon, lat, level, ts
Task: Get lon from humidity where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025501 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: level, ts, type, lon
Sensor: turbidity | fields: lon, level, value, lat
Task: Fetch reading from sunlight where depth is greater than the maximum of depth in turbidity for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025502 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: depth, lat, reading, type
Sensor: frost | fields: level, value, lat, type
Task: Fetch depth from snow_depth where depth exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025503 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: depth, lat, type, unit
Sensor: evaporation | fields: lon, depth, qc, ts
Task: Get reading from frost where type appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025504 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: ts, type, lon, depth
Sensor: rainfall | fields: lon, ts, depth, reading
Task: Retrieve depth from uv_index that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025505 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: qc, lon, type, level
Sensor: air_quality | fields: level, type, value, depth
Task: Retrieve depth from turbidity with reading above the MIN(depth) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025506 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: ts, type, depth, lon
Sensor: drought_index | fields: qc, unit, lon, lat
Task: Get level from dew_point where ts appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025507 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: qc, ts, lon, value
Sensor: snow_depth | fields: lon, lat, depth, value
Task: Get lat from temperature where value exceeds the average reading from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025508 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: lon, reading, unit, lat
Sensor: evaporation | fields: lat, depth, unit, ts
Task: Fetch lat from air_quality where value is greater than the minimum of depth in evaporation for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025509 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: lon, lat, type, depth
Sensor: air_quality | fields: lon, unit, reading, level
Task: Fetch reading from lightning where qc exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025510 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: qc, depth, reading, unit
Sensor: soil_moisture | fields: ts, depth, unit, lat
Task: Fetch lat from frost where qc exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025511 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: level, lon, ts, reading
Sensor: humidity | fields: depth, lat, type, level
Task: Retrieve depth from rainfall that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025512 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: depth, value, type, reading
Sensor: cloud_cover | fields: reading, type, value, qc
Task: Fetch lat from temperature that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025513 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: lon, lat, ts, value
Sensor: lightning | fields: depth, reading, level, unit
Task: Get lon from rainfall where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025514 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: qc, lon, depth, reading
Sensor: visibility | fields: reading, unit, level, qc
Task: Fetch level from air_quality where unit exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025515 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: level, qc, ts, lon
Sensor: evaporation | fields: lon, value, type, lat
Task: Get lon from rainfall where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025516 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: lat, type, lon, ts
Sensor: snow_depth | fields: unit, value, lon, reading
Task: Retrieve depth from rainfall that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025517 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: lon, unit, level, ts
Sensor: drought_index | fields: level, reading, type, qc
Task: Retrieve level from visibility with depth above the AVG(depth) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025518 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: value, level, reading, type
Sensor: visibility | fields: depth, lat, unit, qc
Task: Get lon from evaporation where value exceeds the minimum value from visibility for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025519 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: depth, lat, value, unit
Sensor: uv_index | fields: ts, qc, lat, lon
Task: Fetch depth from frost that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"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_025520 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: lon, qc, unit, lat
Sensor: drought_index | fields: reading, ts, level, value
Task: Fetch lon from uv_index that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025521 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: lat, level, depth, ts
Sensor: cloud_cover | fields: value, unit, depth, lon
Task: Fetch lon from frost where value is greater than the average of value in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025522 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: value, unit, lat, ts
Sensor: rainfall | fields: value, unit, depth, reading
Task: Get depth from pressure where unit appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025523 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: lat, lon, value, qc
Sensor: wind_speed | fields: ts, unit, lon, qc
Task: Retrieve reading from humidity with depth above the COUNT(value) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025524 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: ts, value, type, depth
Sensor: snow_depth | fields: ts, value, qc, reading
Task: Get level from pressure where depth exceeds the total depth from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025525 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, qc, value, lon
Sensor: humidity | fields: lat, reading, ts, qc
Task: Retrieve depth from wind_speed with value above the COUNT(value) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025526 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: lon, ts, unit, qc
Sensor: dew_point | fields: qc, ts, lon, value
Task: Get value from evaporation where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025527 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: type, ts, lon, lat
Sensor: evaporation | fields: qc, lon, lat, type
Task: Get lon from temperature where value exceeds the maximum reading from evaporation for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025528 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, qc, ts, lon
Sensor: snow_depth | fields: lat, unit, ts, type
Task: Get lon from wind_speed where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025529 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: ts, lon, qc, level
Sensor: humidity | fields: unit, value, lon, ts
Task: Fetch value from drought_index where depth is greater than the average of value in humidity for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025530 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: value, unit, lon, level
Sensor: wind_speed | fields: type, ts, reading, level
Task: Retrieve level from dew_point whose qc is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025531 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: qc, level, lon, ts
Sensor: lightning | fields: ts, type, depth, lat
Task: Get lon from dew_point where reading exceeds the average depth from lightning for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"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_025532 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: level, type, depth, qc
Sensor: pressure | fields: unit, lat, type, ts
Task: Fetch reading from visibility where qc exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025533 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: value, unit, qc, lat
Sensor: uv_index | fields: lat, ts, level, lon
Task: Retrieve lat from soil_moisture with depth above the AVG(depth) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025534 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: value, level, reading, type
Sensor: wind_speed | fields: level, lon, ts, qc
Task: Retrieve depth from snow_depth with depth above the SUM(value) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025535 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: qc, reading, type, ts
Sensor: pressure | fields: ts, type, value, reading
Task: Get lat from drought_index where qc appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025536 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: reading, level, lon, ts
Sensor: pressure | fields: lon, unit, qc, lat
Task: Get depth from uv_index where ts appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025537 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: lon, depth, level, type
Sensor: dew_point | fields: value, type, depth, reading
Task: Retrieve reading from cloud_cover that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025538 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: depth, lat, unit, qc
Sensor: lightning | fields: depth, qc, level, reading
Task: Get depth from air_quality where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025539 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: level, lat, value, lon
Sensor: rainfall | fields: lon, unit, level, ts
Task: Fetch reading from dew_point that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025540 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: value, level, unit, ts
Sensor: frost | fields: ts, unit, value, type
Task: Fetch lon from dew_point where depth is greater than the count of of reading in frost for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025541 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: lat, ts, reading, unit
Sensor: drought_index | fields: lat, unit, qc, value
Task: Retrieve depth from temperature that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025542 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: level, ts, qc, unit
Sensor: pressure | fields: qc, lon, ts, depth
Task: Fetch reading from lightning where type exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025543 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: level, ts, lon, reading
Sensor: dew_point | fields: qc, unit, level, lon
Task: Retrieve reading from uv_index whose ts is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025544 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: value, depth, type, ts
Sensor: uv_index | fields: ts, type, lat, level
Task: Retrieve depth from humidity that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025545 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: level, lat, depth, unit
Sensor: evaporation | fields: type, value, lat, lon
Task: Fetch level from rainfall that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025546 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, type, depth, value
Sensor: rainfall | fields: depth, unit, reading, lat
Task: Fetch value from cloud_cover where qc exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025547 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, unit, level, lat
Sensor: temperature | fields: lat, depth, value, level
Task: Retrieve level from soil_moisture whose unit is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025548 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, ts, lon, type
Sensor: sunlight | fields: reading, ts, depth, lon
Task: Fetch reading from soil_moisture where ts exists in sunlight sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025549 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, reading, level, lon
Sensor: wind_speed | fields: qc, level, type, lat
Task: Get value from cloud_cover where qc appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025550 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: qc, type, reading, unit
Sensor: pressure | fields: value, lat, ts, level
Task: Fetch reading from dew_point that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025551 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: unit, level, qc, depth
Sensor: turbidity | fields: depth, unit, value, qc
Task: Fetch value from uv_index where unit exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025552 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: level, lon, depth, lat
Sensor: dew_point | fields: value, type, level, depth
Task: Get lon from wind_speed where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025553 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: value, depth, type, lat
Sensor: soil_moisture | fields: ts, reading, value, lat
Task: Fetch level from temperature that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025554 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: qc, level, ts, lat
Sensor: cloud_cover | fields: depth, type, lat, level
Task: Retrieve lon from visibility whose depth is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025555 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, depth, value, reading
Sensor: visibility | fields: lon, value, unit, qc
Task: Retrieve level from cloud_cover that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025556 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: lat, depth, type, unit
Sensor: lightning | fields: lat, lon, unit, ts
Task: Retrieve depth from sunlight whose unit is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025557 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: unit, qc, lat, ts
Sensor: sunlight | fields: depth, qc, level, type
Task: Get value from air_quality where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025558 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: level, qc, depth, unit
Sensor: drought_index | fields: qc, value, unit, ts
Task: Fetch level from air_quality where unit exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025559 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, ts, depth, level
Sensor: snow_depth | fields: reading, lat, depth, type
Task: Retrieve lat from soil_moisture whose depth is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025560 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, qc, lat, unit
Sensor: sunlight | fields: level, ts, value, qc
Task: Get depth from wind_speed where ts appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025561 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: depth, type, qc, level
Sensor: air_quality | fields: level, type, depth, ts
Task: Retrieve level from soil_moisture whose qc is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025562 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: type, lon, qc, ts
Sensor: wind_speed | fields: reading, level, type, lon
Task: Retrieve lat from rainfall that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025563 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: level, depth, qc, type
Sensor: drought_index | fields: qc, lon, lat, level
Task: Fetch depth from soil_moisture that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025564 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: depth, ts, value, lat
Sensor: lightning | fields: reading, type, ts, level
Task: Get reading from temperature where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025565 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: level, lat, reading, ts
Sensor: rainfall | fields: unit, value, ts, lon
Task: Retrieve lat from uv_index that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025566 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: type, unit, reading, lat
Sensor: turbidity | fields: type, unit, lat, depth
Task: Fetch level from rainfall where depth exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025567 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: qc, unit, level, lat
Sensor: temperature | fields: unit, level, reading, depth
Task: Get level from lightning where depth exceeds the minimum reading from temperature for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025568 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: lat, depth, reading, ts
Sensor: humidity | fields: lon, level, reading, qc
Task: Fetch reading from drought_index where depth is greater than the count of of value in humidity for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025569 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: unit, lat, ts, reading
Sensor: sunlight | fields: level, value, ts, reading
Task: Fetch depth from visibility where depth exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025570 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: qc, unit, lat, type
Sensor: drought_index | fields: qc, reading, type, value
Task: Get level from temperature where value exceeds the minimum value from drought_index for the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025571 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: unit, level, depth, qc
Sensor: pressure | fields: level, lon, unit, lat
Task: Retrieve reading from dew_point whose ts is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025572 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, qc, type, depth
Sensor: cloud_cover | fields: unit, level, type, qc
Task: Fetch reading from snow_depth where type exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025573 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: value, type, level, lat
Sensor: uv_index | fields: lat, level, qc, depth
Task: Retrieve lat from rainfall that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025574 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, qc, unit, level
Sensor: soil_moisture | fields: level, unit, ts, type
Task: Fetch lat from snow_depth that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025575 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: depth, type, value, qc
Sensor: wind_speed | fields: reading, depth, lat, lon
Task: Get level from pressure where ts appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025576 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: ts, depth, unit, lon
Sensor: lightning | fields: qc, reading, unit, lat
Task: Fetch lon from visibility where value is greater than the total of depth in lightning for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025577 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: level, depth, reading, unit
Sensor: drought_index | fields: depth, type, unit, lat
Task: Fetch depth from humidity where type exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025578 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: lon, level, reading, qc
Sensor: dew_point | fields: qc, unit, lat, value
Task: Fetch lat from sunlight where type exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025579 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: reading, depth, lon, ts
Sensor: turbidity | fields: value, reading, qc, level
Task: Retrieve lon from sunlight that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025580 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lat, type, depth, lon
Sensor: humidity | fields: lat, value, depth, type
Task: Fetch reading from air_quality that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025581 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: type, value, lon, lat
Sensor: air_quality | fields: unit, reading, type, qc
Task: Retrieve lat from rainfall whose qc is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025582 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: lon, value, ts, type
Sensor: frost | fields: type, depth, lon, ts
Task: Fetch lon from rainfall where value is greater than the total of value in frost for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025583 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, type, depth, value
Sensor: wind_speed | fields: level, value, depth, unit
Task: Get value from soil_moisture where value exceeds the count of value from wind_speed for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025584 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: level, qc, depth, lat
Sensor: sunlight | fields: type, qc, level, ts
Task: Fetch value from visibility that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025585 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: lon, reading, lat, level
Sensor: turbidity | fields: depth, lon, qc, type
Task: Get value from dew_point where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025586 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: ts, level, unit, value
Sensor: wind_speed | fields: type, reading, ts, value
Task: Get depth from uv_index where value exceeds the average depth from wind_speed for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025587 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: lon, value, type, level
Sensor: uv_index | fields: ts, depth, lat, reading
Task: Retrieve level from dew_point with depth above the AVG(depth) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025588 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lon, qc, ts, reading
Sensor: drought_index | fields: reading, lon, depth, ts
Task: Get lat from temperature where ts appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025589 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, type, lat, reading
Sensor: air_quality | fields: type, depth, ts, lat
Task: Get lon from soil_moisture where depth appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025590 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: ts, reading, level, qc
Sensor: air_quality | fields: value, lat, type, reading
Task: Get value from humidity where depth exceeds the minimum depth from air_quality for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025591 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: lat, lon, depth, qc
Sensor: cloud_cover | fields: level, qc, depth, lat
Task: Fetch value from turbidity where reading is greater than the maximum of value in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025592 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: lon, level, qc, reading
Sensor: air_quality | fields: type, unit, lat, value
Task: Fetch lat from turbidity where type exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025593 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: type, reading, qc, lat
Sensor: frost | fields: level, unit, type, depth
Task: Get level from humidity where unit appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025594 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: depth, qc, lat, unit
Sensor: lightning | fields: lon, depth, unit, qc
Task: Fetch level from wind_speed that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="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_025595 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: qc, type, reading, value
Sensor: lightning | fields: ts, level, lat, type
Task: Retrieve level from pressure whose qc is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025596 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: value, lat, level, unit
Sensor: evaporation | fields: ts, type, depth, lon
Task: Fetch value from wind_speed where reading is greater than the count of of value in evaporation for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025597 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: depth, type, lon, ts
Sensor: evaporation | fields: qc, lon, value, unit
Task: Fetch depth from temperature where reading is greater than the maximum of value in evaporation for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025598 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: level, reading, unit, qc
Sensor: temperature | fields: reading, depth, lat, level
Task: Get depth from snow_depth where depth appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.