Question: Which movie is shorter, Mansfield Park or The Firm (the one whose duration is 70 minute)?
Choices:
The Firm
The Music Man
All Quiet on the Western Front
A Christmas Carol
The Challenge
Mansfield Park
The Three Musketeers
A Streetcar Named Desire
The Goodbye Girl
The Late Shift
Answer: The Firm
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mansfield Park" . } UNION { ?e <pred:name> "The Firm" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "70"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Mansfield Park
function: Find
inputs: The Firm
function: FilterNum
dependencies: 1
inputs: duration
70 minute
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less