Question: Which has the largest PPP GDP per capita among the republics whose total fertility rate is less than 1.3?
Choices:
Latvia
Belarus
Italy
Germany
Colombia
Sierra Leone
Zimbabwe
Slovakia
Mozambique
Namibia
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: total fertility rate
1.3
<
function: FilterConcept
dependencies: 1
inputs: republic
function: SelectAmong
dependencies: 2
inputs: PPP GDP per capita
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "republic" . ?e <total_fertility_rate> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "1.3"^^xsd:double ) . ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Italy