Question: Which area is larger, German Democratic Republic or Empire of Japan?
Choices:
Abyssinia
German Democratic Republic
Kingdom of Portugal
Swedish Empire
Confederate States of America
Second French Empire
Crown of Aragón
Empire of Japan
Qing dynasty
Union of South Africa
Program:
function: Find
inputs: German Democratic Republic
function: Find
inputs: Empire of Japan
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "German Democratic Republic" .  } UNION { ?e <pred:name> "Empire of Japan" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Empire of Japan