Question: Which movie is shorter, New Mexico (the one whose title is New Mexico) or Management?
Choices:
Rebecca
Training Day
Curse of the Golden Flower
The Hunchback of Notre Dame
Management
The Towering Inferno
The Fifth Element
New Mexico
Talk to Her
A Prairie Home Companion
Answer: New Mexico
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Mexico" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "New Mexico" . } UNION { ?e <pred:name> "Management" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: New Mexico
function: FilterStr
dependencies: 0
inputs: title
New Mexico
function: Find
inputs: Management
function: SelectBetween
dependencies: 1
2
inputs: duration
less