pub fn validate_profile_local(
dataset: &CimDataset,
profile: &str,
cfg: &Config,
) -> Vec<Violation>Expand description
Phase 1 — per-profile: run the local (non-crossprofile) SHACL rules and the SPARQL rules for one profile.
Pass the single-file dataset for the profile and the combined config (solved/not_solved
must reflect the full set of files, not just this file). If cfg.profiles is non-empty
and does not include profile, returns an empty vec — this filter applies to both the
SHACL and SPARQL checks.