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

webapp.data.query.dbpedia.frdbpediacdncopy.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.

The newest version!
#
# SPARQL Query 
# Extract a subgraph from dbpedia, to be processed by HTML Transformation st:navlab
#
# Olivier Corby - Wimmics INRIA I3S - 2014
#
prefix foaf: 
prefix o:    
prefix w:    
prefix r:    
prefix p:    
prefix geo:  
prefix cn:   

insert  {

  ?uri cn:date ?date
  ?uri rdfs:comment ?cc
  
}
where {

  bind (st:get(st:uri) as ?uri)
  optional { ?uri p:dateDeNaissance ?dn ; p:dateDeDécès ?dd }   
  bind (coalesce(concat (?dn, "-", ?dd), "") as ?cc)
  bind (coalesce(xsd:integer(?dn), "") as ?date)

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy