Question: Which one among first-level administrative county subdivisions, located next to or in the Indian Ocean, is the smallest by area ?
Choices:
Upper Austria
South Australia
Podlaskie Voivodeship
Western Australia
Punjab
Minas Gerais
Chiapas
Greater Poland Voivodeship
New South Wales
Lublin Voivodeship
Program:
function: Find
inputs: Indian Ocean
function: Relate
dependencies: 0
inputs: located in or next to body of water
backward
function: FilterConcept
dependencies: 1
inputs: first-level administrative country subdivision
function: SelectAmong
dependencies: 2
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> "Indian Ocean" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: South Australia