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