Question: Which has fewer season, The Golden Girls or The Monkees with Peter Tork in the cast?
Choices:
Steve Jobs
Mr. Smith Goes to Washington
Epitaph Records
The Golden Girls
farce
blue
Nigeria
The Monkees
stand-up comedy
comedy of manners
Program:
function: Find
inputs: The Golden Girls
function: Find
inputs: Peter Tork
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Monkees
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Golden Girls" .  } UNION { ?e <pred:name> "The Monkees" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Peter Tork" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Monkees