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

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

insert  {
  ?uri a foaf:Person .
  ?uri rdfs:label ?label ; rdfs:comment ?com . 
  ?uri ?pp ?vv .   
}
where {

bind (st:get(st:uri) as ?uri)

service  {
  
  ?uri rdfs:label ?label . filter(langMatches(lang(?label), "fr")) 
  
  optional {  
    ?uri rdfs:comment ?com . filter(langMatches(lang(?com) , "fr")) 
   }
 
  optional { 
    ?uri p:dateDeNaissance |  p:dateDeDécès ?vv
    ?uri ?pp ?vv . 
    filter isLiteral(?vv)   
  }
  
 
}
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy