What is the {unitary state} for {contains administrative territorial entity} of {Sofia}
Let me know approximately the unitary state that contains the authoritative regional substance of Sofia.
Tell me about the unitary state that contains the administrative territorial entity of Sofia.
SELECT DISTINCT ?k WHERE { ?k property:contains_administrative_territorial_entity resource:Sofia . ?k rdf:type ontology:unitary_state }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P150> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q472> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q179164> } 
 select distinct ?sbj where { ?sbj wdt:P150 wd:Q472 . ?sbj wdt:P31 wd:Q179164 } 