Question: Which is lengthier, New Orleans, distributed by United Artists, or Beowulf, which lasts 95 minutes?
Choices: Rebecca
The Towering Inferno
Training Day
The Fifth Element
Curse of the Golden Flower
New Orleans
Beowulf
The Hunchback of Notre Dame
Pleasantville
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beowulf" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "95"^^xsd:double . } UNION { ?e <pred:name> "New Orleans" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "United Artists" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Beowulf
function: FilterNum
dependencies: 0
inputs: duration
95 minute
=
function: Find
inputs: United Artists
function: Relate
dependencies: 2
inputs: distributor
backward
function: Find
inputs: New Orleans
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
Answer: Beowulf