Question: How many national association football teams are ranked less than 120 and greater than 110?
Choices: 45
46
47
48
49
50
51
52
53
54
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 < "120"^^xsd:double ) . ?e <ranking> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > "110"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: ranking
120
<
function: FilterConcept
dependencies: 1
inputs: national association football team
function: FindAll
function: FilterNum
dependencies: 3
inputs: ranking
110
>
function: FilterConcept
dependencies: 4
inputs: national association football team
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 50