sttl.rdfxml.listchoice.rq Maven / Gradle / Ivy
#
# 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