Question: Which written work titled The Shining is the basis of The Shining, made at a cost  of 19000000 USD?
Choices:
The Maltese Falcon
Live and Let Die
Interview with the Vampire
Along Came a Spider
Contact
The Shining
A Single Man
listed building in the United Kingdom
The Hours
The Painted Veil
Answer: The Shining
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "The Shining" . ?e_1 <cost> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "19000000"^^xsd:double .  ?e <title> ?pv_1 . ?pv_1 <pred:value> "The Shining" .  }
Program:
function: Find
inputs: The Shining
function: FilterNum
dependencies: 0
inputs: cost
19000000 United States dollar
=
function: Relate
dependencies: 1
inputs: based on
forward
function: FilterConcept
dependencies: 2
inputs: written work
function: FindAll
function: FilterStr
dependencies: 4
inputs: title
The Shining
function: FilterConcept
dependencies: 5
inputs: written work
function: And
dependencies: 3
6
function: What
dependencies: 7