Question: Which TV movie's writer was screenwriter on the single-season The Shining?
Choices:
It
The Hunchback of Notre Dame
The Count of Monte Cristo
The Goodbye Girl
The Life and Death of Peter Sellers
Carrie
Splash
The Three Musketeers
The Music Man
Stand by Me
Program:
function: Find
inputs: The Shining
function: FilterNum
dependencies: 0
inputs: number of seasons
1
=
function: Relate
dependencies: 1
inputs: screenwriter
forward
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: after a work by
backward
function: FilterConcept
dependencies: 4
inputs: television film
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television film" . ?e <after_a_work_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_3 <screenwriter> ?e_1 . ?e_3 <pred:name> "The Shining" . ?e_3 <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1"^^xsd:double .   }
Answer: Carrie