Question: Is G.I. Joe: The Rise of Cobra the title of the film whose director is Tom McCarthy who was nominated for an Academy Award for Best Director?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <director> ?e_1 . ?e_1 <pred:name> "Tom McCarthy" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Director" .  ?e <title> ?pv . ?pv <pred:value> "G.I. Joe: The Rise of Cobra" .  }
Program:
function: Find
inputs: Academy Award for Best Director
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Tom McCarthy
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: director
backward
function: FilterConcept
dependencies: 4
inputs: film
function: QueryAttr
dependencies: 5
inputs: title
function: VerifyStr
dependencies: 6
inputs: G.I. Joe: The Rise of Cobra
Answer: no