Question: For the band with ISNI of 0000 0001 1090 8109, how many in punk rock are its genre?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "punk rock" . ?e_1 <genre> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "band" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0001 1090 8109" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 1090 8109
function: FilterConcept
dependencies: 1
inputs: band
function: Relate
dependencies: 2
inputs: genre
forward
function: FilterConcept
dependencies: 3
inputs: punk rock
function: Count
dependencies: 4