What is {father} and {date of death} of {{Abigail Adams} has {child} as {John Quincy Adams}}
When did Abigail Adams' toddler John Quincy Adams die, and who was his father?
When did Abigail Adams' child John Quincy Adams die, and who was his father?
SELECT ?d ?k WHERE { ?j property:father ?d . resource:Abigail_Adams property:child ?j . ?j property:date_of_death ?k . ?j property:child resource:John_Quincy_Adams }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q206191> . ?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> <http://wikidata.dbpedia.org/resource/Q11816>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q206191 p:P40 ?s . ?s ps:P40 wd:Q11816 . ?s pq:P22 ?value1 . ?s pq:P570 ?value2 }