Question: Which show has fewer seasons, The Practice or Dumb and Dumber (the one whose composer is Mark Mothersbaugh)?
Choices:
Game of Thrones
Saturday Night's Main Event
American Horror Story
Dumb and Dumber
Dancing with the Stars
Phineas and Ferb
Robot Chicken
Seinfeld
Bleak House
The Practice
Program:
function: Find
inputs: The Practice
function: Find
inputs: Mark Mothersbaugh
function: Relate
dependencies: 1
inputs: composer
backward
function: Find
inputs: Dumb and Dumber
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Practice" .  } UNION { ?e <pred:name> "Dumb and Dumber" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Mark Mothersbaugh" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Dumb and Dumber