Question: Does documentary film Spellbound or Caravaggio, originally from the United Kingdom, have the shorter run time?
Choices:
Curse of the Golden Flower
Spellbound
Training Day
Rebecca
A Prairie Home Companion
The Fifth Element
Pleasantville
The Towering Inferno
Caravaggio
The Hunchback of Notre Dame
Answer: Caravaggio
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Spellbound" . ?e <genre> ?e_1 . ?e_1 <pred:name> "documentary film" .   } UNION { ?e <pred:name> "Caravaggio" . ?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: documentary film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Spellbound
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: Relate
dependencies: 4
inputs: country of origin
backward
function: Find
inputs: Caravaggio
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less