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: cloud_cover | code: prt | fields: depth, qc, lon, unit
Sensor: visibility | fields: value, lon, level, unit
Task: Fetch lat from cloud_cover where depth exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021500 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: level, lat, qc, reading
Sensor: visibility | fields: depth, level, ts, unit
Task: Get depth from snow_depth where reading exceeds the count of value from visibility for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021501 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, depth, value, lat
Sensor: dew_point | fields: lon, ts, qc, unit
Task: Retrieve lat from cloud_cover that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021502 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: level, lat, unit, depth
Sensor: humidity | fields: level, type, lon, depth
Task: Retrieve lat from frost that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021503 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: reading, value, ts, lon
Sensor: visibility | fields: reading, lat, level, qc
Task: Retrieve value from sunlight with reading above the MAX(reading) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021504 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: qc, lon, reading, ts
Sensor: snow_depth | fields: reading, lat, depth, level
Task: Fetch lon from frost where reading is greater than the total of depth in snow_depth for matching type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021505 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: level, unit, ts, lon
Sensor: air_quality | fields: type, reading, qc, value
Task: Get lon from temperature where depth appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021506 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: qc, depth, level, unit
Sensor: air_quality | fields: qc, depth, lat, unit
Task: Fetch lat from frost where reading is greater than the maximum of value in air_quality for matching qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021507 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: reading, lat, ts, unit
Sensor: frost | fields: value, lon, reading, ts
Task: Get level from humidity where depth appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021508 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: reading, lat, ts, qc
Sensor: soil_moisture | fields: level, depth, lat, ts
Task: Retrieve value from humidity with reading above the SUM(reading) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021509 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: depth, unit, lon, lat
Sensor: drought_index | fields: ts, type, level, value
Task: Retrieve level from air_quality whose ts is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021510 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: lat, level, type, reading
Sensor: drought_index | fields: level, type, lon, value
Task: Fetch lat from humidity that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021511 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: value, reading, unit, lat
Sensor: dew_point | fields: reading, ts, lon, lat
Task: Retrieve level from humidity with reading above the AVG(depth) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021512 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: unit, lon, ts, lat
Sensor: pressure | fields: unit, value, lon, reading
Task: Get level from wind_speed where reading exceeds the average reading from pressure for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021513 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: reading, value, lat, depth
Sensor: humidity | fields: type, depth, unit, qc
Task: Get value from turbidity where reading exceeds the total value from humidity for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021514 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, level, depth, lat
Sensor: turbidity | fields: lat, lon, type, ts
Task: Retrieve reading from cloud_cover with value above the MAX(depth) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021515 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: level, lat, reading, unit
Sensor: wind_speed | fields: lon, value, type, unit
Task: Retrieve reading from soil_moisture whose type is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021516 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, type, value, lon
Sensor: air_quality | fields: reading, depth, level, value
Task: Fetch reading from cloud_cover where ts exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021517 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: depth, level, ts, lat
Sensor: lightning | fields: type, lon, qc, unit
Task: Get lon from visibility where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021518 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: reading, value, level, type
Sensor: uv_index | fields: qc, lon, ts, level
Task: Retrieve value from temperature whose ts is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021519 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: reading, value, unit, lon
Sensor: pressure | fields: level, lat, ts, type
Task: Get reading from sunlight where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021520 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: depth, reading, ts, lat
Sensor: snow_depth | fields: ts, lat, qc, type
Task: Get level from pressure where value exceeds the maximum value from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021521 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: ts, unit, depth, lon
Sensor: evaporation | fields: type, lon, level, lat
Task: Retrieve depth from frost whose ts is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021522 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, type, level, qc
Sensor: air_quality | fields: value, lat, ts, depth
Task: Fetch level from snow_depth that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021523 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: qc, depth, lat, reading
Sensor: air_quality | fields: qc, reading, lat, value
Task: Get depth from sunlight where type appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021524 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: lon, unit, ts, lat
Sensor: frost | fields: lon, level, unit, type
Task: Get level from visibility where depth exceeds the total value from frost for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021525 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: lat, type, ts, depth
Sensor: wind_speed | fields: value, level, depth, ts
Task: Fetch level from humidity that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021526 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: qc, type, value, lat
Sensor: visibility | fields: level, ts, type, lon
Task: Fetch value from evaporation that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021527 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: level, lon, depth, value
Sensor: turbidity | fields: ts, level, value, type
Task: Get depth from uv_index where value exceeds the average reading from turbidity for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021528 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: type, level, ts, unit
Sensor: sunlight | fields: depth, level, unit, ts
Task: Get reading from temperature where depth appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021529 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: type, level, depth, lon
Sensor: snow_depth | fields: level, reading, type, value
Task: Retrieve lat from visibility whose ts is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021530 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: unit, lat, type, depth
Sensor: lightning | fields: qc, lat, ts, depth
Task: Fetch value from air_quality where qc exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021531 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: level, qc, reading, ts
Sensor: temperature | fields: lat, level, reading, lon
Task: Fetch value from wind_speed where unit exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021532 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: lat, level, ts, depth
Sensor: lightning | fields: ts, unit, lon, qc
Task: Get depth from rainfall where reading exceeds the average reading from lightning for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021533 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: value, unit, qc, reading
Sensor: soil_moisture | fields: value, reading, lon, depth
Task: Fetch lat from rainfall that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021534 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: level, lat, qc, unit
Sensor: rainfall | fields: value, unit, depth, lat
Task: Fetch reading from humidity that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021535 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: unit, qc, value, lat
Sensor: visibility | fields: level, ts, lat, unit
Task: Get depth from dew_point where ts appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021536 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: value, level, lon, ts
Sensor: pressure | fields: lon, level, ts, value
Task: Fetch lon from wind_speed that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021537 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: value, unit, lon, ts
Sensor: cloud_cover | fields: ts, level, lat, reading
Task: Retrieve lon from snow_depth with reading above the AVG(reading) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021538 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: depth, unit, type, lat
Sensor: pressure | fields: lon, unit, lat, level
Task: Get level from visibility where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021539 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: unit, level, reading, value
Sensor: drought_index | fields: value, depth, lon, qc
Task: Retrieve lat from air_quality whose depth is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021540 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: qc, value, reading, unit
Sensor: sunlight | fields: lon, type, level, lat
Task: Get depth from humidity where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021541 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: ts, depth, value, unit
Sensor: rainfall | fields: lon, depth, lat, type
Task: Fetch lon from air_quality where type exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021542 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: lon, unit, ts, depth
Sensor: air_quality | fields: reading, lon, qc, unit
Task: Retrieve lat from soil_moisture whose type is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021543 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: level, value, depth, reading
Sensor: wind_speed | fields: ts, level, lon, depth
Task: Fetch reading from rainfall where depth is greater than the count of of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021544 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: ts, type, lat, lon
Sensor: frost | fields: depth, value, ts, lat
Task: Fetch depth from temperature where type exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021545 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: qc, unit, depth, ts
Sensor: dew_point | fields: lat, reading, ts, depth
Task: Fetch level from pressure where ts exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021546 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: lon, lat, level, unit
Sensor: soil_moisture | fields: unit, ts, value, lon
Task: Retrieve level from air_quality with value above the SUM(reading) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021547 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: lon, unit, qc, depth
Sensor: snow_depth | fields: type, value, lon, unit
Task: Retrieve lat from rainfall with reading above the MIN(value) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021548 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: unit, ts, lon, lat
Sensor: dew_point | fields: type, lat, value, unit
Task: Fetch value from temperature where ts exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021549 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: qc, lat, ts, type
Sensor: snow_depth | fields: type, depth, ts, unit
Task: Fetch lon from dew_point where depth is greater than the minimum of value in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021550 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: type, ts, reading, lon
Sensor: cloud_cover | fields: level, qc, value, lon
Task: Retrieve value from frost with value above the SUM(reading) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021551 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: reading, type, qc, value
Sensor: frost | fields: value, unit, level, type
Task: Get lon from wind_speed where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021552 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: reading, lon, depth, value
Sensor: dew_point | fields: lat, reading, ts, level
Task: Fetch reading from turbidity that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021553 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: qc, unit, type, reading
Sensor: cloud_cover | fields: lat, qc, lon, level
Task: Get level from air_quality where type appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021554 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: type, value, qc, reading
Sensor: wind_speed | fields: reading, lat, unit, level
Task: Retrieve value from turbidity with depth above the AVG(depth) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021555 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: qc, reading, ts, depth
Sensor: turbidity | fields: lon, qc, level, lat
Task: Get level from air_quality where depth exceeds the maximum value from turbidity for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021556 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: reading, level, lat, depth
Sensor: rainfall | fields: ts, lon, value, lat
Task: Fetch reading from drought_index where ts exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021557 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: depth, qc, value, unit
Sensor: frost | fields: reading, depth, lat, ts
Task: Fetch lon from dew_point that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021558 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: value, lon, lat, ts
Sensor: turbidity | fields: type, unit, ts, lon
Task: Retrieve lat from cloud_cover that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021559 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: lon, lat, type, depth
Sensor: snow_depth | fields: depth, ts, level, type
Task: Get reading from frost where reading exceeds the average reading from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021560 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: lon, lat, type, ts
Sensor: frost | fields: ts, qc, type, value
Task: Retrieve value from visibility that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021561 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: ts, lat, qc, depth
Sensor: wind_speed | fields: reading, unit, depth, lon
Task: Get depth from uv_index where depth exceeds the average value from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021562 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: qc, level, unit, value
Sensor: soil_moisture | fields: unit, value, ts, type
Task: Fetch reading from lightning where qc exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021563 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, type, reading, lon
Sensor: lightning | fields: reading, type, value, unit
Task: Get value from soil_moisture where qc appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021564 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: unit, level, ts, value
Sensor: air_quality | fields: lon, value, qc, type
Task: Get level from pressure where depth appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021565 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: reading, level, type, value
Sensor: lightning | fields: depth, lon, type, lat
Task: Fetch reading from pressure where reading is greater than the total of value in lightning for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021566 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: qc, value, level, ts
Sensor: cloud_cover | fields: value, lon, depth, ts
Task: Get reading from frost where ts appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021567 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: level, lon, value, type
Sensor: snow_depth | fields: unit, qc, depth, value
Task: Get level from visibility where value exceeds the maximum reading from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021568 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: level, ts, type, depth
Sensor: soil_moisture | fields: ts, unit, type, lon
Task: Retrieve lon from sunlight that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021569 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: level, depth, lon, qc
Sensor: turbidity | fields: lat, unit, reading, ts
Task: Fetch value from drought_index that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021570 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: lat, qc, depth, value
Sensor: dew_point | fields: unit, ts, qc, level
Task: Get reading from visibility where qc appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021571 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: ts, level, type, qc
Sensor: snow_depth | fields: lat, qc, value, reading
Task: Retrieve lat from soil_moisture with depth above the AVG(value) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021572 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: level, lat, unit, ts
Sensor: turbidity | fields: qc, lat, lon, depth
Task: Retrieve depth from soil_moisture that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021573 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: reading, value, level, lon
Sensor: uv_index | fields: type, depth, lon, reading
Task: Fetch lat from visibility where depth is greater than the average of value in uv_index for matching type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021574 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: reading, type, depth, unit
Sensor: uv_index | fields: level, reading, lat, depth
Task: Get lat from sunlight where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021575 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: value, level, type, lat
Sensor: evaporation | fields: depth, ts, reading, qc
Task: Get level from wind_speed where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021576 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: reading, unit, value, type
Sensor: sunlight | fields: type, unit, lat, value
Task: Retrieve lat from lightning that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021577 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: unit, value, lat, qc
Sensor: pressure | fields: ts, unit, level, lat
Task: Retrieve lat from visibility that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021578 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: qc, unit, value, lat
Sensor: turbidity | fields: reading, lon, qc, unit
Task: Fetch depth from cloud_cover where value is greater than the total of value in turbidity for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021579 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: type, lon, ts, level
Sensor: dew_point | fields: level, value, depth, lon
Task: Get lat from air_quality where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021580 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: unit, reading, depth, type
Sensor: pressure | fields: depth, level, reading, qc
Task: Fetch level from drought_index where depth exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021581 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: reading, type, unit, value
Sensor: pressure | fields: qc, type, level, ts
Task: Fetch reading from uv_index where value is greater than the total of reading in pressure for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021582 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: qc, type, level, lon
Sensor: rainfall | fields: depth, reading, qc, value
Task: Get value from snow_depth where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021583 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: level, unit, reading, qc
Sensor: rainfall | fields: reading, depth, qc, value
Task: Get lon from air_quality where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021584 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: qc, depth, lat, ts
Sensor: snow_depth | fields: level, type, depth, reading
Task: Get depth from temperature where depth appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021585 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: ts, depth, qc, lat
Sensor: wind_speed | fields: qc, value, lat, unit
Task: Retrieve reading from rainfall that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021586 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: type, reading, unit, qc
Sensor: uv_index | fields: qc, depth, value, level
Task: Fetch depth from sunlight that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"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_021587 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: lon, reading, ts, qc
Sensor: turbidity | fields: lat, type, unit, level
Task: Retrieve depth from drought_index whose qc is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021588 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: value, unit, reading, level
Sensor: cloud_cover | fields: lat, qc, lon, reading
Task: Get value from frost where reading exceeds the average reading from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021589 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: ts, lat, unit, qc
Sensor: lightning | fields: unit, depth, type, lat
Task: Get reading from cloud_cover where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021590 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: lon, qc, unit, level
Sensor: rainfall | fields: ts, value, type, qc
Task: Get lat from air_quality where depth appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021591 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: lon, qc, level, unit
Sensor: dew_point | fields: type, reading, depth, qc
Task: Retrieve reading from pressure that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021592 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: ts, level, depth, qc
Sensor: snow_depth | fields: level, lat, value, qc
Task: Retrieve reading 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="reading",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021593 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: qc, value, type, lon
Sensor: uv_index | fields: depth, lat, qc, unit
Task: Get lat from turbidity where unit appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021594 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: lat, depth, lon, unit
Sensor: lightning | fields: unit, qc, lon, level
Task: Get depth from humidity where qc appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021595 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: lat, unit, value, lon
Sensor: soil_moisture | fields: type, unit, qc, value
Task: Get level from drought_index where ts appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021596 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, ts, unit, value
Sensor: humidity | fields: qc, ts, reading, type
Task: Get lon from wind_speed where depth exceeds the count of depth from humidity for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021597 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: type, lat, depth, ts
Sensor: soil_moisture | fields: type, lat, qc, unit
Task: Get lon from temperature where value exceeds the count of depth from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021598 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: lon, reading, value, depth
Sensor: frost | fields: type, reading, value, ts
Task: Retrieve reading from evaporation with value above the COUNT(value) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.