Question: Which area is smaller, Republic of the Congo (the one that has the capital Kinshasa) or North Macedonia?
Choices:
North Macedonia
Russian Soviet Federative Socialist Republic
Switzerland
Republic of the Congo
Weimar Republic
South Sudan
Kiribati
Benin
Samoa
Socialist Federal Republic of Yugoslavia
Answer: North Macedonia
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Republic of the Congo" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Kinshasa" .   } UNION { ?e <pred:name> "North Macedonia" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Kinshasa
function: Relate
dependencies: 0
inputs: capital of
forward
function: Find
inputs: Republic of the Congo
function: And
dependencies: 1
2
function: Find
inputs: North Macedonia
function: SelectBetween
dependencies: 3
4
inputs: area
less