Question: How many republic are a part of an administrative division, within thge administrative territorial entity, that is officially called União Europeia?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "republic" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "administrative territorial entity" . ?e_1 <official_name> ?pv . ?pv <pred:value> "União Europeia" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
União Europeia
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: Relate
dependencies: 2
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 3
inputs: republic
function: Count
dependencies: 4
Answer: 6