Question: What are the number of schools whose DfE URN is 101162 and those that has the occupation of astronomer ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "school" . ?e <DfE_URN> ?pv . ?pv <pred:value> "101162" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "astronomer" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: DfE URN
101162
function: FilterConcept
dependencies: 1
inputs: school
function: Find
inputs: astronomer
function: Relate
dependencies: 3
inputs: occupation
backward
function: FilterConcept
dependencies: 4
inputs: school
function: And
dependencies: 2
5
function: Count
dependencies: 6