Question: How many languages are the official languages of Norway or use swe as the ISO 639-2 code ?
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" .  { ?e_1 <official_language> ?e . ?e_1 <pred:name> "Norway" .  } UNION { ?e <ISO_639-2_code> ?pv . ?pv <pred:value> "swe" .  } }
Program:
function: Find
inputs: Norway
function: Relate
dependencies: 0
inputs: official language
forward
function: FilterConcept
dependencies: 1
inputs: language
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISO 639-2 code
swe
function: FilterConcept
dependencies: 4
inputs: language
function: Or
dependencies: 2
5
function: Count
dependencies: 6