Question: How many states in Germany were founded before 1946 or have the demonym of Bayerinnen?
Choices:
2
3
4
5
6
7
8
9
10
11
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1946
<
function: FilterConcept
dependencies: 1
inputs: state of Germany
function: FindAll
function: FilterStr
dependencies: 3
inputs: demonym
Bayerinnen
function: FilterConcept
dependencies: 4
inputs: state of Germany
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of Germany" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1946 ) .  } UNION { ?e <demonym> ?pv . ?pv <pred:value> "Bayerinnen" .  } }
Answer: 3