Question: Is the movie based on The Witches of Eastwick, written by John Updike, also titled The Witches of Eastwick ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "The Witches of Eastwick" . ?e_1 <author> ?e_2 . ?e_2 <pred:name> "John Updike" .  ?e <title> ?pv . ?pv <pred:value> "The Witches of Eastwick" .  }
Program:
function: Find
inputs: John Updike
function: Relate
dependencies: 0
inputs: author
backward
function: Find
inputs: The Witches of Eastwick
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
forward
function: FilterConcept
dependencies: 4
inputs: film
function: QueryAttr
dependencies: 5
inputs: title
function: VerifyStr
dependencies: 6
inputs: The Witches of Eastwick