What is the {country} for {located in the administrative territorial entity} of {Benghazi}
What nation is Benghazi found in?
What country is Benghazi located in?
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:country . resource:Benghazi property:located_in_the_administrative_territorial_entity ?o }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q40816> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P131> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q6256> } 
 select distinct ?obj where { wd:Q40816 wdt:P131 ?obj . ?obj wdt:P31 wd:Q6256 } 
Libya