Question: Of states with out-of-school children numbering less than 50000000, which one of them has the lowest mains voltage?
Choices:
Denmark
Finland
Bulgaria
Croatia
Sweden
Saint Kitts and Nevis
Luxembourg
Fiji
Moldova
Cuba
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of out-of-school children
50000000
<
function: FilterConcept
dependencies: 1
inputs: state
function: SelectAmong
dependencies: 2
inputs: mains voltage
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <number_of_out-of-school_children> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "50000000"^^xsd:double ) . ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Cuba