Question: Does Affliction or Die Hard (whose production company is 20th Century Fox) have the shorter runtime?
Choices:
The Fifth Element
A Prairie Home Companion
Rebecca
Training Day
Talk to Her
Die Hard
Affliction
The Hunchback of Notre Dame
Curse of the Golden Flower
The Towering Inferno
Program:
function: Find
inputs: Affliction
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Die Hard
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Affliction" .  } UNION { ?e <pred:name> "Die Hard" . ?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: Affliction