Question: What does Looney Tunes: Back in Action (whose director of photography is Dean Cundey) have to do with (Casey Kasem)?
Choices:
located in or next to body of water
make-up artist
voice actor
medical treatment
color
soundtrack album
start point
coextensive with
has cause
applies to jurisdiction
Answer: voice actor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Looney Tunes: Back in Action" . ?e_1 <director_of_photography> ?e_3 . ?e_3 <pred:name> "Dean Cundey" . ?e_2 <pred:name> "Casey Kasem" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Dean Cundey
function: Relate
dependencies: 0
inputs: director of photography
backward
function: Find
inputs: Looney Tunes: Back in Action
function: And
dependencies: 1
2
function: Find
inputs: Casey Kasem
function: QueryRelation
dependencies: 3
4