What is {daughters} of {is daughter of} of {Charles IV of Spain} ?
who girls of is girl of Charles IV of Spain ?
who daughters of is daughter of Charles IV of Spain ?
SELECT ?r WHERE { ?d property:child ?r . resource:Charles_I_of_Spain property:mother ?d }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q183226> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P25>. ?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/P40> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q183226 wdt:P25 ?X . ?X wdt:P40 ?answer}
Charles I of Spain Maria Luisa of Spain Ferdinand I of the Two Sicilies Infanta Maria Josefa of Spain Infante Philip, Duke of Calabria Francisco Javier of Spain Infante Gabriel of Spain Infante Antonio Pascual of Spain Maria Isabel de Borbón Maria Josefa Antoinetta de Borbón Maria Isabel Ana de Borbón Maria Teresa de Borbón Maria Anna de Borbón