Question: Which has a greater majority age between Monaco and Moldova?
Choices:
Moldova
Monaco
Kazakhstan
Fiji
Kosovo
Finland
Tajikistan
Bulgaria
Lithuania
Cuba
Answer: Monaco
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Monaco" .  } UNION { ?e <pred:name> "Moldova" .  } ?e <age_of_majority> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Monaco
function: Find
inputs: Moldova
function: SelectBetween
dependencies: 0
1
inputs: age of majority
greater