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

query.demo.servicedb.rq Maven / Gradle / Ivy

#
# Generate a map with corese server 
# from json map format
# query = insert.rq
# map = map.json
#
prefix geo: 
prefix map: 

@browse

select * 
where {

service  {
    select * where {
        ?url rdfs:label ?name 
        
        #filter mapany(xt:contains, ?name, xt:list("Chapelle", "Eglise", "Abbaye"))        
        #filter mapany(xt:contains, ?name, xt:list("Aven", "Embut", "Baume"))        
        #filter mapany(xt:contains, ?name, xt:list("Dolmen", "Tombe", "Menhir"))        
        #filter mapany(xt:contains, ?name, xt:list("Captage", "Lac", "Cascade", "Barrage")) 
        
        ?url geo:long ?lon;
        geo:lat ?lat ;
        map:wikipedia ?location .
        ?url map:dept ?dep .
        ?url rdf:type/rdfs:subClassOf* map:Artefact .
        ?url ?p ?v .
    }
}

#service  {
#        values (?location ?lon ?lat) {(undef undef undef)}
#}

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy