sttl.navlab.gmap.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.
#
# Geolocate resource on a map given lat et long
#
prefix ft:
template st:gmap(?r, ?lat, ?lon, ?list) {
if (st:get(st:protocol, st:ajax), "", st:format(ft:script.js))
format {
ft:map.html
str(?lat)
str(?lon)
coalesce(st:get(st:mapzoom), 7)
coalesce(st:get(st:mapicon1), "/img/bmarker.png")
st:call-template(st:gmap2, ?list)
if (st:get(st:protocol, st:ajax), "", st:format(ft:script2.js))
coalesce(st:get(st:mapsize), "mapmedium")
}
}
where {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy