Question: Among the democracy that partially contains Alps, Which has the largest median income?
Choices:
Sierra Leone
Colombia
Zimbabwe
Italy
Austria
France
Tunisia
Namibia
Bolivia
Mozambique
Program:
function: Find
inputs: Alps
function: Relate
dependencies: 0
inputs: partially contains
backward
function: FilterConcept
dependencies: 1
inputs: democracy
function: SelectAmong
dependencies: 2
inputs: median income
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" . ?e <partially_contains> ?e_1 . ?e_1 <pred:name> "Alps" .  ?e <median_income> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Austria