Question: When did Richard Wright (the one that has the occupation of writer) become a member of the Communist Party USA?
Choices:
2011-12-27
1814-05-29
1750
1944-07-01
1939-09-27
1917-11-07
1809-09-05
1829-10-24
1795-01-18
1944
Answer: 1944
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Richard Wright" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "writer" . ?e_2 <pred:name> "Communist Party USA" . ?e_1 <member_of_political_party> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_political_party> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: writer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Richard Wright
function: And
dependencies: 1
2
function: Find
inputs: Communist Party USA
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of political party
end time