sttl.web.selectparam.rq Maven / Gradle / Ivy
#
# Generate param selector, ?n = query name
#
prefix ft:
template st:selectparam(?n, ?select) {
format {
ft:selectparam.html
?name
group {
format {
if (st:get(?uri, ?value),
'',
'')
?value ?value
}
}
}
}
where {
bind (st:get(st:context) as ?g)
graph ?g {
?select st:name ?name ; st:uri ?uri ;
st:value/rdf:rest*/rdf:first ?value
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy