What is {principal place} of {England}, that has {is in the administrative unit} is {Kingdom of Wessex} ?
What is the {capital} of England, it {is in the administrative unit} of {Kingdom of Wessex}?
What is the {capital} of England, it {is in the administrative unit} of {Kingdom of Wessex}?
SELECT ?o WHERE { ?o property:located_in_the_administrative_territorial_entity resource:Wessex . resource:England property:capital ?o }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q21> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P36>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P131> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q105313> . }
SELECT ?answer WHERE { wd:Q21 wdt:P36 ?answer . ?answer wdt:P131 wd:Q105313}