diff --git a/src/sparql/missing-defxref-as-xref-violation.sparql b/src/sparql/missing-defxref-as-xref-violation.sparql index 7635166784..5cd8ed9cfc 100644 --- a/src/sparql/missing-defxref-as-xref-violation.sparql +++ b/src/sparql/missing-defxref-as-xref-violation.sparql @@ -6,6 +6,9 @@ SELECT DISTINCT ?cls ?defxref WHERE { ?cls a owl:Class . + FILTER NOT EXISTS { + ?cls owl:deprecated true . + } [ a owl:Axiom ; owl:annotatedSource ?cls ;