Question: How many national association football teams are related to sport association football having ranking greater than 160?
Choices:
19
20
21
22
23
24
25
26
27
28
Answer: 26
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 > "160"^^xsd:double ) . ?e <sport> ?e_1 . ?e_1 <pred:name> "association football" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: ranking
160
>
function: FilterConcept
dependencies: 1
inputs: national association football team
function: Find
inputs: association football
function: Relate
dependencies: 3
inputs: sport
backward
function: FilterConcept
dependencies: 4
inputs: national association football team
function: And
dependencies: 2
5
function: Count
dependencies: 6