Question: Which visual artwork titled Public Enemies has James Marsden as a cast member?
Choices:
The Fifth Element
Public Enemies
Pleasantville
Zoolander
Talk to Her
X2
X-Men: The Last Stand
Training Day
Rebecca
Hairspray
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Public Enemies
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Find
inputs: James Marsden
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 <title> ?pv . ?pv <pred:value> "Public Enemies" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "James Marsden" .  }
Answer: Public Enemies