Question: How many television series does Start Trek  episode The Next generation acted by Tony Todd has?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Tony Todd
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Star Trek: The Next Generation
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: part of the series
backward
function: FilterConcept
dependencies: 4
inputs: television series episode
function: Count
dependencies: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series episode" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> "Star Trek: The Next Generation" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Tony Todd" .   }
Answer: 6