Question: How many reggae pieces have their origin in a state whose demonym is جمايكية ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "reggae" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "state" . ?e_1 <demonym> ?pv_1 . ?pv_1 <pred:value> "جمايكية" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
جمايكية
function: FilterConcept
dependencies: 1
inputs: state
function: Relate
dependencies: 2
inputs: country of origin
backward
function: FilterConcept
dependencies: 3
inputs: reggae
function: Count
dependencies: 4