Question: Which is shorter, When We Were Kings or Gulliver's Travels produced by 20th Century Fox?
Choices:
Curse of the Golden Flower
Pleasantville
Talk to Her
When We Were Kings
Training Day
A Prairie Home Companion
Gulliver's Travels
The Hunchback of Notre Dame
The Fifth Element
The Towering Inferno
Program:
function: Find
inputs: When We Were Kings
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Gulliver's Travels
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "When We Were Kings" .  } UNION { ?e <pred:name> "Gulliver's Travels" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "20th Century Fox" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: When We Were Kings