Question: how many language families are there that are either the language used by iOS or is the official language of Kosovo
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> "language family" .  { ?e_1 <language_of_work_or_name> ?e . ?e_1 <pred:name> "iOS" .  } UNION { ?e_1 <official_language> ?e . ?e_1 <pred:name> "Kosovo" .  } }
Program:
function: Find
inputs: iOS
function: Relate
dependencies: 0
inputs: language of work or name
forward
function: FilterConcept
dependencies: 1
inputs: language family
function: Find
inputs: Kosovo
function: Relate
dependencies: 3
inputs: official language
forward
function: FilterConcept
dependencies: 4
inputs: language family
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2