Question: How many geographical region have amerikanisch as a demonym, and they are in a military conflict, or conflicts, with Electorate of Saxony?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" .  { ?e <demonym> ?pv . ?pv <pred:value> "amerikanisch" .  } UNION { ?e <military_conflicts> ?e_1 . ?e_1 <pred:name> "Electorate of Saxony" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
amerikanisch
function: FilterConcept
dependencies: 1
inputs: geographic region
function: Find
inputs: Electorate of Saxony
function: Relate
dependencies: 3
inputs: military conflicts
backward
function: FilterConcept
dependencies: 4
inputs: geographic region
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3