What is {father} and {date of birth} of {{Abigail Adams} has {child} as {Abigail Adams Smith}}
What is the birthday of Abigail Adams who has a baby named Abigail Adams Smith?
What is the birthday of Abigail Adams who has a child named Abigail Adams Smith?
SELECT ?y ?u WHERE { ?y property:child resource:Abigail_Adams_Smith . resource:Abigail_Adams property:child ?y . ?y property:father ?y . ?y property:date_of_birth ?u }
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/Q4667661>. ?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:Q4667661 . ?s pq:P22 ?value1 . ?s pq:P569 ?value2 }