Question: Which is shorter, 13 Assassins (with story set in Japan) or the Little Women with composer Adolph Deutsch?
Choices:
Little Women
The Towering Inferno
Curse of the Golden Flower
The Fifth Element
Training Day
Pleasantville
The Hunchback of Notre Dame
13 Assassins
A Prairie Home Companion
Rebecca
Program:
function: Find
inputs: Japan
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: 13 Assassins
function: And
dependencies: 1
2
function: Find
inputs: Adolph Deutsch
function: Relate
dependencies: 4
inputs: composer
backward
function: Find
inputs: Little Women
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "13 Assassins" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Japan" .   } UNION { ?e <pred:name> "Little Women" . ?e <composer> ?e_2 . ?e_2 <pred:name> "Adolph Deutsch" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: 13 Assassins