Question: What is the number of language families that have the ISO 639-3 code sqi or the WALS lect code kug?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "language family" .  { ?e <ISO_639-3_code> ?pv . ?pv <pred:value> "sqi" .  } UNION { ?e <WALS_lect_code> ?pv . ?pv <pred:value> "kug" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 639-3 code
sqi
function: FilterConcept
dependencies: 1
inputs: language family
function: FindAll
function: FilterStr
dependencies: 3
inputs: WALS lect code
kug
function: FilterConcept
dependencies: 4
inputs: language family
function: Or
dependencies: 2
5
function: Count
dependencies: 6