what is the {located in the administrative territorial entity} for {Robert Burns} has {place of birth} as {Alloway} ?
Where is Alloway, birthplace of Robert Burns, located?
Where is administrative territorial entity located  for Robert Burns has place of birth as Alloway?
SELECT ?c WHERE { resource:Robert_Burns property:place_of_birth ?c . ?c property:located_in_the_administrative_territorial_entity ?c . ?c property:place_of_birth resource:Alloway }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q81960> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P19> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q3396445> .
?statement <http://www.wikidata.org/entity/P131> ?value. 
} 

SELECT ?value WHERE { wd:Q81960 p:P19 ?s . ?s ps:P19 wd:Q3396445 . ?s pq:P131 ?value}