What is {date of birth} and {mother} of {{John Adams} has {child} as {Thomas Boylston Adams}}
When did John Adams have baby Thomas Boylston Adams, and who is the mother?
When did John Adams have child Thomas Boylston Adams, and who is the mother?
SELECT ?k ?c WHERE { resource:John_Adams property:child ?w . ?w property:date_of_birth ?k . ?w property:mother ?c . ?w property:child resource:Thomas_Boylston_Adams }
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/Q7787805>. ?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:Q7787805 . ?s pq:P569 ?value1 . ?s pq:P25 ?value2 }