Question: Was Brian Wilson (native language name Brian Wilson) born in a year different from 1937 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Brian Wilson" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> "Brian Wilson" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1937 ) .  }
Program:
function: Find
inputs: Brian Wilson
function: FilterStr
dependencies: 0
inputs: name in native language
Brian Wilson
function: QueryAttr
dependencies: 1
inputs: date of birth
function: VerifyYear
dependencies: 2
inputs: 1937
!=