Question: Which movie is shorter, Iron Man (the one that is designed by Robert F. Boyle) or Resident Evil: Retribution?
Choices:
Talk to Her
A Prairie Home Companion
Iron Man
Pleasantville
Training Day
The Towering Inferno
Rebecca
Curse of the Golden Flower
The Fifth Element
The Hunchback of Notre Dame
Program:
function: Find
inputs: Robert F. Boyle
function: Relate
dependencies: 0
inputs: production designer
backward
function: Find
inputs: Iron Man
function: And
dependencies: 1
2
function: Find
inputs: Resident Evil: Retribution
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Iron Man" . ?e <production_designer> ?e_1 . ?e_1 <pred:name> "Robert F. Boyle" .   } UNION { ?e <pred:name> "Resident Evil: Retribution" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Iron Man