Question: Which has a lesser duration, About a Boy (whose producer is Tim Bevan) or The Firm ( whose script is writen by Robert Towne)?
Choices:
The Fifth Element
Pleasantville
The Towering Inferno
The Firm
Rebecca
The Hunchback of Notre Dame
About a Boy
Curse of the Golden Flower
Training Day
A Prairie Home Companion
Program:
function: Find
inputs: Tim Bevan
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: About a Boy
function: And
dependencies: 1
2
function: Find
inputs: Robert Towne
function: Relate
dependencies: 4
inputs: screenwriter
backward
function: Find
inputs: The Firm
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "About a Boy" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Tim Bevan" .   } UNION { ?e <pred:name> "The Firm" . ?e <screenwriter> ?e_2 . ?e_2 <pred:name> "Robert Towne" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: About a Boy