Question: Which show has more episodes, Wonder Woman (the one that mainly depicts World War II) or Dumb and Dumber (the one whose genre is animated series)?
Choices: American Horror Story
Bleak House
Robot Chicken
Dumb and Dumber
Saturday Night's Main Event
Game of Thrones
Phineas and Ferb
Seinfeld
Wonder Woman
Dancing with the Stars
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wonder Woman" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "World War II" .   } UNION { ?e <pred:name> "Dumb and Dumber" . ?e <genre> ?e_2 . ?e_2 <pred:name> "animated series" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: World War II
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Wonder Woman
function: And
dependencies: 1
2
function: Find
inputs: animated series
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Dumb and Dumber
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of episodes
greater
Answer: Wonder Woman