
sttl.rdfxml.listchoice.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.
The newest version!
#
# List that contains a literal rendered with rdf:first/rdf:rest
# otherwise as a Collection
#
template st:listchoice(?in, ?p, ?y) {
st:call-template(?temp, ?in, ?p, ?y)
}
where {
?in ?p ?y
bind (
if (exists { ?y rdf:rest*/rdf:first ?z filter isLiteral(?z) },
st:listtriple, st:collection)
as ?temp)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy