Question: How many not-for-profit organizations are designated by ISNI number 0000 0000 9466 0552 or are based in Nagasaki?
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> "nonprofit organization" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0000 9466 0552" .  } UNION { ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> "Nagasaki" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0000 9466 0552
function: FilterConcept
dependencies: 1
inputs: nonprofit organization
function: Find
inputs: Nagasaki
function: Relate
dependencies: 3
inputs: location of formation
backward
function: FilterConcept
dependencies: 4
inputs: nonprofit organization
function: Or
dependencies: 2
5
function: Count
dependencies: 6