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