Question: Of Japanese prefectures that are administrative divisions of Japan, which occupies the least area?
Choices:
Kanagawa Prefecture
Aichi Prefecture
Kagoshima Prefecture
Hiroshima Prefecture
Gifu Prefecture
Ōsaka Prefecture
Shizuoka Prefecture
Saitama Prefecture
Okinawa Prefecture
Fukuoka Prefecture
Program:
function: Find
inputs: Japan
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: prefecture of Japan
function: SelectAmong
dependencies: 2
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "prefecture of Japan" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Japan" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ōsaka Prefecture