Question: How many countries are the geographic distribution of Sri Lankan Tamils and use euro as the currency?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "country" . ?e_1 <geographic_distribution> ?e . ?e_1 <pred:name> "Sri Lankan Tamils" .  ?e <currency> ?e_2 . ?e_2 <pred:name> "euro" .  }
Program:
function: Find
inputs: Sri Lankan Tamils
function: Relate
dependencies: 0
inputs: geographic distribution
forward
function: FilterConcept
dependencies: 1
inputs: country
function: Find
inputs: euro
function: Relate
dependencies: 3
inputs: currency
backward
function: FilterConcept
dependencies: 4
inputs: country
function: And
dependencies: 2
5
function: Count
dependencies: 6