Question: Which has less duration, Romeo and Juliet (whose genre is silent film) or Grease?
Choices:
Pleasantville
Grease
Training Day
Talk to Her
Rebecca
The Fifth Element
Romeo and Juliet
The Towering Inferno
Curse of the Golden Flower
The Hunchback of Notre Dame
Answer: Romeo and Juliet
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Romeo and Juliet" . ?e <genre> ?e_1 . ?e_1 <pred:name> "silent film" .   } UNION { ?e <pred:name> "Grease" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: silent film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Romeo and Juliet
function: And
dependencies: 1
2
function: Find
inputs: Grease
function: SelectBetween
dependencies: 3
4
inputs: duration
less