Question: Until when was Jon Anderson, famous for New Age, a member of Yes (the one whose Twitter username is yesofficial) ?
Choices:
2012-12-17
1804
2002-10-15
1927-03-11
2013-05-16
1808
1798-01-01
2004
2012-08-12
1833-09-10
Answer: 2004
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Jon Anderson" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "New Age" . ?e_2 <pred:name> "Yes" . ?e_2 <Twitter_username> ?pv . ?pv <pred:value> "yesofficial" . ?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: New Age
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Jon Anderson
function: And
dependencies: 1
2
function: Find
inputs: Yes
function: FilterStr
dependencies: 4
inputs: Twitter username
yesofficial
function: QueryRelationQualifier
dependencies: 3
5
inputs: member of
end time