Question: Which was shorter, Giant distributed by Warner Bros. or The 40-Year-Old Virgin?
Choices:
The 40-Year-Old Virgin
The Towering Inferno
Curse of the Golden Flower
Pleasantville
Talk to Her
Training Day
The Hunchback of Notre Dame
The Fifth Element
A Prairie Home Companion
Rebecca
Program:
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Giant
function: And
dependencies: 1
2
function: Find
inputs: The 40-Year-Old Virgin
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Giant" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Warner Bros." .   } UNION { ?e <pred:name> "The 40-Year-Old Virgin" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The 40-Year-Old Virgin