Question: Which sovereign state whose official religion is Islam has the smallest land area?
Choices:
Samoa
Russian Soviet Federative Socialist Republic
Kiribati
People's Republic of China
Benin
South Sudan
Weimar Republic
Socialist Federal Republic of Yugoslavia
Switzerland
Saudi Arabia
Answer: Socialist Federal Republic of Yugoslavia
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <official_religion> ?e_1 . ?e_1 <pred:name> "Islam" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Islam
function: Relate
dependencies: 0
inputs: official religion
backward
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: SelectAmong
dependencies: 2
inputs: area
smallest