Question: Which show has more seasons, The Surreal Life or Dark Shadows (the one that is originally aired on American Broadcasting Company)?2
Choices:
Game of Thrones
Saturday Night's Main Event
Six Feet Under
Dancing with the Stars
Phineas and Ferb
Robot Chicken
Bleak House
Dark Shadows
American Horror Story
The Surreal Life
Answer: The Surreal Life
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Surreal Life" .  } UNION { ?e <pred:name> "Dark Shadows" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "American Broadcasting Company" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Surreal Life
function: Find
inputs: American Broadcasting Company
function: Relate
dependencies: 1
inputs: original network
backward
function: Find
inputs: Dark Shadows
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of seasons
greater