Question: How many national association football teams whose ranking is greater than 130 or whose ranking is less than 200?
Choices: 97
98
99
100
101
102
103
104
105
106
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 > "130"^^xsd:double ) .  } UNION { ?e <ranking> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "200"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: ranking
130
>
function: FilterConcept
dependencies: 1
inputs: national association football team
function: FindAll
function: FilterNum
dependencies: 3
inputs: ranking
200
<
function: FilterConcept
dependencies: 4
inputs: national association football team
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 102