Did {Prince_George_of_Cambridge} {relative} {Charles, Prince of Wales} and {Pippa Middleton} ?
Are Charles, Prince of Wales, and Pippa Middleton related to Prince George?
Is Prince George of Cambridge related to Charles, Prince of Wales and Pippa Middleton?
ASK WHERE { resource:Prince_George_of_Cambridge property:relative resource:Pippa_Middleton . resource:Prince_George_of_Cambridge property:relative resource:Charles,_Prince_of_Wales }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q13590412> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1038> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q43274>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q13590412> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1038> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q232465>. } 
ASK WHERE { wd:Q13590412 wdt:P1038 wd:Q43274 . wd:Q13590412 wdt:P1038 wd:Q232465 }