Question: How many rock bands whose Giphy username is pearljam or whose Twitter username is loslobosband?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Giphy username
pearljam
function: FilterConcept
dependencies: 1
inputs: rock band
function: FindAll
function: FilterStr
dependencies: 3
inputs: Twitter username
loslobosband
function: FilterConcept
dependencies: 4
inputs: rock band
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "rock band" .  { ?e <Giphy_username> ?pv . ?pv <pred:value> "pearljam" .  } UNION { ?e <Twitter_username> ?pv . ?pv <pred:value> "loslobosband" .  } }
Answer: 2