Question: Which had more episodes, Game of Thrones with Aidan Gillen or WWE Superstars?
Choices:
Robot Chicken
Six Feet Under
Babylon 5
Saturday Night's Main Event
Bleak House
Phineas and Ferb
American Horror Story
Seinfeld
WWE Superstars
Game of Thrones
Program:
function: Find
inputs: Aidan Gillen
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Game of Thrones
function: And
dependencies: 1
2
function: Find
inputs: WWE Superstars
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Game of Thrones" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Aidan Gillen" .   } UNION { ?e <pred:name> "WWE Superstars" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: WWE Superstars