Question: How many national association football teams whose ranking is not 210 or is less than 180?
Choices:
97
98
99
100
101
102
103
104
105
106
Answer: 102
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "national association football team" .  { ?e <ranking> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "210"^^xsd:double ) .  } UNION { ?e <ranking> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "180"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: ranking
210
!=
function: FilterConcept
dependencies: 1
inputs: national association football team
function: FindAll
function: FilterNum
dependencies: 3
inputs: ranking
180
<
function: FilterConcept
dependencies: 4
inputs: national association football team
function: Or
dependencies: 2
5
function: Count
dependencies: 6