Question: Is Tom the nickname of Tom Hardy (the one that is a cast member of This Means War)?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "Tom Hardy" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "This Means War" .  ?e <nickname> ?pv . ?pv <pred:value> "Tom" .  }
Program:
function: Find
inputs: This Means War
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: Tom Hardy
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: nickname
function: VerifyStr
dependencies: 4
inputs: Tom
Answer: yes