What is {has daughter} of {Charles III of Spain}, that has {Christian name} is {Charles} ?
What is the Christian title name of the Charles III of Spain's daughter?
What is the Christian name name of the Charles III of Spain's daughter?
SELECT ?l WHERE { ?l property:given_name resource:Charles . resource:Charles_III_of_Spain property:child ?l }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q36234> . ?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/P735> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2958359> . }
SELECT ?answer WHERE { wd:Q36234 wdt:P40 ?answer . ?answer wdt:P735 wd:Q2958359}