Question: How many sounds are associated with famous people from a rock band whose Giphy username is pearljam ?
Choices:
3
4
5
6
7
8
9
10
11
12
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Giphy username
pearljam
function: FilterConcept
dependencies: 1
inputs: rock band
function: Relate
dependencies: 2
inputs: famous people
backward
function: FilterConcept
dependencies: 3
inputs: sound
function: Count
dependencies: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sound" . ?e <famous_people> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "rock band" . ?e_1 <Giphy_username> ?pv . ?pv <pred:value> "pearljam" .   }
Answer: 3