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