Question: Which one has less area, the German Democratic Republic or the German Empire (the one that has military conflicts with British Raj)?
Choices:
Spanish Empire
Kingdom of Portugal
German Democratic Republic
Second French Empire
Union of South Africa
Swedish Empire
Abyssinia
Crown of Aragón
Qing dynasty
Confederate States of America
Answer: German Democratic Republic
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "German Democratic Republic" .  } UNION { ?e <pred:name> "German Empire" . ?e <military_conflicts> ?e_1 . ?e_1 <pred:name> "British Raj" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: German Democratic Republic
function: Find
inputs: British Raj
function: Relate
dependencies: 1
inputs: military conflicts
backward
function: Find
inputs: German Empire
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less