Question: Which one has more episodes, Alias (which has Michael K. Williams as a cast member) or All My Children?
Choices: All My Children
Dancing with the Stars
Game of Thrones
Seinfeld
Bleak House
Phineas and Ferb
Robot Chicken
Saturday Night's Main Event
Six Feet Under
Alias
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alias" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Michael K. Williams" .   } UNION { ?e <pred:name> "All My Children" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Michael K. Williams
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Alias
function: And
dependencies: 1
2
function: Find
inputs: All My Children
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
greater
Answer: All My Children