Question: For the Democracy that has military conflicts with Greece, which has the littlest area?
Choices:
Malawi
Tunisia
Mozambique
Germany
Colombia
Namibia
Sierra Leone
Zimbabwe
France
Bolivia
Program:
function: Find
inputs: Greece
function: Relate
dependencies: 0
inputs: military conflicts
forward
function: FilterConcept
dependencies: 1
inputs: democracy
function: SelectAmong
dependencies: 2
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" . ?e_1 <military_conflicts> ?e . ?e_1 <pred:name> "Greece" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Germany