Question: Which is longer, Labyrinth that origins from the United Kingdom or Mary Poppins?
Choices:
Old Dogs
Mary Poppins
The Flintstones in Viva Rock Vegas
Holes
National Treasure: Book of Secrets
Alvin and the Chipmunks: Chipwrecked
Labyrinth
The Flintstones
G-Force
The Muppets
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Labyrinth
function: And
dependencies: 1
2
function: Find
inputs: Mary Poppins
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Labyrinth" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United Kingdom" .   } UNION { ?e <pred:name> "Mary Poppins" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mary Poppins