sttl.rdfxml.main.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.
#
# select top level terms ?in
# URI
# Top level bnodes (not object of a property)
#
template st:main(?in) {
if (bound(?t),
st:call-template(st:resourcetype, ?in, ?t),
st:call-template(st:resource, ?in))
; separator = "\n\n"
}
where {
select distinct ?in ?t where {
bind (st:focus() as ?in)
?in ?p ?y
filter (isURI(?in) || ! exists { ?x ?q ?in } )
optional {
select ?in ?t where {
?in a ?t
filter (! isBlank(?t))
} limit 1
}
}
order by ?in
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy