Question: Is the title of American Beauty with the director of photography George J. Folsey, American Beauty?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "American Beauty" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> "George J. Folsey" .  ?e <title> ?pv . ?pv <pred:value> "American Beauty" .  }
Program:
function: Find
inputs: George J. Folsey
function: Relate
dependencies: 0
inputs: director of photography
backward
function: Find
inputs: American Beauty
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
function: VerifyStr
dependencies: 4
inputs: American Beauty
Answer: yes