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