Question: What television series included Andy Griffith in the cast and had a number of seasons not equal to 10?
Choices: Bleak House
Dark Shadows
The Vampire Diaries
A Pup Named Scooby-Doo
Soap
American Horror Story
Robot Chicken
Boston Legal
Merlin
The Andy Griffith Show
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "10"^^xsd:double ) . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Andy Griffith" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of seasons
10
!=
function: FilterConcept
dependencies: 1
inputs: television series
function: Find
inputs: Andy Griffith
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: television series
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: The Andy Griffith Show