Question: How many rock bands are famous for pop music or have the Twitter username loslobosband?
Choices:
11
12
13
14
15
16
17
18
19
20
Program:
function: Find
inputs: pop music
function: Relate
dependencies: 0
inputs: famous people
forward
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_1 <famous_people> ?e . ?e_1 <pred:name> "pop music" .  } UNION { ?e <Twitter_username> ?pv . ?pv <pred:value> "loslobosband" .  } }
Answer: 15