Question: Which one is longer, Full Metal Jacket or Downton Abbey (the one whose duration is 120 minute)?
Choices:
Full Metal Jacket
Rebecca
The Fifth Element
Downton Abbey
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
Talk to Her
Curse of the Golden Flower
Pleasantville
Answer: Downton Abbey
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Full Metal Jacket" . } UNION { ?e <pred:name> "Downton Abbey" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "120"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Full Metal Jacket
function: Find
inputs: Downton Abbey
function: FilterNum
dependencies: 1
inputs: duration
120 minute
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater