Question: Which sovereign state founding the Council of Europe has the highest median income?
Choices:
South Sudan
Weimar Republic
Ireland
Belgium
Samoa
Socialist Federal Republic of Yugoslavia
Cambodia
Russian Soviet Federative Socialist Republic
United Kingdom
Kiribati
Program:
function: Find
inputs: Council of Europe
function: Relate
dependencies: 0
inputs: found
backward
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: SelectAmong
dependencies: 2
inputs: median income
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <found> ?e_1 . ?e_1 <pred:name> "Council of Europe" .  ?e <median_income> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: United Kingdom