Question: Which movie is shorter, Mighty Joe Young (the one whose duration is 114 minute) or Hook?
Choices:
Old Dogs
The Flintstones
Mighty Joe Young
G-Force
The Flintstones in Viva Rock Vegas
National Treasure: Book of Secrets
The Muppets
Hook
Alvin and the Chipmunks: Chipwrecked
John Carter
Answer: Mighty Joe Young
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mighty Joe Young" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "114"^^xsd:double . } UNION { ?e <pred:name> "Hook" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Mighty Joe Young
function: FilterNum
dependencies: 0
inputs: duration
114 minute
=
function: Find
inputs: Hook
function: SelectBetween
dependencies: 1
2
inputs: duration
less