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