Question: Which one, Scotland (the one whose demonym is σκωτσέζος) or the Netherlands, has a lower age of majority?
Choices:
Faroe Islands
Wales
Cook Islands
Cloud Atlas
Scotland
Andy Lau
Greenland
Netherlands
Hulk
Octopussy
Answer: Scotland
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Scotland" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "σκωτσέζος" . } UNION { ?e <pred:name> "Netherlands" . } ?e <age_of_majority> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Scotland
function: FilterStr
dependencies: 0
inputs: demonym
σκωτσέζος
function: Find
inputs: Netherlands
function: SelectBetween
dependencies: 1
2
inputs: age of majority
less