Question: What movie is titled Bolero and has Ray Milland?
Choices:
Sullivan's Travels
Lisbon
The Fifth Element
Training Day
Terror in the Aisles
Love Story
A Prairie Home Companion
Bolero
Rebecca
Pleasantville
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Bolero
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Find
inputs: Ray Milland
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> "Bolero" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ray Milland" .  }
Answer: Bolero