Question: What number of language groups include the official Kosovo language or have an IETF language tag of sq?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "language family" .  { ?e_1 <official_language> ?e . ?e_1 <pred:name> "Kosovo" .  } UNION { ?e <IETF_language_tag> ?pv . ?pv <pred:value> "sq" .  } }
Program:
function: Find
inputs: Kosovo
function: Relate
dependencies: 0
inputs: official language
forward
function: FilterConcept
dependencies: 1
inputs: language family
function: FindAll
function: FilterStr
dependencies: 3
inputs: IETF language tag
sq
function: FilterConcept
dependencies: 4
inputs: language family
function: Or
dependencies: 2
5
function: Count
dependencies: 6