sttl.owl2.owl.class.rq Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of corese-core Show documentation
Show all versions of corese-core Show documentation
Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1
Query and Update.
template st:class {
xt:nl(st:apply-templates-with-all(st:owlclass, ?in), 2)
; separator = ""
}
where {
select distinct ?in where {
values ?p { rdf:type owl:disjointWith owl:equivalentClass rdfs:subClassOf owl:hasKey owl:disjointUnionOf}
?in ?p ?y
filter (
(isURI(?in) && not exists { ?in a owl:Ontology }) ||
(isBlank(?in) && not exists { ?x ?q ?in } )
)
# OWL vocabulary must not be pretty printed
filter (! xt:system(?in))
}
order by ?in
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy