Question: Since when has Bill Berry (the one that has the occupation of drummer) lived in Athens (the one whose local dialing code is 706)?
Choices:
2006-09-25
1881-01-01
1819-12-14
2002-06-15
1896-12-01
1788-04-28
1988-09-18
1978
2005-06-06
1987-03-30
Answer: 1978
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Bill Berry" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "drummer" . ?e_2 <pred:name> "Athens" . ?e_2 <local_dialing_code> ?pv . ?pv <pred:value> "706" . ?e_1 <residence> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: drummer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Bill Berry
function: And
dependencies: 1
2
function: Find
inputs: Athens
function: FilterStr
dependencies: 4
inputs: local dialing code
706
function: QueryRelationQualifier
dependencies: 3
5
inputs: residence
start time