What is {adjacent to} of {capital town} of {Pandyan Dynasty} ?
What locations are nearby the capital of the Pandyan Dynasty?
What is next to the capital town of Pandyan Dynasty?
SELECT ?x WHERE { ?j property:shares_border_with ?x . resource:Pandya_dynasty property:capital ?j }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q844910> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P36>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P47> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q844910 wdt:P36 ?X . ?X wdt:P47 ?answer}
Dindigul district Ramanathapuram district Sivaganga District Theni district Virudhunagar district