Question: What television series stars Sylvester Stallone and has less than 670 episodes?
Choices: Game of Thrones
The Contender
Barney Miller
Sex and the City
Bleak House
Spartacus
M*A*S*H
Stargate Atlantis
Robot Chicken
American Horror Story
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Sylvester Stallone" .  ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "670"^^xsd:double ) .  }
Program:
function: Find
inputs: Sylvester Stallone
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of episodes
670
<
function: FilterConcept
dependencies: 4
inputs: television series
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: The Contender