Question: How many states in Germany either have the official name of Nordrhein-Westfalen or the native label of Rheinland-Pfalz?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of Germany" .  { ?e <official_name> ?pv . ?pv <pred:value> "Nordrhein-Westfalen" .  } UNION { ?e <native_label> ?pv . ?pv <pred:value> "Rheinland-Pfalz" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
Nordrhein-Westfalen
function: FilterConcept
dependencies: 1
inputs: state of Germany
function: FindAll
function: FilterStr
dependencies: 3
inputs: native label
Rheinland-Pfalz
function: FilterConcept
dependencies: 4
inputs: state of Germany
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2