excluding SubsetProperty
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
+PREFIX oboInOwl: <http://www.geneontology.org/formats/oboInOwl#>
SELECT DISTINCT ?entity ?property ?value WHERE {
?entity ?any ?o .
@@ -21,6 +22,9 @@ SELECT DISTINCT ?entity ?property ?value WHERE {
?entity ?prop2 ?object .
FILTER (?prop2 != rdf:type)
}
+ FILTER NOT EXISTS {
+ ?entity rdfs:subPropertyOf oboInOwl:SubsetProperty .
+ }
FILTER (!isBlank(?entity))
}
ORDER BY ?entity
