Question: Which movie is shorter, Entourage (the one that was nominated for Primetime Emmy Award for Outstanding Comedy Series) or The Pacific?
Choices:
Robot Chicken
Entourage
Six Feet Under
The Pacific
Phineas and Ferb
American Horror Story
Bleak House
Dancing with the Stars
Game of Thrones
Seinfeld
Answer: Entourage
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Entourage" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Comedy Series" .   } UNION { ?e <pred:name> "The Pacific" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Comedy Series
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Entourage
function: And
dependencies: 1
2
function: Find
inputs: The Pacific
function: SelectBetween
dependencies: 3
4
inputs: duration
less