Question: Is the title of a written book, that give the basis to Goldfinger (the one whose genre is film based on literature) name, equal to Goldfinger ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e_1 <named_after> ?e . ?e_1 <pred:name> "Goldfinger" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "film based on literature" .  ?e <title> ?pv . ?pv <pred:value> "Goldfinger" .  }
Program:
function: Find
inputs: film based on literature
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Goldfinger
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: named after
forward
function: FilterConcept
dependencies: 4
inputs: written work
function: QueryAttr
dependencies: 5
inputs: title
function: VerifyStr
dependencies: 6
inputs: Goldfinger