Question: How many television programs are part of the television series with the official website of http://www.hbo.com/the-wire?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television program" . ?e_1 <has_part> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "television series" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.hbo.com/the-wire" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.hbo.com/the-wire
function: FilterConcept
dependencies: 1
inputs: television series
function: Relate
dependencies: 2
inputs: has part
forward
function: FilterConcept
dependencies: 3
inputs: television program
function: Count
dependencies: 4