Question: Which is longer, The Postman (with Giovanni Gibisi) or Rush Hour 2?
Choices:
A Prairie Home Companion
Rebecca
The Hunchback of Notre Dame
Pleasantville
The Towering Inferno
Curse of the Golden Flower
Training Day
Talk to Her
The Fifth Element
The Postman
Program:
function: Find
inputs: Giovanni Ribisi
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Postman
function: And
dependencies: 1
2
function: Find
inputs: Rush Hour 2
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Postman" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Giovanni Ribisi" .   } UNION { ?e <pred:name> "Rush Hour 2" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Postman