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