Question: How many prefectures of Japan are an administrative division of Japan?
Choices:
13
14
15
16
17
18
19
20
21
22
Answer: 16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "prefecture of Japan" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Japan" .   }
Program:
function: Find
inputs: Japan
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: prefecture of Japan
function: Count
dependencies: 2