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