Question: Which has more seasons, The West Wing or the action film 24?
Choices: Dancing with the Stars
Robot Chicken
Game of Thrones
Bleak House
Saturday Night's Main Event
Phineas and Ferb
Seinfeld
24
Six Feet Under
The West Wing
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The West Wing" .  } UNION { ?e <pred:name> "24" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The West Wing
function: Find
inputs: action film
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: 24
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of seasons
greater
Answer: The West Wing