Question: Which movie has Alan Ladd in the cast and titled Saskatchewan?
Choices:
Citizen Kane
Rebecca
Talk to Her
The Great Gatsby
Shane
The Fifth Element
A Prairie Home Companion
Saskatchewan
Pleasantville
The Towering Inferno
Program:
function: Find
inputs: Alan Ladd
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: film
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Saskatchewan
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> "Alan Ladd" .  ?e <title> ?pv . ?pv <pred:value> "Saskatchewan" .  }
Answer: Saskatchewan