All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sttl.web.form.rq Maven / Gradle / Ivy

Go to download

Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1 Query and Update.

There is a newer version: 4.6.1
Show newest version
#
# 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