Question: Does England (participant of War of the Spanish Succession) or the Soviet Union have a greater population?
Choices:
Russian Soviet Federative Socialist Republic
Samoa
Benin
Soviet Union
Weimar Republic
Kiribati
Socialist Federal Republic of Yugoslavia
Cambodia
England
South Sudan
Answer: Soviet Union
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "England" . ?e_1 <participant> ?e . ?e_1 <pred:name> "War of the Spanish Succession" .   } UNION { ?e <pred:name> "Soviet Union" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: War of the Spanish Succession
function: Relate
dependencies: 0
inputs: participant
forward
function: Find
inputs: England
function: And
dependencies: 1
2
function: Find
inputs: Soviet Union
function: SelectBetween
dependencies: 3
4
inputs: population
greater