Question: Which is shorter: Gulliver's Travels (the one that was nominated for Golden Raspberry Award for Worst Actor) or Tehran (the one that origins from United Kingdom)?
Choices:
Gulliver's Travels
A Prairie Home Companion
The Towering Inferno
The Hunchback of Notre Dame
Curse of the Golden Flower
The Fifth Element
Training Day
Talk to Her
Tehran
Rebecca
Answer: Gulliver's Travels
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gulliver's Travels" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Golden Raspberry Award for Worst Actor" .   } UNION { ?e <pred:name> "Tehran" . ?e <country_of_origin> ?e_2 . ?e_2 <pred:name> "United Kingdom" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Golden Raspberry Award for Worst Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Gulliver's Travels
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: Relate
dependencies: 4
inputs: country of origin
backward
function: Find
inputs: Tehran
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less