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

sttl.navlab.gmap.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
#
# 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