sttl.spin.update.clear.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.
#
# SPARQL-based RDF AST Pretty-printer
# Olivier Corby, Wimmics Inria I3S, 2013
#
prefix sp: .
template {
st:prolog()
str(?l) " "
if (bound(?s), "silent ", "")
if (bound(?a), "all", "")
if (bound(?d), "default", "")
if (bound(?n), "named", "")
if (bound(?g), concat("graph ", ?g), "")
}
where {
?in a ?t
values (?t ?l) {
(sp:Clear "clear") (sp:Drop "drop")
}
optional { ?in sp:graphIRI ?g }
optional { ?in sp:silent ?s }
optional { ?in sp:default ?d }
optional { ?in sp:all ?a }
optional { ?in sp:named ?n }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy