mirror of
https://github.com/CommonCoreOntology/CommonCoreOntologies.git
synced 2026-04-27 03:00:27 -04:00
Merge pull request #525 from CommonCoreOntology/repair-cco-superclass-query
repair cco superclass query
This commit is contained in:
@@ -13,7 +13,7 @@ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
SELECT DISTINCT ?class ?label
|
||||
WHERE {
|
||||
?class a owl:Class .
|
||||
FILTER contains(str(?class),"http://www.ontologyrepository.com/CommonCoreOntologies/")
|
||||
FILTER (regex(str(?class),"http://www.ontologyrepository.com/CommonCoreOntologies/"))
|
||||
FILTER NOT EXISTS {?class rdfs:subClassOf+ <http://purl.obolibrary.org/obo/BFO_0000001> }
|
||||
OPTIONAL {?class rdfs:label ?label}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user