Question: How many national association football teams are there whose ranking is higher than 50 and not equal to 30 ?
Choices:
90
91
92
93
94
95
96
97
98
99
Answer: 90
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 > "50"^^xsd:double ) . ?e <ranking> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "30"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: ranking
50
>
function: FilterConcept
dependencies: 1
inputs: national association football team
function: FindAll
function: FilterNum
dependencies: 3
inputs: ranking
30
!=
function: FilterConcept
dependencies: 4
inputs: national association football team
function: And
dependencies: 2
5
function: Count
dependencies: 6