What is {date of birth} and {mother} of {{John Adams} has {child} as {Abigail Adams Smith}}
When was Abigail Adams Smith born, and who is her mother?
When did John Adams' child Abigail Adams Smith born and who is the mother?
SELECT ?h ?y WHERE { ?q property:child resource:Abigail_Adams_Smith . ?q property:date_of_birth ?h . resource:John_Adams property:child ?q . ?q property:mother ?y }
select distinct ?value1 ?value2 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> <http://wikidata.dbpedia.org/resource/Q4667661>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q11806 p:P40 ?s . ?s ps:P40 wd:Q4667661 . ?s pq:P569 ?value1 . ?s pq:P25 ?value2 }