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

template.navtable.rul 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






prefix o: 

template st:glocate {

  st:call-template-with(st:navlab, st:gmap, ?in, ?lat, ?lon, xt:list())
  
}
where {
 
    ?in p:longitude ?lon ;
        p:latitude  ?lat 
       
}
limit 1
]]>






prefix o:   

template st:main {

    format {
        ft:frame.html
        coalesce(?label, us:display(?uri)) 
        coalesce(st:format('', ?icon), "")
        st:apply-templates(?uri)
    }
    
    st:call-template(st:glocate, ?uri)
}
where {
    bind (st:focus() as ?uri)
    optional { ?uri o:thumbnail ?icon }
    optional { ?uri rdfs:label ?label }
}
limit 1
]]>



















template {
    format {
        ft:triple.html
        us:display(?p)
        if (isLiteral(?y), ?y, 
            st:format(ft:link.html, st:pplink(?y), us:display(?y)))
    }
}
where {
    ?in ?p ?y
}
order by ?in us:sort(?p, ?y) ?p ?y

]]>








© 2015 - 2025 Weber Informatics LLC | Privacy Policy