Question: How many association football clubs are in a country whose country inflation rate is greater than -10 percentage?
Choices:
16
17
18
19
20
21
22
23
24
25
Answer: 19
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "country" . ?e_1 <inflation_rate> ?pv . ?pv <pred:unit> "percentage" . ?pv <pred:value> ?v . FILTER ( ?v > "-10"^^xsd:double ) .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: inflation rate
-10 percentage
>
function: FilterConcept
dependencies: 1
inputs: country
function: Relate
dependencies: 2
inputs: country
backward
function: FilterConcept
dependencies: 3
inputs: association football club
function: Count
dependencies: 4