What is {child} of {Louis VIII of France} that is {date of death} is {1270-8-25} ?
The name of Louis VIII child who died in 9/25/1270?
Which child of Louis VIII of France died 8/25/1270?
SELECT ?d WHERE { ?i property:date_of_death ?e . FILTER ( CONTAINS ( YEAR ( ?e ) , '1270' ) ) . resource:Louis_VIII_of_France property:child ?i . ?i property:child ?d }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q165284> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P40> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P570> <1270-8-25>
} 

SELECT ?obj WHERE { wd:Q165284 p:P40 ?s . ?s ps:P40 ?obj . ?s pq:P570 ?x filter(contains(YEAR(?x),'1270')) }