Question: Which is longer, silent film The Cure or The Damned that is 95 minutes long?
Choices:
Pleasantville
A Prairie Home Companion
Rebecca
The Fifth Element
The Cure
Training Day
Talk to Her
Curse of the Golden Flower
The Towering Inferno
The Damned
Answer: The Damned
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Cure" . ?e <genre> ?e_1 . ?e_1 <pred:name> "silent film" . } UNION { ?e <pred:name> "The Damned" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "95"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: silent film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Cure
function: And
dependencies: 1
2
function: Find
inputs: The Damned
function: FilterNum
dependencies: 4
inputs: duration
95 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater