sttl.owl2.owlexp.valuesfromsome.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.
#
# Olivier Corby - Wimmics Inria I3S - 2013
#
template {
if (bound(?t1) || bound(?t2), "DataSomeValuesFrom", "ObjectSomeValuesFrom")
"(" ?p " " ?z ")"
}
where {
?in owl:someValuesFrom ?z ;
owl:onProperty ?p .
optional { ?z a ?t1 filter(?t1 = rdfs:Datatype) }
optional { ?p a ?t2 filter(?t2 = owl:DatatypeProperty) }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy