What is {capital town} of {Kingdom of Wessex}, that has {notable event} is {7 July 2005 London bombings} ?
What capital town of the Kingdom of Wessez experienced the striking occasion of the July 7, 2005 London bombings?
What capital town of the Kingdom of Wessez experienced the notable event of the July 7, 2005 London bombings?
SELECT ?k WHERE { resource:Wessex property:capital ?k . ?k property:significant_event resource:7_July_2005_London_bombings }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q105313> . ?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/P793> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q10818> . }
SELECT ?answer WHERE { wd:Q105313 wdt:P36 ?answer . ?answer wdt:P793 wd:Q10818}
London