Question: What is the number of democracies that are members of the African Development Bank or have a population not equal to 4400?
Choices: 35
36
37
38
39
40
41
42
43
44
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" .  { ?e <member_of> ?e_1 . ?e_1 <pred:name> "African Development Bank" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "4400"^^xsd:double ) .  } }
Program:
function: Find
inputs: African Development Bank
function: Relate
dependencies: 0
inputs: member of
backward
function: FilterConcept
dependencies: 1
inputs: democracy
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
4400
!=
function: FilterConcept
dependencies: 4
inputs: democracy
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 35