Question: Does Comoros or Ireland (whose number of out-of-school children is 4145) have the lower PPP GDP?
Choices:
South Sudan
Kiribati
Socialist Federal Republic of Yugoslavia
Switzerland
Ireland
Russian Soviet Federative Socialist Republic
Cambodia
Benin
Weimar Republic
Comoros
Answer: Comoros
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Comoros" . } UNION { ?e <pred:name> "Ireland" . ?e <number_of_out-of-school_children> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "4145"^^xsd:double . } ?e <GDP_(PPP)> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Comoros
function: Find
inputs: Ireland
function: FilterNum
dependencies: 1
inputs: number of out-of-school children
4145
=
function: SelectBetween
dependencies: 0
2
inputs: GDP (PPP)
less