Question: Does Nicaragua or Ireland (whose population is 2877300) have the higher mains voltage?
Choices:
Weimar Republic
Cambodia
Russian Soviet Federative Socialist Republic
Kiribati
Benin
Socialist Federal Republic of Yugoslavia
Samoa
Nicaragua
Ireland
Switzerland
Program:
function: Find
inputs: Nicaragua
function: Find
inputs: Ireland
function: FilterNum
dependencies: 1
inputs: population
2877300
=
function: SelectBetween
dependencies: 0
2
inputs: mains voltage
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nicaragua" . } UNION { ?e <pred:name> "Ireland" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2877300"^^xsd:double . } ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ireland