Question: Regarding the historical counties which have a common border with the Russian Empire, which county has the greatest amount of area?
Choices:
Swedish Empire
Qing dynasty
Confederate States of America
Kingdom of Portugal
Union of South Africa
Empire of Japan
German Empire
Crown of Aragón
Spanish Empire
Second French Empire
Answer: Qing dynasty
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Russian Empire" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Russian Empire
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: historical country
function: SelectAmong
dependencies: 2
inputs: area
largest