Question: How many TV production companies belong to the industry activity that belongs to the BBC News industry (the one whose inception time is 1997-11-09)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "TV production company" . ?e <industry> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "activity" . ?e_2 <industry> ?e_1 . ?e_2 <pred:name> "BBC News" . ?e_2 <inception> ?pv . ?pv <pred:date> "1997-11-09"^^xsd:date .   }
Program:
function: Find
inputs: BBC News
function: FilterDate
dependencies: 0
inputs: inception
1997-11-09
=
function: Relate
dependencies: 1
inputs: industry
forward
function: FilterConcept
dependencies: 2
inputs: activity
function: Relate
dependencies: 3
inputs: industry
backward
function: FilterConcept
dependencies: 4
inputs: TV production company
function: Count
dependencies: 5