sttl.owl.uri.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.
#
# Starting template for OWL pretty printing from RDF to Functional Syntax
# Olivier Corby - Wimmics Inria I3S - 2013
#
template {
st:apply-templates-all(?in ; separator = "\n")
; separator = "\n\n"
}
where {
select distinct ?in where {
?in ?p ?y
filter(isURI(?in))
# OWL vocabulary must not be pretty printed
filter (! strstarts(?in, owl:)
&& ! strstarts(?in, rdf:)
&& ! strstarts(?in, rdfs:)
&& ! strstarts(?in, xsd:)
)
}
}
pragma { st:template st:priority 1 }
© 2015 - 2025 Weber Informatics LLC | Privacy Policy