Question: The nominal GDP exceeds 590000000 USD in how many sovereign states?
Choices:
120
121
122
123
124
125
126
127
128
129
Answer: 121
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 > "590000000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: nominal GDP
590000000 United States dollar
>
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Count
dependencies: 2