Question: Which one of constitutional monarchies with inflation rate elow 660% has the largest nominal GDP per capita?
Choices:
Morocco
Colombia
Eswatini
Sierra Leone
Namibia
Zimbabwe
Thailand
Mozambique
Germany
Dubai
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: inflation rate
660 percentage
<
function: FilterConcept
dependencies: 1
inputs: constitutional monarchy
function: SelectAmong
dependencies: 2
inputs: nominal GDP per capita
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "constitutional monarchy" . ?e <inflation_rate> ?pv_1 . ?pv_1 <pred:unit> "percentage" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "660"^^xsd:double ) . ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Thailand