Question: Does Egypt (which has a demonym of Ägypterin) or Peru have a less marriageable age?
Choices:
Cambodia
Kiribati
Russian Soviet Federative Socialist Republic
Benin
Peru
Weimar Republic
Switzerland
Samoa
Socialist Federal Republic of Yugoslavia
South Sudan
Program:
function: Find
inputs: Egypt
function: FilterStr
dependencies: 0
inputs: demonym
Ägypterin
function: Find
inputs: Peru
function: SelectBetween
dependencies: 1
2
inputs: marriageable age
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Egypt" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "Ägypterin" . } UNION { ?e <pred:name> "Peru" . } ?e <marriageable_age> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Peru