Question: How many prefectures in Japan are in the sovereign state where Dragon Ball (the one that derives Dragon Ball: Mystical Adventure) originated?
Choices:
11
12
13
14
15
16
17
18
19
20
Program:
function: Find
inputs: Dragon Ball: Mystical Adventure
function: Relate
dependencies: 0
inputs: based on
forward
function: Find
inputs: Dragon Ball
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country of origin
forward
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: Relate
dependencies: 5
inputs: country
backward
function: FilterConcept
dependencies: 6
inputs: prefecture of Japan
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "prefecture of Japan" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_2 <country_of_origin> ?e_1 . ?e_2 <pred:name> "Dragon Ball" . ?e_3 <based_on> ?e_2 . ?e_3 <pred:name> "Dragon Ball: Mystical Adventure" .   }
Answer: 16