Question: How many sovereign states either have a nominal GDP not equal to 100000000000 United States dollars or are the birthplace of Kim Manners?
Choices:
123
124
125
126
127
128
129
130
131
132
Answer: 128
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> "United States dollar" . ?pv <pred:value> ?v . FILTER ( ?v != "100000000000"^^xsd:double ) .  } UNION { ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Kim Manners" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: nominal GDP
100000000000 United States dollar
!=
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Find
inputs: Kim Manners
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: Or
dependencies: 2
5
function: Count
dependencies: 6