Question: Which is shorter, Since You Went Away or Ben-Hur (the one whose cost is 15000000 United States dollars)?
Choices:
Pleasantville
The Hunchback of Notre Dame
Curse of the Golden Flower
The Fifth Element
Since You Went Away
Training Day
Ben-Hur
Rebecca
The Towering Inferno
Talk to Her
Answer: Since You Went Away
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Since You Went Away" . } UNION { ?e <pred:name> "Ben-Hur" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "15000000"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Since You Went Away
function: Find
inputs: Ben-Hur
function: FilterNum
dependencies: 1
inputs: cost
15000000 United States dollar
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less