What is the {sovereign state} for {located in the administrative territorial entity} of {Benghazi}
What is Benghazi's sovereign state?
What is the name of the sovereign state located in Benghazi?
SELECT DISTINCT ?r WHERE { resource:Benghazi property:located_in_the_administrative_territorial_entity ?r . ?r rdf:type ontology:sovereign_state }
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/Q3624078> } 
 select distinct ?obj where { wd:Q40816 wdt:P131 ?obj . ?obj wdt:P31 wd:Q3624078 } 
Libya