Question: Did a recurring event, with candidates including John McCain (the running mate of this statement is Sarah Palin), happen in a year other than 1971 ?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "recurring event" . ?e <candidate> ?e_1 . ?e_1 <pred:name> "John McCain" .  [ <pred:fact_h> ?e ; <pred:fact_r> <candidate> ; <pred:fact_t> ?e_1 ] <running_mate> ?qpv . ?qpv <pred:value> "Sarah Palin" . ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1971 ) .  }
Program:
function: Find
inputs: John McCain
function: Relate
dependencies: 0
inputs: candidate
backward
function: QFilterStr
dependencies: 1
inputs: running mate
Sarah Palin
function: FilterConcept
dependencies: 2
inputs: recurring event
function: QueryAttr
dependencies: 3
inputs: point in time
function: VerifyYear
dependencies: 4
inputs: 1971
!=
Answer: yes