Question: Does John Locke (the one that is buried in West Norwood Cemetery), have a native-language name equal to John Locke?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "John Locke" . ?e <place_of_burial> ?e_1 . ?e_1 <pred:name> "West Norwood Cemetery" .  ?e <name_in_native_language> ?pv . ?pv <pred:value> "John Locke" .  }
Program:
function: Find
inputs: West Norwood Cemetery
function: Relate
dependencies: 0
inputs: place of burial
backward
function: Find
inputs: John Locke
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: name in native language
function: VerifyStr
dependencies: 4
inputs: John Locke
Answer: yes