Question: Leelee Sobieski and Carey Mulligan are both cast in which visual artwork?
Choices:
Rebecca
The Wicker Man
A Prairie Home Companion
Pride & Prejudice
Brothers
Never Let Me Go
In the Name of the King
Deep Impact
Public Enemies
Pleasantville
Program:
function: Find
inputs: Leelee Sobieski
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Find
inputs: Carey Mulligan
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Leelee Sobieski" .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Carey Mulligan" .  }
Answer: Public Enemies