Question: Which is longer, Mighty Joe Young that is 94 minutes long or The Silence of the Lambs?
Choices:
Talk to Her
The Silence of the Lambs
A Prairie Home Companion
Pleasantville
The Hunchback of Notre Dame
The Towering Inferno
Mighty Joe Young
Curse of the Golden Flower
The Fifth Element
Training Day
Program:
function: Find
inputs: Mighty Joe Young
function: FilterNum
dependencies: 0
inputs: duration
94 minute
=
function: Find
inputs: The Silence of the Lambs
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mighty Joe Young" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "94"^^xsd:double . } UNION { ?e <pred:name> "The Silence of the Lambs" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Silence of the Lambs