Question: How many provinces of Canada use the currency that have a price relation of 1 to 0.81 United States dollars?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Canada" . ?e <currency> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "currency" . ?e_1 <price> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "0.81"^^xsd:double .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: price
0.81 United States dollar
=
function: FilterConcept
dependencies: 1
inputs: currency
function: Relate
dependencies: 2
inputs: currency
backward
function: FilterConcept
dependencies: 3
inputs: province of Canada
function: Count
dependencies: 4
Answer: 3