Question: Which is shorter, The Merry Widow with costume design by Helen Rose or The Secret in Their Eyes, released in 2015?
Choices:
Curse of the Golden Flower
The Secret in Their Eyes
Rebecca
Talk to Her
The Fifth Element
Training Day
The Merry Widow
A Prairie Home Companion
The Towering Inferno
The Hunchback of Notre Dame
Answer: The Merry Widow
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Merry Widow" . ?e <costume_designer> ?e_1 . ?e_1 <pred:name> "Helen Rose" . } UNION { ?e <pred:name> "The Secret in Their Eyes" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 2015 . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Helen Rose
function: Relate
dependencies: 0
inputs: costume designer
backward
function: Find
inputs: The Merry Widow
function: And
dependencies: 1
2
function: Find
inputs: The Secret in Their Eyes
function: FilterYear
dependencies: 4
inputs: publication date
2015
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less