Question: Are there more seasons in Beverly Hills, 90210 or The Surreal Life?
Choices:
Game of Thrones
Phineas and Ferb
Dancing with the Stars
Beverly Hills, 90210
Robot Chicken
American Horror Story
The Surreal Life
Seinfeld
Saturday Night's Main Event
Six Feet Under
Program:
function: Find
inputs: Beverly Hills, 90210
function: Find
inputs: The Surreal Life
function: SelectBetween
dependencies: 0
1
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beverly Hills, 90210" .  } UNION { ?e <pred:name> "The Surreal Life" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Beverly Hills, 90210