what is the {located in the administrative territorial entity} for {P. G. T. Beauregard} has {place of birth} as {St. Bernard Parish} ?
P. G. T. Beauregard was born in St. Bernard Parish in what territory?
In what territory was P. G. T. Beauregard born in St. Bernard Parish?
SELECT ?r WHERE { ?q property:place_of_birth resource:St._Bernard_Parish . resource:P._G._T._Beauregard property:place_of_birth ?q . ?q property:located_in_the_administrative_territorial_entity ?r }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q313976> .
?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/Q503883> .
?statement <http://www.wikidata.org/entity/P131> ?value. 
} 

SELECT ?value WHERE { wd:Q313976 p:P19 ?s . ?s ps:P19 wd:Q503883 . ?s pq:P131 ?value}