What is {head of state} of {originates} of {The Second World War} ?
What head of state starts from The Moment World War?
What head of state originates from The Second World War?
SELECT ?j WHERE { resource:The_Second_World_War property:country_of_origin ?m . ?m property:office_held_by_head_of_state ?j }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q209788> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P495>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1906> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q209788 wdt:P495 ?X . ?X wdt:P1906 ?answer}
monarch of the United Kingdom