Question: Which has a lower mains voltage, Brunei or Singapore (the one whose nominal GDP is 20897630201.1573 United States dollar)?
Choices:
Brunei
Russian Soviet Federative Socialist Republic
Singapore
Benin
Switzerland
Kiribati
Weimar Republic
Socialist Federal Republic of Yugoslavia
South Sudan
Samoa
Answer: Singapore
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brunei" . } UNION { ?e <pred:name> "Singapore" . ?e <nominal_GDP> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "20897630201.1573"^^xsd:double . } ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Brunei
function: Find
inputs: Singapore
function: FilterNum
dependencies: 1
inputs: nominal GDP
20897630201.1573 United States dollar
=
function: SelectBetween
dependencies: 0
2
inputs: mains voltage
less