Question: Which is longer, The Ten Commandments that is from the United Kingdom or 30 Rock?
Choices:
30 Rock
Roots
The Ten Commandments
Edge of Darkness
The Stand
The Civil War
The Pacific
The Diary of Anne Frank
Emma
Battlestar Galactica
Answer: The Ten Commandments
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Ten Commandments" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United Kingdom" .   } UNION { ?e <pred:name> "30 Rock" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: The Ten Commandments
function: And
dependencies: 1
2
function: Find
inputs: 30 Rock
function: SelectBetween
dependencies: 3
4
inputs: duration
greater