Question: Which show has more episodes, Game of Thrones (with Thomas Brodie-Sangster) or That '70s Show?
Choices:
That '70s Show
American Horror Story
Seinfeld
Babylon 5
Six Feet Under
Bleak House
Dancing with the Stars
Robot Chicken
Saturday Night's Main Event
Game of Thrones
Program:
function: Find
inputs: That '70s Show
function: Find
inputs: Thomas Brodie-Sangster
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Game of Thrones
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "That '70s Show" .  } UNION { ?e <pred:name> "Game of Thrones" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Thomas Brodie-Sangster" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: That '70s Show