sttl.web.start.rq Maven / Gradle / Ivy
#
# SPARQL Tutorial
# st:get(st:uri) is the name of a query to execute (st:minus)
# It is used 1) to select a query and 2) to display the result of the query
# RDF graph is either RDF dataset or Query Result
# Query definitions are stored in st:context named graph
#
template st:start {
st:call-template(st:head)
st:call-template(st:selectform, ?uri)
st:call-template(st:display, ?uri)
#st:call-template(st:result)
# when query is template, TransformerProcess set ?templateResult global variable
coalesce(us:templateResult(), st:call-template(st:result))
st:call-template(st:tail)
}
where {
bind (coalesce(st:get(st:uri), st:intro) as ?uri)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy