Question: Is edition number 21 a legitimate edition (or version or translation) of Hamlet?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "version, edition, or translation" . ?e <edition_number> ?pv_1 . ?pv_1 <pred:value> "21" . ?e <title> ?pv . ?pv <pred:value> "Hamlet" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: edition number
21
function: FilterConcept
dependencies: 1
inputs: version, edition, or translation
function: QueryAttr
dependencies: 2
inputs: title
function: VerifyStr
dependencies: 3
inputs: Hamlet