Question: Which republic has more median income between the republics that partially contains the Alps?
Choices:
Mozambique
Bolivia
Zimbabwe
Sierra Leone
Germany
Colombia
Namibia
Austria
Italy
Tunisia
Program:
function: Find
inputs: Alps
function: Relate
dependencies: 0
inputs: partially contains
backward
function: FilterConcept
dependencies: 1
inputs: republic
function: SelectAmong
dependencies: 2
inputs: median income
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "republic" . ?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