Question: How many national-association football teams have a ranking of less than 210 and are related to sport- association football?
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 < "210"^^xsd:double ) . ?e <sport> ?e_1 . ?e_1 <pred:name> "association football" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: ranking
210
<
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