Question: What film is derived from Beetlejuice (the one whose number of episodes is 94)?
Choices:
The Hunchback of Notre Dame
Idaho
The Fifth Element
Pleasantville
Beetlejuice
Talk to Her
The Towering Inferno
A Prairie Home Companion
Rebecca
Training Day
Answer: Beetlejuice
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> "Beetlejuice" . ?e_1 <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "94"^^xsd:double .   }
Program:
function: Find
inputs: Beetlejuice
function: FilterNum
dependencies: 0
inputs: number of episodes
94
=
function: Relate
dependencies: 1
inputs: derivative work
backward
function: FilterConcept
dependencies: 2
inputs: film
function: What
dependencies: 3