What is the {sovereign state} for {capital} of {Vilnius}
The capital of Vilnius is which autonomous state?
The capital of Vilnius is which sovereign state?
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sovereign_state . ?t property:capital resource:Vilnius }
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/P36> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q216> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q3624078> } 
 select distinct ?sbj where { ?sbj wdt:P36 wd:Q216 . ?sbj wdt:P31 wd:Q3624078 } 
Lithuania