Question: What is the number of national association football teams that have a ranking other than 0
Choices:
101
102
103
104
105
106
107
108
109
110
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 != "0"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: ranking
0
!=
function: FilterConcept
dependencies: 1
inputs: national association football team
function: Count
dependencies: 2