Question: Was Wyatt Earp (the one whose name in native language is Wyatt Earp) born before 1982?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "Wyatt Earp" . ?e <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> "Wyatt Earp" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1982 ) .  }
Program:
function: Find
inputs: Wyatt Earp
function: FilterStr
dependencies: 0
inputs: name in native language
Wyatt Earp
function: QueryAttr
dependencies: 1
inputs: date of birth
function: VerifyYear
dependencies: 2
inputs: 1982
<
Answer: yes