Question: How many associations have I. M. Pei as their member, or ISNI 0000 0001 2248 733X?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0001 2248 733X" .  } UNION { ?e_1 <member_of> ?e . ?e_1 <pred:name> "I. M. Pei" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 2248 733X
function: FilterConcept
dependencies: 1
inputs: association
function: Find
inputs: I. M. Pei
function: Relate
dependencies: 3
inputs: member of
forward
function: FilterConcept
dependencies: 4
inputs: association
function: Or
dependencies: 2
5
function: Count
dependencies: 6