Question: Does The Quiet Man, released in the USA, or Wichita, composed by Hans J. Salter, have the shorter run-time?
Choices:
Wichita
Pleasantville
The Fifth Element
The Quiet Man
A Prairie Home Companion
Training Day
The Towering Inferno
Rebecca
The Hunchback of Notre Dame
Curse of the Golden Flower
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Quiet Man
function: And
dependencies: 1
2
function: Find
inputs: Hans J. Salter
function: Relate
dependencies: 4
inputs: composer
backward
function: Find
inputs: Wichita
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Quiet Man" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Wichita" . ?e <composer> ?e_2 . ?e_2 <pred:name> "Hans J. Salter" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Wichita