Question: How many republics are known to belong to the jurisdiction of California State Senate or to be a part of European Union ?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: California State Senate
function: Relate
dependencies: 0
inputs: applies to jurisdiction
forward
function: FilterConcept
dependencies: 1
inputs: republic
function: Find
inputs: European Union
function: Relate
dependencies: 3
inputs: has part
forward
function: FilterConcept
dependencies: 4
inputs: republic
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> "republic" .  { ?e_1 <applies_to_jurisdiction> ?e . ?e_1 <pred:name> "California State Senate" .  } UNION { ?e_1 <has_part> ?e . ?e_1 <pred:name> "European Union" .  } }
Answer: 6