Question: How many contemporary folk music groups are related to famous Taj Mahal (the one whose ISNI is 0000 0001 1598 8398 or KT Tunstall ?
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> "contemporary folk music" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Taj Mahal" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0001 1598 8398" .  } UNION { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "KT Tunstall" .  } }
Program:
function: Find
inputs: Taj Mahal
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 1598 8398
function: Relate
dependencies: 1
inputs: famous people
backward
function: FilterConcept
dependencies: 2
inputs: contemporary folk music
function: Find
inputs: KT Tunstall
function: Relate
dependencies: 4
inputs: famous people
backward
function: FilterConcept
dependencies: 5
inputs: contemporary folk music
function: Or
dependencies: 3
6
function: Count
dependencies: 7