Question: Which historical country having military conflicts with British Raj has the smallest area?
Choices:
German Empire
Abyssinia
Confederate States of America
Union of South Africa
Swedish Empire
Kingdom of Portugal
Mongol Empire
Crown of Aragón
Qing dynasty
Spanish Empire
Program:
function: Find
inputs: British Raj
function: Relate
dependencies: 0
inputs: military conflicts
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 <military_conflicts> ?e . ?e_1 <pred:name> "British Raj" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: German Empire