Question: How many states are located inside the administrative territorial entity known by a short name of EU?
Choices: 7
8
9
10
11
12
13
14
15
16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "administrative territorial entity" . ?e_1 <short_name> ?pv . ?pv <pred:value> "EU" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
EU
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 3
inputs: state
function: Count
dependencies: 4
Answer: 7