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

sttl.cdn.person.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
prefix cn:   
prefix foaf: 
prefix o:    
prefix w:    
prefix r:    

template {
    st:call-template(cn:href, 
      ?in, coalesce(?link, ?in), ?mds, ?ic)
        
    coalesce(str(?cc), "")
  
}
where {
  ?in cn:begin ?d ; rdfs:label ?mds .  
  optional { ?in cn:link ?lnk }
  optional { ?in st:icon ?ii }
  optional { ?in rdfs:comment ?cc }
  
  bind (
    if (bound(?ii), ?ii,
    if (isURI(?in), st:call-template(cn:geticon, ?in), "")) 
    as ?ic)
    
   bind (
    if (isURI(?in) && strstarts(?in, r:), 
      concat(w:, (substr(?in, strlen(r:) + 1))),
      ?lnk) 
    as ?link)  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy