Question: Which one among the unitary states whose nominal GDP is less than 660000000000 United States dollars, has the largest mains voltage?
Choices:
Kosovo
Croatia
Finland
Kazakhstan
Greece
Moldova
Monaco
Bulgaria
Fiji
Lithuania
Answer: Fiji
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "unitary state" . ?e <nominal_GDP> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "660000000000"^^xsd:double ) . ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: nominal GDP
660000000000 United States dollar
<
function: FilterConcept
dependencies: 1
inputs: unitary state
function: SelectAmong
dependencies: 2
inputs: mains voltage
largest