Question: Which has a lesser number of seasons, Nashville (which has Powers Boothe as a cast member) or The Mickey Mouse Club?
Choices:
Saturday Night's Main Event
Six Feet Under
Robot Chicken
Phineas and Ferb
American Horror Story
Dancing with the Stars
The Mickey Mouse Club
Seinfeld
Bleak House
Nashville
Program:
function: Find
inputs: Powers Boothe
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Nashville
function: And
dependencies: 1
2
function: Find
inputs: The Mickey Mouse Club
function: SelectBetween
dependencies: 3
4
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nashville" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Powers Boothe" .   } UNION { ?e <pred:name> "The Mickey Mouse Club" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Nashville