Question: Which one has more running time Working Girl (the one nominated for the Golden Globe Award for Best Screenplay) or Tabu (the one made in France)?
Choices:
A Prairie Home Companion
The Towering Inferno
The Fifth Element
Tabu
Curse of the Golden Flower
The Hunchback of Notre Dame
Talk to Her
Training Day
Pleasantville
Rebecca
Answer: Tabu
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Working Girl" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Golden Globe Award for Best Screenplay" .   } UNION { ?e <pred:name> "Tabu" . ?e <country_of_origin> ?e_2 . ?e_2 <pred:name> "France" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Golden Globe Award for Best Screenplay
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Working Girl
function: And
dependencies: 1
2
function: Find
inputs: France
function: Relate
dependencies: 4
inputs: country of origin
backward
function: Find
inputs: Tabu
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater