Question: Of republics with under 750000 inhabitants, which possesses the highest mains voltage power?
Choices:
Colombia
Germany
Tunisia
Sierra Leone
Malawi
Italy
Zimbabwe
Seychelles
Bolivia
Namibia
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
750000
<
function: FilterConcept
dependencies: 1
inputs: republic
function: SelectAmong
dependencies: 2
inputs: mains voltage
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "republic" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "750000"^^xsd:double ) . ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Seychelles