Question: What is the title of the television series that is based on Crash (whose script is written by Paul Haggis)?
Choices: Rebecca
Pocahontas
The Postman
Looper
Ryan's Daughter
Crash
Ghost
Mad Men
Demolition Man
A Serious Man
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "Crash" . ?e_1 <screenwriter> ?e_2 . ?e_2 <pred:name> "Paul Haggis" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: Paul Haggis
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: Crash
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
backward
function: FilterConcept
dependencies: 4
inputs: television series
function: QueryAttr
dependencies: 5
inputs: title
Answer: Crash