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