Question: When did  John Davis (the one that was born in Germany) receive the Medal of Honor (the one whose quantity is 3493)?
Choices:
1913-11-13
2011-10-31
1814-01-01
1768
1949-03-24
2005-10-01
1882-01-01
1994-12-20
1898
1940-05-15
Answer: 1898
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Davis" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Germany" . ?e_2 <pred:name> "Medal of Honor" . ?e_2 <quantity> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "3493"^^xsd:double . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }
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: Find
inputs: Medal of Honor
function: FilterNum
dependencies: 4
inputs: quantity
3493
=
function: QueryRelationQualifier
dependencies: 3
5
inputs: award received
point in time