Question: When did Jon Anderson (who has the occupation of composer) stop being a member of Yes (which is famous for hard rock)?
Choices: 1985-06-27
2016-06-02
1941
2000-08-01
2004
2005-02-08
2012-09-12
1925-01-01
2005-06-06
1795-01-18
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Jon Anderson" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "composer" . ?e_2 <pred:name> "Yes" . ?e_4 <famous_people> ?e_2 . ?e_4 <pred:name> "hard rock" . ?e_1 <member_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: composer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Jon Anderson
function: And
dependencies: 1
2
function: Find
inputs: hard rock
function: Relate
dependencies: 4
inputs: famous people
forward
function: Find
inputs: Yes
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: member of
end time
Answer: 2004