Question: How many bands have an ISNI 0000 0001 2259 8822 or have composed by Prince which has Rajendra Nath in its cast?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 2259 8822
function: FilterConcept
dependencies: 1
inputs: band
function: Find
inputs: Rajendra Nath
function: Relate
dependencies: 3
inputs: cast member
backward
function: Find
inputs: Prince
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: composer
forward
function: FilterConcept
dependencies: 7
inputs: band
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "band" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0001 2259 8822" .  } UNION { ?e_1 <composer> ?e . ?e_1 <pred:name> "Prince" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Rajendra Nath" .  } }
Answer: 2