Question: How many secondary schools are in South Carolina or have an ISNI of 0000 0000 9206 9232?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "secondary school" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "South Carolina" .  } UNION { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0000 9206 9232" .  } }
Program:
function: Find
inputs: South Carolina
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: secondary school
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISNI
0000 0000 9206 9232
function: FilterConcept
dependencies: 4
inputs: secondary school
function: Or
dependencies: 2
5
function: Count
dependencies: 6