Question: Which is physically larger: Kingdom of Italy (bordering Austria-Hungary) or Turkey?
Choices:
Kiribati
Weimar Republic
Turkey
Samoa
Switzerland
Cambodia
Russian Soviet Federative Socialist Republic
Kingdom of Italy
Socialist Federal Republic of Yugoslavia
South Sudan
Answer: Turkey
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kingdom of Italy" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Austria-Hungary" .   } UNION { ?e <pred:name> "Turkey" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Austria-Hungary
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Kingdom of Italy
function: And
dependencies: 1
2
function: Find
inputs: Turkey
function: SelectBetween
dependencies: 3
4
inputs: area
greater