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