sttl.navlab.map2.rq Maven / Gradle / Ivy
#
# Geolocate resources on a map
# ?list = list(list(uri, lat, lon))
#
prefix ft:
template st:map2(?list) {
format {
ft:map2.html
st:number()
str(?lat)
str(?lon)
coalesce(st:get(st:mapicon2), "/img/smarker.png")
#coalesce(st:plink(?r), str(?r))
# see mapper.rq for st:maplod
coalesce(if (st:get(st:maplod, st:url), ?r, st:plink(?r)), str(?r))
}
}
where {
values (?r ?lat ?lon) { unnest(?list) }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy