Question: Atheist Richard Wright belonged to the Communist Party USA until which date?
Choices:
1895-01-01
2020
1681-09-29
2023-06-30
1927-03-11
1944
1945-03-29
1890-01-01
1945-04-18
2012-04-04
Answer: 1944
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Richard Wright" . ?e_1 <religion> ?e_3 . ?e_3 <pred:name> "atheism" . ?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: atheism
function: Relate
dependencies: 0
inputs: religion
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