Question: Is the German-language Hamlet the 21st edition ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Hamlet" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "German" .  ?e <edition_number> ?pv . ?pv <pred:value> "21" .  }
Program:
function: Find
inputs: German
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Hamlet
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: edition number
function: VerifyStr
dependencies: 4
inputs: 21