Question: How many people are associated with ISNI number 0000 0001 2100 9715 or are marriage partners of Pamela Anderson?
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> "human" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0001 2100 9715" .  } UNION { ?e <spouse> ?e_1 . ?e_1 <pred:name> "Pamela Anderson" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 2100 9715
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Pamela Anderson
function: Relate
dependencies: 3
inputs: spouse
backward
function: FilterConcept
dependencies: 4
inputs: human
function: Or
dependencies: 2
5
function: Count
dependencies: 6