Question: How many democracies are there with the basic government form of republic are there with an uneployment rate not equal to 5 percent?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: Find
inputs: republic
function: Relate
dependencies: 0
inputs: basic form of government
backward
function: FilterConcept
dependencies: 1
inputs: democracy
function: FindAll
function: FilterNum
dependencies: 3
inputs: unemployment rate
5 percentage
!=
function: FilterConcept
dependencies: 4
inputs: democracy
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" . ?e <basic_form_of_government> ?e_1 . ?e_1 <pred:name> "republic" .  ?e <unemployment_rate> ?pv . ?pv <pred:unit> "percentage" . ?pv <pred:value> ?v . FILTER ( ?v != "5"^^xsd:double ) .  }
Answer: 2