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