Question: Anjelica Huston and Ray Liotta are both cast in which movie?
Choices:
Smokin' Aces
The Grifters
Date Night
This Is Spinal Tap
Phoenix
In the Name of the King
Lonesome Dove
One Flew Over the Cuckoo's Nest
Addams Family Values
Goodfellas
Program:
function: Find
inputs: Anjelica Huston
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Ray Liotta
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Anjelica Huston" .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Ray Liotta" .  }
Answer: Phoenix