DBpedia SPARQL to eliminate unwanted data -
prefix category: <http://dbpedia.org/resource/category:> select distinct ?attractions ?location { ?attractions dcterms:subject ?places . ?places skos:broader ?border . ?attractions dbpprop:location|dbpedia-owl:locatedinarea|dbpprop:locale ?location . filter( ?border = category:visitor_attractions_in_delhi ) } i have above query giving result of attraction location of delhi. need make generic places, , secondly want filter out unwanted data. want attraction places, e.g., didn't want list of monuments , selectcitywalk data in output.
Comments
Post a Comment