Question: Where there more episodes in The Edge of Night or the animated series Dumb and Dumber?
Choices:
Robot Chicken
Six Feet Under
American Horror Story
Phineas and Ferb
Dumb and Dumber
The Edge of Night
Game of Thrones
Seinfeld
Bleak House
Saturday Night's Main Event
Answer: The Edge of Night
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Edge of Night" .  } UNION { ?e <pred:name> "Dumb and Dumber" . ?e <genre> ?e_1 . ?e_1 <pred:name> "animated series" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Edge of Night
function: Find
inputs: animated series
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Dumb and Dumber
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of episodes
greater