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