Question: How many democratic entities observe as a public holiday Serbia's Christian holy day?
Choices:
5
6
7
8
9
10
11
12
13
14
Answer: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" . ?e <public_holiday> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "Christian holy day" . ?e_2 <public_holiday> ?e_1 . ?e_2 <pred:name> "Serbia" .   }
Program:
function: Find
inputs: Serbia
function: Relate
dependencies: 0
inputs: public holiday
forward
function: FilterConcept
dependencies: 1
inputs: Christian holy day
function: Relate
dependencies: 2
inputs: public holiday
backward
function: FilterConcept
dependencies: 3
inputs: democracy
function: Count
dependencies: 4