release: 0.5.1b9 (#599)

## Bump
- [ ] Major
- [ ] Minor
- [x] Beta
- [ ] Patch
- [ ] Skip

## Changelog

### Added
- Optional `indsl` package extra (`pip install "cognite-data-quality[indsl]"`) installing `indsl[stats]>=8.0.0,<9.0.0` on Python 3.11–3.14 to match the Cognite Function runtime dependencies for INDSL time series quality rules.

### Fixed
- `datapoints_count` prefetch now discovers calls across shape-level `sh:sparql/sh:select`, nested `sh:property/sh:sparql/sh:select`, and SHACL-AF `sh:rule/sh:construct` (including untyped shapes, implicit `rdfs:Class` targets, `$this`/`?this`, single/double quotes, and 1/2/3-argument calls), partitions user spaces and `cdf_*` system spaces into separate lookup batches, isolates existence and count prefetch errors from runtime fetch errors, and falls back to an on-demand live fetch on cache miss instead of returning `0`.
- `datapoints_aggregate` normalizes camelCase aggregate names (`stepInterpolation`, `continuousVariance`, `discreteVariance`, `totalVariation`) to snake_case, validates supported aggregate names, and returns unbound (`None`) on invalid names, empty non-count results, or fetch errors; `datapoints_latest` handles `cognite-sdk` v8 `LatestDatapoint` objects directly; `register_cdf_sparql_functions(..., force=True)` and `unregister_cdf_sparql_functions()` rebind cleanly.
- Added an idempotent SPARQL 1.1 relational type-compatibility guard so cross-family ordering comparisons (such as numeric filters against string time series values or ill-typed literals) fail cleanly as SPARQL errors instead of producing false violations, with `xsd:dateTimeStamp` support.
- INDSL time series wrappers normalize pandas 3 `datetime64[ms]` indexes to nanosecond precision, guard exact-polynomial and constant series against false positives in `extreme_outliers` and statistical `out_of_range`, clamp short-series Savitzky-Golay windows, fix `out_of_range` imports, explicit bounds, statistical counting, and invalid-argument handling, and count `gaps_identification` and `low_density` step intervals via rising edges so each interval counts once instead of twice.
- Data Point Subscriptions (`fetch_subscription_data`) iterate per partition (`partition=<int>`, `poll_timeout=0`), stop when `has_next` is false, extract `update.time_series` with parallel timestamp/value lists, deduplicate timestamps (last write wins) while preserving boolean dtypes, isolate per-partition errors, ignore out-of-range partition cursors, track empty drains without redundant re-fetches, and persist cursors per partition.
- Validation report graphs are annotated immediately after `pyshacl.validate` so `dq:dimension`, `sh:name`, and owning named `sourceShape` are preserved across `timeseries_validation`, `instance_sync_cursor`, `partitioned`, and `raw_validation` without unannotated sibling constraints inheriting another constraint's metadata; `timeseries_validation` parses Turtle string/bytes reports and preserves `dimension` on validation records.
- `shacl_classifier` rule metadata collection and `validate_rule_dependencies` handle blank, untyped, and property shapes as well as `sh:deactivated true` rules and shapes (skipping deactivated rules in cycle checks and preferring active rules on duplicate `ruleId`), and `_analyze_shacl_references` merges multiple shapes per class and includes untyped shapes and `rdfs:Class` implicit targets.

### Changed
- Updated time series datapoint examples, dimension guides, and the packaged `dq-shacl-timeseries-quality` Atlas skill to reflect the corrected wrapper and annotation behavior.
- Redeploy the validation function after this release so the time series prefetch, SDK/INDSL wrapper, subscription, and SHACL report attribution fixes run in Cognite Functions. Redeploy Atlas if you use the packaged `dq-shacl-timeseries-quality` skill.
