What is {kids} of {Ferdinand I of León and Castile}, that has {date of the end} is {1109-7-1} ?
What child of Ferdinand I kicked the bucket on 1109-7-1?
What child of Ferdinand I died on 1109-7-1?
SELECT ?z WHERE { ?z property:date_of_death ?b . FILTER ( CONTAINS ( YEAR ( ?b ) , '1109' ) ) . resource:Ferdinand_I_of_León_and_Castile property:child ?z }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q296863> . ?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/P570> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <1109-7-1> . }
SELECT ?answer WHERE { wd:Q296863 wdt:P40 ?answer . ?answer wdt:P570 ?x FILTER(contains(YEAR(?x),'1109'))}
Alfonso VI of León and Castile