Question: Which movie is longer, The Waltons or Rome (the one that origins from Italy)?
Choices:
Dancing with the Stars
Rome
Six Feet Under
Bleak House
Seinfeld
Saturday Night's Main Event
Phineas and Ferb
Robot Chicken
The Waltons
Game of Thrones
Answer: Rome
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Waltons" .  } UNION { ?e <pred:name> "Rome" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Italy" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Waltons
function: Find
inputs: Italy
function: Relate
dependencies: 1
inputs: country of origin
backward
function: Find
inputs: Rome
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater