Question: What number of teams in the national football association rank below 170 or are not 50?
Choices: 101
102
103
104
105
106
107
108
109
110
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 < "170"^^xsd:double ) .  } UNION { ?e <ranking> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "50"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: ranking
170
<
function: FilterConcept
dependencies: 1
inputs: national association football team
function: FindAll
function: FilterNum
dependencies: 3
inputs: ranking
50
!=
function: FilterConcept
dependencies: 4
inputs: national association football team
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 102