Question: Which one has a lower Gini coefficient, North Korea or Australia (the one that contains the ethnic group of English people) ?
Choices:
Samoa
South Sudan
Weimar Republic
Switzerland
Kiribati
Cambodia
Russian Soviet Federative Socialist Republic
Australia
Benin
Socialist Federal Republic of Yugoslavia
Program:
function: Find
inputs: North Korea
function: Find
inputs: English people
function: Relate
dependencies: 1
inputs: ethnic group
backward
function: Find
inputs: Australia
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: Gini coefficient
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "North Korea" .  } UNION { ?e <pred:name> "Australia" . ?e <ethnic_group> ?e_1 . ?e_1 <pred:name> "English people" .   } ?e <Gini_coefficient> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Australia