Question: Which Japanese prefecture has the smallest area?
Choices: Shizuoka Prefecture
Miyagi Prefecture
Ōsaka Prefecture
Niigata Prefecture
Okinawa Prefecture
Saitama Prefecture
Aichi Prefecture
Kanagawa Prefecture
Fukushima Prefecture
Kagoshima Prefecture
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "prefecture of Japan" . ?e <country> ?e_1 . ?e_1 <pred:name> "Japan" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Japan
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: prefecture of Japan
function: SelectAmong
dependencies: 2
inputs: area
smallest
Answer: Ōsaka Prefecture