Question: What prefecture in Japan that has the capital Hiroshima (the one whose population is 1154391)?
Choices:
Aichi Prefecture
Fukuoka Prefecture
Chiba Prefecture
Nagano Prefecture
Ōsaka Prefecture
Hiroshima Prefecture
Kanagawa Prefecture
Miyagi Prefecture
Fukushima Prefecture
Okinawa Prefecture
Program:
function: Find
inputs: Hiroshima
function: FilterNum
dependencies: 0
inputs: population
1154391
=
function: Relate
dependencies: 1
inputs: capital
backward
function: FilterConcept
dependencies: 2
inputs: prefecture of Japan
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "prefecture of Japan" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Hiroshima" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1154391"^^xsd:double .   }
Answer: Hiroshima Prefecture