What is {child} of {John Adams} that is {date of death} is {1848-2-23} ?
Which child of John Adams died on February 23, 1848?
SELECT ?obj WHERE { wd:Q11806 p:P40 ?s . ?s ps:P40 ?obj . ?s pq:P570 ?x filter(contains(YEAR(?x),'1848')) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q11806> .
?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> <1848-2-23>
} 

Which child did John Adams lose in 1848?