Question: Which is longer, Venus with the original language of English, or The Pursuit of Happyness?
Choices:
Pleasantville
The Pursuit of Happyness
Training Day
The Towering Inferno
Talk to Her
The Fifth Element
Venus
The Hunchback of Notre Dame
A Prairie Home Companion
Curse of the Golden Flower
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Venus
function: And
dependencies: 1
2
function: Find
inputs: The Pursuit of Happyness
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Venus" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "The Pursuit of Happyness" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Pursuit of Happyness