Question: Which movie is longer, Beauty and the Beast (the one that is shot in Germany) or Battleground?
Choices:
Training Day
Rebecca
The Hunchback of Notre Dame
The Fifth Element
Battleground
Curse of the Golden Flower
The Towering Inferno
Talk to Her
A Prairie Home Companion
Beauty and the Beast
Answer: Battleground
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beauty and the Beast" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Germany" .   } UNION { ?e <pred:name> "Battleground" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Beauty and the Beast
function: And
dependencies: 1
2
function: Find
inputs: Battleground
function: SelectBetween
dependencies: 3
4
inputs: duration
greater