Question: How many unitary states whose nominal GDP per capita is not 49000 USD?
Choices:
13
14
15
16
17
18
19
20
21
22
Answer: 14
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "unitary state" . ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> ?v . FILTER ( ?v != "49000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: nominal GDP per capita
49000 United States dollar
!=
function: FilterConcept
dependencies: 1
inputs: unitary state
function: Count
dependencies: 2