Question: Which one of Japanese prefectures, the twinned administrative body of Hawaii (demonym Hawaiian) covers the smallest area ?
Choices:
Fukuoka Prefecture
Hiroshima Prefecture
Niigata Prefecture
Saitama Prefecture
Miyagi Prefecture
Kanagawa Prefecture
Chiba Prefecture
Fukushima Prefecture
Ōsaka Prefecture
Okinawa Prefecture
Program:
function: Find
inputs: Hawaii
function: FilterStr
dependencies: 0
inputs: demonym
Hawaiian
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 2
inputs: prefecture of Japan
function: SelectAmong
dependencies: 3
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "prefecture of Japan" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Hawaii" . ?e_1 <demonym> ?pv_1 . ?pv_1 <pred:value> "Hawaiian" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Okinawa Prefecture