Question: Which is shorter, Beloved that depicts the supernatural, or The Merry Widow that was released on the United States of America?
Choices:
The Merry Widow
Rebecca
Curse of the Golden Flower
Training Day
The Hunchback of Notre Dame
A Prairie Home Companion
The Towering Inferno
Pleasantville
The Fifth Element
Talk to Her
Program:
function: Find
inputs: supernatural
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Beloved
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: The Merry Widow
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beloved" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "supernatural" .   } UNION { ?e <pred:name> "The Merry Widow" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "United States of America" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Merry Widow