From 672ca13669ebaef61b1ebb3c46cbac5c02453b52 Mon Sep 17 00:00:00 2001 From: Jim Balhoff Date: Tue, 5 Nov 2024 20:37:50 -0500 Subject: [PATCH] Exclude obsolete terms. --- src/sparql/missing-defxref-as-xref-violation.sparql | 3 +++ 1 file changed, 3 insertions(+) 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 ;