Question: How many democracies have an IOC country code of SOM or a nominal GDP less than 9540000 United States dollars?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IOC country code
SOM
function: FilterConcept
dependencies: 1
inputs: democracy
function: FindAll
function: FilterNum
dependencies: 3
inputs: nominal GDP
9540000 United States dollar
<
function: FilterConcept
dependencies: 4
inputs: democracy
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> "democracy" .  { ?e <IOC_country_code> ?pv . ?pv <pred:value> "SOM" .  } UNION { ?e <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> ?v . FILTER ( ?v < "9540000"^^xsd:double ) .  } }
Answer: 1