Question: What is the number of public universities whose ISNI is 0000 0000 9621 4564 or headquarters is located in Cape Town?
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> "public university" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0000 9621 4564" .  } UNION { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Cape Town" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0000 9621 4564
function: FilterConcept
dependencies: 1
inputs: public university
function: Find
inputs: Cape Town
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: public university
function: Or
dependencies: 2
5
function: Count
dependencies: 6