Question: Which constitutional monarchy whose life expectancy is not 14.2 year has the highest PPP GDP per capita?
Choices:
Sierra Leone
Morocco
Tunisia
Eswatini
Thailand
Germany
Zimbabwe
Mozambique
Colombia
Namibia
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: life expectancy
14.2 year
!=
function: FilterConcept
dependencies: 1
inputs: constitutional monarchy
function: SelectAmong
dependencies: 2
inputs: PPP GDP per capita
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "constitutional monarchy" . ?e <life_expectancy> ?pv_1 . ?pv_1 <pred:unit> "year" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "14.2"^^xsd:double ) . ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Thailand