
sttl.spin.query.rq.listoption.rq Maven / Gradle / Ivy
The newest version!
#
# SPARQL-based RDF AST Pretty-printer
# Olivier Corby, Wimmics Inria I3S, 2013
#
prefix sp: .
template {
?exp
}
where {
?x rdf:first ?in
?x rdf:rest ?r . ?r rdf:first [ a ?t ]
filter(?t in (sp:Optional, sp:Minus))
?in rdf:rest*/rdf:first ?exp
}
#default list is behind all other list templates
pragma {st:template st:priority 1000}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy