Question: What film released prior to 1993 was based on Cape Fear (with run-time of 105 minutes)?
Choices:
Talk to Her
Rebecca
The Towering Inferno
Baraka
The Cotton Club
Cape Fear
The Fifth Element
Training Day
A Prairie Home Companion
Charlotte
Answer: Cape Fear
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "Cape Fear" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "105"^^xsd:double .  ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 1993 ) .  }
Program:
function: Find
inputs: Cape Fear
function: FilterNum
dependencies: 0
inputs: duration
105 minute
=
function: Relate
dependencies: 1
inputs: derivative work
forward
function: FilterConcept
dependencies: 2
inputs: film
function: FindAll
function: FilterYear
dependencies: 4
inputs: publication date
1993
<
function: FilterConcept
dependencies: 5
inputs: film
function: And
dependencies: 3
6
function: What
dependencies: 7