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: drought_index | code: ref | fields: depth, lat, ts, qc
Sensor: wind_speed | fields: value, lat, type, unit
Task: Retrieve level from drought_index whose qc is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023600 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: reading, value, lat, ts
Sensor: sunlight | fields: type, lat, ts, depth
Task: Retrieve reading from pressure that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023601 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, qc, lon, reading
Sensor: pressure | fields: lon, level, ts, reading
Task: Get level from wind_speed where depth exceeds the minimum depth from pressure for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023602 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: unit, level, depth, ts
Sensor: visibility | fields: value, qc, lon, type
Task: Fetch value from frost where depth is greater than the minimum of value in visibility for matching ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023603 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: reading, type, lon, ts
Sensor: evaporation | fields: type, qc, reading, ts
Task: Retrieve value from humidity that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023604 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: value, type, reading, ts
Sensor: lightning | fields: depth, lon, lat, value
Task: Get reading from cloud_cover where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"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_023605 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, unit, qc, reading
Sensor: humidity | fields: type, qc, reading, level
Task: Fetch lat from snow_depth that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023606 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: unit, ts, lat, reading
Sensor: visibility | fields: lat, level, ts, value
Task: Get value from humidity where depth exceeds the total reading from visibility for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023607 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, ts, level, lon
Sensor: lightning | fields: value, lat, qc, type
Task: Fetch reading from wind_speed where reading is greater than the total of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023608 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: type, value, depth, lat
Sensor: frost | fields: reading, lat, level, depth
Task: Get lon from temperature where value exceeds the count of reading from frost for the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023609 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: unit, depth, lon, ts
Sensor: uv_index | fields: depth, value, lat, qc
Task: Retrieve value from drought_index that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023610 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, unit, lon, qc
Sensor: pressure | fields: value, ts, type, lon
Task: Get value from soil_moisture where type appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023611 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: value, ts, qc, reading
Sensor: dew_point | fields: value, reading, depth, type
Task: Get reading from wind_speed where reading exceeds the minimum depth from dew_point for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023612 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: value, depth, lat, type
Sensor: rainfall | fields: reading, ts, lon, unit
Task: Get lon from humidity where type appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023613 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: reading, qc, unit, depth
Sensor: air_quality | fields: lon, lat, value, ts
Task: Fetch value from evaporation that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023614 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: lon, value, type, qc
Sensor: drought_index | fields: lat, lon, type, level
Task: Get value from turbidity where unit appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023615 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: ts, qc, lon, value
Sensor: lightning | fields: lon, type, unit, depth
Task: Fetch lon from turbidity where type exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023616 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: reading, lon, type, value
Sensor: soil_moisture | fields: type, ts, value, level
Task: Get reading from wind_speed where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023617 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: reading, type, depth, ts
Sensor: frost | fields: ts, reading, unit, lon
Task: Fetch lon from sunlight that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023618 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: unit, value, reading, lon
Sensor: visibility | fields: value, reading, qc, type
Task: Fetch lon from humidity that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023619 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: level, type, qc, unit
Sensor: wind_speed | fields: reading, depth, qc, lat
Task: Get lat from air_quality where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023620 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, value, lat, unit
Sensor: dew_point | fields: value, lon, ts, type
Task: Fetch level from soil_moisture that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023621 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: unit, value, type, level
Sensor: humidity | fields: level, depth, type, lon
Task: Fetch lon from sunlight that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023622 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: value, qc, reading, type
Sensor: rainfall | fields: value, reading, ts, level
Task: Fetch value from snow_depth that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023623 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: ts, depth, level, value
Sensor: pressure | fields: lon, type, ts, value
Task: Retrieve reading from sunlight with value above the SUM(depth) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023624 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: unit, type, reading, depth
Sensor: drought_index | fields: level, type, reading, depth
Task: Retrieve lon from dew_point whose qc is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023625 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, type, lat, ts
Sensor: drought_index | fields: unit, reading, level, lon
Task: Retrieve level from soil_moisture that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023626 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: qc, ts, lat, unit
Sensor: soil_moisture | fields: unit, qc, lat, type
Task: Retrieve value from rainfall with value above the MAX(reading) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023627 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: lon, qc, reading, level
Sensor: frost | fields: ts, qc, unit, type
Task: Retrieve value from rainfall whose unit is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023628 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: unit, reading, depth, qc
Sensor: uv_index | fields: unit, type, ts, reading
Task: Fetch value from drought_index where value is greater than the average of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023629 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: lat, qc, unit, lon
Sensor: lightning | fields: lat, level, qc, ts
Task: Retrieve depth from rainfall with value above the MAX(depth) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023630 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: value, level, lon, lat
Sensor: sunlight | fields: reading, lon, level, depth
Task: Retrieve lon from drought_index that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023631 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: lat, ts, qc, unit
Sensor: drought_index | fields: depth, lon, level, lat
Task: Retrieve reading from uv_index whose depth is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023632 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, type, value, lon
Sensor: uv_index | fields: depth, lat, lon, type
Task: Fetch lon from wind_speed where unit exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023633 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: depth, unit, ts, qc
Sensor: lightning | fields: lat, lon, unit, value
Task: Fetch lon from dew_point where value is greater than the total of reading in lightning for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023634 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, ts, qc, lon
Sensor: wind_speed | fields: depth, value, lon, unit
Task: Retrieve level from soil_moisture with value above the SUM(value) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023635 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: unit, reading, level, qc
Sensor: soil_moisture | fields: qc, type, lat, unit
Task: Fetch reading from visibility where depth exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023636 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: type, depth, level, qc
Sensor: evaporation | fields: reading, level, type, lon
Task: Retrieve lon from turbidity whose type is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023637 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: unit, depth, lon, level
Sensor: air_quality | fields: type, value, unit, qc
Task: Fetch lon from visibility where depth exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023638 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: qc, ts, lon, reading
Sensor: turbidity | fields: ts, reading, depth, type
Task: Fetch depth from lightning that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023639 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: value, unit, type, lon
Sensor: air_quality | fields: level, lat, type, depth
Task: Retrieve value from drought_index with value above the MIN(value) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023640 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: type, qc, reading, depth
Sensor: wind_speed | fields: depth, unit, value, qc
Task: Fetch value from sunlight that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023641 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: value, level, lat, reading
Sensor: rainfall | fields: value, qc, reading, unit
Task: Get reading from uv_index where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023642 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: lat, level, type, reading
Sensor: turbidity | fields: level, lat, ts, lon
Task: Retrieve value from temperature whose unit is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023643 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: type, value, qc, level
Sensor: pressure | fields: unit, qc, level, type
Task: Retrieve lat from rainfall that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023644 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: reading, unit, depth, lat
Sensor: wind_speed | fields: ts, type, depth, qc
Task: Retrieve depth from frost whose ts is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023645 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: type, lon, lat, value
Sensor: uv_index | fields: qc, level, lat, ts
Task: Retrieve lat from lightning with value above the SUM(reading) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023646 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: depth, ts, type, qc
Sensor: visibility | fields: qc, value, type, lon
Task: Get level from frost where depth appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023647 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: reading, lon, unit, ts
Sensor: humidity | fields: type, value, reading, depth
Task: Fetch value from visibility that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023648 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, value, lon, ts
Sensor: air_quality | fields: ts, value, type, unit
Task: Get lon from soil_moisture where reading exceeds the minimum value from air_quality for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023649 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: level, value, qc, unit
Sensor: rainfall | fields: lon, qc, lat, depth
Task: Get reading from uv_index where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023650 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, type, qc, lon
Sensor: sunlight | fields: depth, type, unit, level
Task: Fetch value from cloud_cover that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023651 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: qc, type, depth, lat
Sensor: air_quality | fields: ts, type, value, lon
Task: Get value from visibility where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023652 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: reading, value, ts, unit
Sensor: lightning | fields: type, depth, lon, value
Task: Fetch reading from rainfall where depth exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023653 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, depth, unit, level
Sensor: evaporation | fields: level, depth, ts, value
Task: Retrieve value from snow_depth that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023654 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: lon, depth, qc, ts
Sensor: dew_point | fields: level, lat, unit, value
Task: Fetch value from rainfall where depth exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023655 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lon, reading, type, value
Sensor: turbidity | fields: unit, level, value, lat
Task: Get reading from pressure where ts appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023656 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: level, lat, qc, depth
Sensor: pressure | fields: depth, level, lon, qc
Task: Get lon from turbidity where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023657 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: type, reading, lon, ts
Sensor: cloud_cover | fields: lat, value, level, type
Task: Get depth from humidity where qc appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023658 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: type, reading, lat, depth
Sensor: lightning | fields: depth, value, type, reading
Task: Get depth from evaporation where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023659 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: depth, type, unit, level
Sensor: sunlight | fields: level, type, qc, unit
Task: Get value from temperature where depth appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023660 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: value, reading, unit, qc
Sensor: cloud_cover | fields: ts, lat, value, qc
Task: Fetch level from evaporation that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023661 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: lat, lon, level, unit
Sensor: rainfall | fields: qc, level, depth, lat
Task: Get lon from air_quality where depth exceeds the average value from rainfall for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023662 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: ts, qc, lat, depth
Sensor: soil_moisture | fields: qc, level, value, reading
Task: Retrieve lon from humidity with depth above the AVG(value) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023663 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: unit, reading, qc, type
Sensor: temperature | fields: value, depth, reading, type
Task: Get level from sunlight where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023664 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, depth, lat, ts
Sensor: uv_index | fields: value, unit, type, qc
Task: Retrieve lon from cloud_cover with reading above the COUNT(value) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023665 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: ts, reading, level, type
Sensor: pressure | fields: lon, type, lat, unit
Task: Retrieve level from drought_index whose unit is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023666 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, unit, type, lon
Sensor: drought_index | fields: lat, ts, value, qc
Task: Fetch lat from soil_moisture where value is greater than the maximum of reading in drought_index for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023667 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: value, lat, depth, level
Sensor: evaporation | fields: depth, reading, qc, value
Task: Retrieve level from frost that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023668 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: level, lon, type, value
Sensor: snow_depth | fields: depth, lat, lon, ts
Task: Fetch depth from turbidity where type exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023669 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: lon, depth, level, reading
Sensor: drought_index | fields: lat, unit, level, type
Task: Fetch level from visibility where qc exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023670 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: level, value, type, unit
Sensor: visibility | fields: value, type, ts, lon
Task: Fetch lon from sunlight that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023671 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: reading, depth, type, lon
Sensor: frost | fields: lat, reading, type, unit
Task: Fetch reading from turbidity where value is greater than the minimum of reading in frost for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023672 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: lon, qc, type, unit
Sensor: dew_point | fields: lon, type, unit, lat
Task: Fetch level from visibility that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023673 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: unit, type, lat, ts
Sensor: snow_depth | fields: value, depth, qc, lat
Task: Get reading from lightning where unit appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023674 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: unit, lat, lon, type
Sensor: air_quality | fields: value, level, type, reading
Task: Get lat from lightning where depth exceeds the maximum value from air_quality for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023675 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: reading, type, value, unit
Sensor: lightning | fields: lat, reading, value, unit
Task: Retrieve reading from drought_index that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023676 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: qc, ts, depth, lon
Sensor: temperature | fields: reading, qc, lon, value
Task: Fetch value from uv_index where reading is greater than the minimum of depth in temperature for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023677 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: type, unit, depth, value
Sensor: temperature | fields: value, type, depth, reading
Task: Get lon from sunlight where depth exceeds the count of depth from temperature for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023678 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: type, qc, lon, lat
Sensor: temperature | fields: lon, type, ts, depth
Task: Get lat from pressure where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023679 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: value, unit, reading, ts
Sensor: turbidity | fields: level, ts, depth, type
Task: Retrieve reading from dew_point whose qc is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023680 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: unit, ts, lon, depth
Sensor: drought_index | fields: level, depth, lon, reading
Task: Retrieve lat from evaporation whose depth is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023681 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: unit, reading, qc, value
Sensor: frost | fields: value, level, unit, depth
Task: Get depth from sunlight where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023682 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: value, ts, depth, type
Sensor: evaporation | fields: lat, qc, lon, unit
Task: Get depth from lightning where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023683 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: qc, unit, depth, lat
Sensor: dew_point | fields: type, value, level, reading
Task: Retrieve value from rainfall whose depth is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023684 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: depth, ts, lon, value
Sensor: rainfall | fields: unit, type, reading, value
Task: Fetch depth from temperature where depth exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023685 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: reading, depth, level, ts
Sensor: turbidity | fields: unit, ts, reading, level
Task: Fetch value from uv_index that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023686 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, reading, depth, ts
Sensor: lightning | fields: type, value, lat, unit
Task: Retrieve reading from wind_speed whose depth is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023687 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: unit, reading, ts, level
Sensor: sunlight | fields: ts, level, value, qc
Task: Fetch lat from lightning where depth is greater than the total of depth in sunlight for matching type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023688 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, reading, qc, ts
Sensor: wind_speed | fields: lon, ts, qc, lat
Task: Retrieve depth from snow_depth whose unit is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023689 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: value, unit, type, ts
Sensor: wind_speed | fields: depth, reading, qc, value
Task: Fetch value from visibility that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023690 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: level, qc, value, ts
Sensor: cloud_cover | fields: lon, qc, level, lat
Task: Get lat from frost where qc appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023691 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: ts, lat, lon, type
Sensor: lightning | fields: type, unit, reading, lat
Task: Retrieve lat from soil_moisture that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023692 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: depth, lat, level, lon
Sensor: drought_index | fields: lon, reading, qc, level
Task: Retrieve depth from lightning whose ts is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023693 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: lat, ts, depth, type
Sensor: uv_index | fields: type, lon, level, depth
Task: Fetch lat from rainfall where value is greater than the count of of depth in uv_index for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023694 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: depth, lat, type, value
Sensor: cloud_cover | fields: qc, lat, ts, unit
Task: Fetch depth from lightning where depth exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023695 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: reading, lon, type, qc
Sensor: visibility | fields: value, type, depth, qc
Task: Fetch reading from humidity where type exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023696 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: ts, qc, depth, level
Sensor: visibility | fields: lon, ts, qc, level
Task: Get lon from turbidity where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_023697 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: type, ts, unit, level
Sensor: turbidity | fields: qc, unit, reading, lat
Task: Retrieve lon from dew_point that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023698 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: value, reading, unit, lon
Sensor: pressure | fields: type, value, depth, lat
Task: Retrieve reading from humidity whose type is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_023699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.