Question: How many historical countries do we know with the native label ᡩᠠᡳᠴᡳᠩ ᡤᡠᡵᡠᠨ or with the demonym aragonesa ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" .  { ?e <demonym> ?pv . ?pv <pred:value> "aragonesa" .  } UNION { ?e <native_label> ?pv . ?pv <pred:value> "ᡩᠠᡳᠴᡳᠩ ᡤᡠᡵᡠᠨ" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
aragonesa
function: FilterConcept
dependencies: 1
inputs: historical country
function: FindAll
function: FilterStr
dependencies: 3
inputs: native label
ᡩᠠᡳᠴᡳᠩ ᡤᡠᡵᡠᠨ
function: FilterConcept
dependencies: 4
inputs: historical country
function: Or
dependencies: 2
5
function: Count
dependencies: 6