Question: Which medal was received by John Davis (who was born in Germany) in 1898?
Choices:
Silver Star
Franklin Medal
Copley Medal
bronze medal
Gold Medal of the Royal Astronomical Society
Purple Heart
Presidential Medal of Freedom
Medal of Honor
Benjamin Franklin Medal
Edison Medal
Answer: Medal of Honor
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "medal" . ?e_1 <award_received> ?e . ?e_1 <pred:name> "John Davis" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> "Germany" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 1898 .  }
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: John Davis
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: award received
forward
function: QFilterYear
dependencies: 4
inputs: point in time
1898
=
function: FilterConcept
dependencies: 5
inputs: medal
function: What
dependencies: 6