Question: How many ethnic groups have the native label Deutschamerikaner or the demonym german?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ethnic group" .  { ?e <native_label> ?pv . ?pv <pred:value> "Deutschamerikaner" .  } UNION { ?e <demonym> ?pv . ?pv <pred:value> "german" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Deutschamerikaner
function: FilterConcept
dependencies: 1
inputs: ethnic group
function: FindAll
function: FilterStr
dependencies: 3
inputs: demonym
german
function: FilterConcept
dependencies: 4
inputs: ethnic group
function: Or
dependencies: 2
5
function: Count
dependencies: 6