Question: What work is titled Cleopatra and casts John Carradine?
Choices:
Talk to Her
The Towering Inferno
The Fifth Element
The Ten Commandments
Cleopatra
Pleasantville
Rebecca
Training Day
Around the World in 80 Days
A Prairie Home Companion
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Cleopatra
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Find
inputs: John Carradine
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> "Cleopatra" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "John Carradine" .  }
Answer: Cleopatra