Question: In the democracies that are a member of the African Union, which one has the largest area?
Choices:
Zambia
Uganda
Liberia
Mozambique
Sierra Leone
Eritrea
Sudan
Tunisia
Togo
Malawi
Program:
function: Find
inputs: African Union
function: Relate
dependencies: 0
inputs: member of
backward
function: FilterConcept
dependencies: 1
inputs: democracy
function: SelectAmong
dependencies: 2
inputs: area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" . ?e <member_of> ?e_1 . ?e_1 <pred:name> "African Union" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sudan