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