Question: Among the democracies whose compulsory education (minimum age) is not equal to 4.7 years old,which one has the smallest PPP GDP per capita ?
Choices:
Zimbabwe
Colombia
India
Sierra Leone
Tunisia
Italy
Germany
France
Mozambique
Indonesia
Answer: Zimbabwe
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" . ?e <compulsory_education_(minimum_age)> ?pv_1 . ?pv_1 <pred:unit> "years old" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "4.7"^^xsd:double ) . ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: compulsory education (minimum age)
4.7 years old
!=
function: FilterConcept
dependencies: 1
inputs: democracy
function: SelectAmong
dependencies: 2
inputs: PPP GDP per capita
smallest