Question: Is Rocky Balboa a film?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: drama film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Rocky Balboa
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
function: VerifyStr
dependencies: 4
inputs: Rocky Balboa
SPARQL: ASK { ?e <pred:name> "Rocky Balboa" . ?e <genre> ?e_1 . ?e_1 <pred:name> "drama film" .  ?e <title> ?pv . ?pv <pred:value> "Rocky Balboa" .  }
Answer: yes