Question: What number of agents own BBC News (the one that uses the language English)?
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> "agent" . ?e_1 <owned_by> ?e . ?e_1 <pred:name> "BBC News" . ?e_1 <language_used> ?e_2 . ?e_2 <pred:name> "English" .   }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language used
backward
function: Find
inputs: BBC News
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: owned by
forward
function: FilterConcept
dependencies: 4
inputs: agent
function: Count
dependencies: 5