Question: Does the smaller episode count belong to Futurama, with George Takei voicing a character, or Family Guy?
Choices:
Futurama
The Cleveland Show
Aladdin
Phineas and Ferb
Batman Beyond
South Park
Family Guy
Tiny Toon Adventures
American Dad!
Robot Chicken
Program:
function: Find
inputs: George Takei
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Futurama
function: And
dependencies: 1
2
function: Find
inputs: Family Guy
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Futurama" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "George Takei" .   } UNION { ?e <pred:name> "Family Guy" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Futurama