Question: How many sovereign states have a nominal GDP less than 360000000000 euro or that are a part of North Africa?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: nominal GDP
360000000000 euro
<
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Find
inputs: North Africa
function: Relate
dependencies: 3
inputs: part of
backward
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" .  { ?e <nominal_GDP> ?pv . ?pv <pred:unit> "euro" . ?pv <pred:value> ?v . FILTER ( ?v < "360000000000"^^xsd:double ) .  } UNION { ?e <part_of> ?e_1 . ?e_1 <pred:name> "North Africa" .  } }
Answer: 3