Question: How many sovereign states use USD as the currency?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <currency> ?e_1 . ?e_1 <pred:name> "United States dollar" .   }
Program:
function: Find
inputs: United States dollar
function: Relate
dependencies: 0
inputs: currency
backward
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Count
dependencies: 2