Question: The TV series with the Twitter handle PBSAmerMasters was first aired on how many TV networks?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television network" . ?e_1 <original_network> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "television series" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> "PBSAmerMasters" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
PBSAmerMasters
function: FilterConcept
dependencies: 1
inputs: television series
function: Relate
dependencies: 2
inputs: original network
forward
function: FilterConcept
dependencies: 3
inputs: television network
function: Count
dependencies: 4