Question: Which is longer, Germany's version of Tarzan or The Philadelphia Story?
Choices:
Rebecca
The Towering Inferno
The Philadelphia Story
The Hunchback of Notre Dame
Pleasantville
Curse of the Golden Flower
A Prairie Home Companion
Training Day
The Fifth Element
Talk to Her
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Tarzan
function: And
dependencies: 1
2
function: Find
inputs: The Philadelphia Story
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tarzan" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Germany" .   } UNION { ?e <pred:name> "The Philadelphia Story" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Philadelphia Story