Question: Does Chad or Romania (the one whose total fertility rate is 1.27) have more total reserves?
Choices:
Switzerland
Romania
South Sudan
Kiribati
Weimar Republic
Cambodia
Chad
Samoa
Benin
Russian Soviet Federative Socialist Republic
Program:
function: Find
inputs: Chad
function: Find
inputs: Romania
function: FilterNum
dependencies: 1
inputs: total fertility rate
1.27
=
function: SelectBetween
dependencies: 0
2
inputs: total reserves
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chad" . } UNION { ?e <pred:name> "Romania" . ?e <total_fertility_rate> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "1.27"^^xsd:double . } ?e <total_reserves> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Romania