What is the {position} for {country} of {Kingdom of Wessex}
In which country is Wessex's Kingdom located?
In which country is the Kingdom of Wessex located?
SELECT DISTINCT ?q WHERE { ?q property:country resource:Wessex . ?q rdf:type ontology:position }
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/P17> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q105313> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q4164871> } 
 select distinct ?sbj where { ?sbj wdt:P17 wd:Q105313 . ?sbj wdt:P31 wd:Q4164871 } 
king of Wessex