Question: Which has shorter duration, Savages released in Russia or The Time Machine (script is written by H. G. Wells)?
Choices:
The Hunchback of Notre Dame
A Prairie Home Companion
The Time Machine
The Towering Inferno
Savages
The Fifth Element
Talk to Her
Curse of the Golden Flower
Training Day
Rebecca
Answer: The Time Machine
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Savages" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Russia" .   } UNION { ?e <pred:name> "The Time Machine" . ?e <screenwriter> ?e_2 . ?e_2 <pred:name> "H. G. Wells" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Russia
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Savages
function: And
dependencies: 1
2
function: Find
inputs: H. G. Wells
function: Relate
dependencies: 4
inputs: screenwriter
backward
function: Find
inputs: The Time Machine
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less