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

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -