What is {daughter} of {George II of Great Britain}, that has {husbands} is {Frederick II, Landgrave of Hesse-Kassel} ?
Who is the daughter of Great Britain's King George II, that married to Frederick II and was once the Landgrave of Hesse-Kassel?
Who is the daughter of Great Britain's King George II, that married to Frederick II and was the Landgrave of Hesse-Kassel?
SELECT ?w WHERE { resource:George_II_of_Great_Britain property:child ?w . ?w property:spouse resource:Frederick_II,_Landgrave_of_Hesse-Kassel }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q131981> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P40>. ?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/P26> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q454473> . }
SELECT ?answer WHERE { wd:Q131981 wdt:P40 ?answer . ?answer wdt:P26 wd:Q454473}
Princess Mary of Great Britain