Question: Is the season count lower for Weeds, with Alanis Morissette as a cast member, or Fantastic Four, directed by Joseph Barbera?
Choices: American Dad!
The Cleveland Show
Fantastic Four
Tiny Toon Adventures
Batman Beyond
The Venture Bros.
Aladdin
South Park
Weeds
Phineas and Ferb
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Weeds" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Alanis Morissette" .   } UNION { ?e <pred:name> "Fantastic Four" . ?e <director> ?e_2 . ?e_2 <pred:name> "Joseph Barbera" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Alanis Morissette
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Weeds
function: And
dependencies: 1
2
function: Find
inputs: Joseph Barbera
function: Relate
dependencies: 4
inputs: director
backward
function: Find
inputs: Fantastic Four
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of seasons
less
Answer: Fantastic Four