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