Question: What first-level administrative-country subdivision shares a border with the capital whose demonym is KL-ite?
Choices:
Upper Austria
England
Australian Capital Territory
Podlaskie Voivodeship
Canton of Valais
Selangor
Greater Poland Voivodeship
Sonora
Lublin Voivodeship
México
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
KL-ite
function: FilterConcept
dependencies: 1
inputs: capital
function: Relate
dependencies: 2
inputs: shares border with
backward
function: FilterConcept
dependencies: 3
inputs: first-level administrative country subdivision
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "capital" . ?e_1 <demonym> ?pv . ?pv <pred:value> "KL-ite" .   }
Answer: Selangor