Question: How many sovereign states do we know that come with a nominal GDP over 850,000,000,000 USD, and with the inflation rate over 780 percent?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> ?v . FILTER ( ?v > "850000000000"^^xsd:double ) . ?e <inflation_rate> ?pv_1 . ?pv_1 <pred:unit> "percentage" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > "780"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: nominal GDP
850000000000 United States dollar
>
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: FindAll
function: FilterNum
dependencies: 3
inputs: inflation rate
780 percentage
>
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: And
dependencies: 2
5
function: Count
dependencies: 6