Question: Does El Salvador or People's Republic of China have a greater area?
Choices:
Switzerland
El Salvador
People's Republic of China
Benin
Russian Soviet Federative Socialist Republic
Socialist Federal Republic of Yugoslavia
Cambodia
Samoa
South Sudan
Weimar Republic
Program:
function: Find
inputs: El Salvador
function: Find
inputs: People's Republic of China
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "El Salvador" .  } UNION { ?e <pred:name> "People's Republic of China" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: People's Republic of China