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