Question: Which area is smaller, Korea or Bohemia (the one that has military conflicts with Swedish Empire)?
Choices:
Africa
Korea
Piedmont
Bohemia
Atlantic Canada
Transylvania
Pacific Ocean
Southern California
Lake District
South America
Answer: Bohemia
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Korea" .  } UNION { ?e <pred:name> "Bohemia" . ?e <military_conflicts> ?e_1 . ?e_1 <pred:name> "Swedish Empire" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Korea
function: Find
inputs: Swedish Empire
function: Relate
dependencies: 1
inputs: military conflicts
backward
function: Find
inputs: Bohemia
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less