Question: Which sovereign state has the Dewey Decimal Classification 2--5955 and has a population that is not equal to 480000?
Choices:
Guyana
Suriname
Brunei
Mali
Kiribati
Switzerland
Weimar Republic
Afghanistan
Angola
Burkina Faso
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--5955
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
480000
!=
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--5955" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v . FILTER ( ?v != "480000"^^xsd:double ) .  }
Answer: Brunei