Question: When did the father of John Quincy Adams (the one that is an ethnic group of white people) die?
Choices:
1961-10-22
2007-11-28
2008-03-31
2002-12-25
2015-07-31
1826-07-04
1946-04-21
1949-09-22
2008-09-15
1821-02-23
Answer: 1826-07-04
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <father> ?e . ?e_1 <pred:name> "John Quincy Adams" . ?e_1 <ethnic_group> ?e_2 . ?e_2 <pred:name> "white people" .  ?e <date_of_death> ?pv .  }
Program:
function: Find
inputs: white people
function: Relate
dependencies: 0
inputs: ethnic group
backward
function: Find
inputs: John Quincy Adams
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: father
forward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttr
dependencies: 5
inputs: date of death