Question: Which movie is shorter, Entourage (the one whose publication date is 2015) or Scream 3?
Choices:
Training Day
A Prairie Home Companion
Entourage
The Towering Inferno
Talk to Her
Rebecca
Pleasantville
Scream 3
Curse of the Golden Flower
The Fifth Element
Answer: Entourage
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Entourage" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 2015 . } UNION { ?e <pred:name> "Scream 3" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Entourage
function: FilterYear
dependencies: 0
inputs: publication date
2015
=
function: Find
inputs: Scream 3
function: SelectBetween
dependencies: 1
2
inputs: duration
less