Question: Between Magnolia or the Godzilla produced by Tomoyuki Tanaka, which is shorter?
Choices:
The Towering Inferno
Training Day
Magnolia
Rebecca
The Hunchback of Notre Dame
Curse of the Golden Flower
The Fifth Element
Godzilla
Pleasantville
Talk to Her
Program:
function: Find
inputs: Magnolia
function: Find
inputs: Tomoyuki Tanaka
function: Relate
dependencies: 1
inputs: producer
backward
function: Find
inputs: Godzilla
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Magnolia" .  } UNION { ?e <pred:name> "Godzilla" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Tomoyuki Tanaka" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Godzilla