Question: How many Italian regions belonging to the country Italy are also Italy's administrative divisions?
Choices: 11
12
13
14
15
16
17
18
19
20
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "region of Italy" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Italy" .  ?e <country> ?e_2 . ?e_2 <pred:name> "Italy" .  }
Program:
function: Find
inputs: Italy
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: region of Italy
function: Find
inputs: Italy
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: region of Italy
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 17