Question: Which one, Turkmenistan or Poland, has the older majority age?
Choices:
Cambodia
Poland
Weimar Republic
South Sudan
Socialist Federal Republic of Yugoslavia
Turkmenistan
Benin
Kiribati
Russian Soviet Federative Socialist Republic
Switzerland
Program:
function: Find
inputs: Turkmenistan
function: Find
inputs: Poland
function: SelectBetween
dependencies: 0
1
inputs: age of majority
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Turkmenistan" .  } UNION { ?e <pred:name> "Poland" .  } ?e <age_of_majority> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Poland