sttl.web.form.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.
#
# Generate a form with a SPARQL query ?q to submit
# Argument ?n is the name of query (st:minus)
# ?q actual query, ?t query template, ?s query solution
#
template st:form(?n, ?q, ?t, ?s) {
format {
us:format("form.html")
st:get(st:service)
st:get(st:profile)
str(?t)
str(?s)
?n
if (?s = st:null, "", st:format(us:format("nav.html")))
str(?q)
}
}
where {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy