Question: How many democracies have a nominal GDP that is more than 105000000 United States dollars or citizens who are the Ougandais people?
Choices: 29
30
31
32
33
34
35
36
37
38
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" .  { ?e <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> ?v . FILTER ( ?v > "105000000"^^xsd:double ) .  } UNION { ?e <demonym> ?pv . ?pv <pred:value> "Ougandais" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: nominal GDP
105000000 United States dollar
>
function: FilterConcept
dependencies: 1
inputs: democracy
function: FindAll
function: FilterStr
dependencies: 3
inputs: demonym
Ougandais
function: FilterConcept
dependencies: 4
inputs: democracy
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 34