Question: Which historical country that participated in the Boxer Rebellion has the smallest land area?
Choices:
Crown of Aragón
Swedish Empire
Second French Empire
Abyssinia
Empire of Japan
Kingdom of Portugal
German Empire
Spanish Empire
Confederate States of America
Union of South Africa
Program:
function: Find
inputs: Boxer Rebellion
function: Relate
dependencies: 0
inputs: participant
forward
function: FilterConcept
dependencies: 1
inputs: historical country
function: SelectAmong
dependencies: 2
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" . ?e_1 <participant> ?e . ?e_1 <pred:name> "Boxer Rebellion" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: German Empire