Question: Which constitutional monarchy whose Human Development Index is greater than 0.3 has the smallest PPP GDP per capita?
Choices:
Morocco
Tunisia
Namibia
Zimbabwe
Sierra Leone
Mozambique
Germany
Eswatini
Dubai
Thailand
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: Human Development Index
0.3
>
function: FilterConcept
dependencies: 1
inputs: constitutional monarchy
function: SelectAmong
dependencies: 2
inputs: PPP GDP per capita
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "constitutional monarchy" . ?e <Human_Development_Index> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > "0.3"^^xsd:double ) . ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Morocco