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