Question: How many rock music renditions are the origin of the name mathcore or originate in the United Kingdom?
Choices:
17
18
19
20
21
22
23
24
25
26
Program:
function: Find
inputs: mathcore
function: Relate
dependencies: 0
inputs: named after
forward
function: FilterConcept
dependencies: 1
inputs: rock music
function: Find
inputs: United Kingdom
function: Relate
dependencies: 3
inputs: country of origin
backward
function: FilterConcept
dependencies: 4
inputs: rock music
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 music" .  { ?e_1 <named_after> ?e . ?e_1 <pred:name> "mathcore" .  } UNION { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  } }
Answer: 26