Question: How many national association football teams whose ranking is not equal to 150 and whose ranking is less than 80?
Choices:
82
83
84
85
86
87
88
89
90
91
Answer: 91
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 != "150"^^xsd:double ) . ?e <ranking> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "80"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: ranking
150
!=
function: FilterConcept
dependencies: 1
inputs: national association football team
function: FindAll
function: FilterNum
dependencies: 3
inputs: ranking
80
<
function: FilterConcept
dependencies: 4
inputs: national association football team
function: And
dependencies: 2
5
function: Count
dependencies: 6