Question: How many sovereign states are named after the island whose PPP GDP per capita is not 10000 Geary–Khamis dollars?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <named_after> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "island" . ?e_1 <PPP_GDP_per_capita> ?pv . ?pv <pred:unit> "Geary–Khamis dollar" . ?pv <pred:value> ?v . FILTER ( ?v != "10000"^^xsd:double ) .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: PPP GDP per capita
10000 Geary–Khamis dollar
!=
function: FilterConcept
dependencies: 1
inputs: island
function: Relate
dependencies: 2
inputs: named after
backward
function: FilterConcept
dependencies: 3
inputs: sovereign state
function: Count
dependencies: 4