Do not duplicate missing definition errors
@@ -13,7 +13,7 @@ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX oboInOwl: <http://www.geneontology.org/formats/oboInOwl#>
SELECT DISTINCT ?entity ?property ?value WHERE {
- { VALUES ?property { obo:IAO_0000115 }
+ VALUES ?property { obo:IAO_0000115 }
?entity ?any ?o
FILTER NOT EXISTS { ?entity ?property ?value }
FILTER NOT EXISTS { ?entity obo:IAO_0000600 ?elucidation }
@@ -27,22 +27,5 @@ SELECT DISTINCT ?entity ?property ?value WHERE {
?entity ?prop2 ?object .
FILTER (?prop2 != rdf:type)
}
- FILTER (!isBlank(?entity))
- } UNION {
- VALUES ?property { obo:IAO_0000600 }
- ?entity ?any ?o
- FILTER NOT EXISTS { ?entity ?property ?value }
- FILTER NOT EXISTS { ?entity obo:IAO_0000115 ?definition }
- FILTER NOT EXISTS { ?entity a owl:Ontology }
- FILTER NOT EXISTS { ?entity a owl:NamedIndividual }
- FILTER NOT EXISTS { ?entity owl:deprecated true }
- FILTER NOT EXISTS {
- ?entity rdfs:subPropertyOf oboInOwl:SubsetProperty .
- }
- FILTER EXISTS {
- ?entity ?prop2 ?object .
- FILTER (?prop2 != rdf:type)
- }
- FILTER (!isBlank(?entity))
-} }
+ FILTER (!isBlank(?entity)) }
ORDER BY ?entity
