Question: Which has less marriageable age, Singapore that is the geographic distribution of Overseas Chinese or Brunei?
Choices:
Socialist Federal Republic of Yugoslavia
Cambodia
Weimar Republic
Kiribati
Russian Soviet Federative Socialist Republic
Switzerland
South Sudan
Brunei
Samoa
Singapore
Program:
function: Find
inputs: Overseas Chinese
function: Relate
dependencies: 0
inputs: geographic distribution
forward
function: Find
inputs: Singapore
function: And
dependencies: 1
2
function: Find
inputs: Brunei
function: SelectBetween
dependencies: 3
4
inputs: marriageable age
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Singapore" . ?e_1 <geographic_distribution> ?e . ?e_1 <pred:name> "Overseas Chinese" .   } UNION { ?e <pred:name> "Brunei" .  } ?e <marriageable_age> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Brunei