Question: Is the shorter work Cyrano de Bergerac, nominated for the European Film Award for Best Actress, or Paris, originating in France?
Choices:
The Towering Inferno
The Hunchback of Notre Dame
The Fifth Element
Curse of the Golden Flower
Rebecca
Cyrano de Bergerac
Talk to Her
A Prairie Home Companion
Training Day
Paris
Answer: Paris
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cyrano de Bergerac" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "European Film Award for Best Actress" .   } UNION { ?e <pred:name> "Paris" . ?e <country_of_origin> ?e_2 . ?e_2 <pred:name> "France" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: European Film Award for Best Actress
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Cyrano de Bergerac
function: And
dependencies: 1
2
function: Find
inputs: France
function: Relate
dependencies: 4
inputs: country of origin
backward
function: Find
inputs: Paris
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less