Question: How many islands use the language whose WALS lect code is pan as the official language?
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> "island" . ?e <official_language> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "language" . ?e_1 <WALS_lect_code> ?pv . ?pv <pred:value> "pan" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: WALS lect code
pan
function: FilterConcept
dependencies: 1
inputs: language
function: Relate
dependencies: 2
inputs: official language
backward
function: FilterConcept
dependencies: 3
inputs: island
function: Count
dependencies: 4