Question: Does Morocco (that has a diplomatic relationship with the Netherlands) or Italy have the lower maximum age for children when compulsory education ends?
Choices: Italy
Mozambique
Zimbabwe
Eswatini
Namibia
Colombia
Germany
Morocco
Sierra Leone
Thailand
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Morocco" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> "Netherlands" .   } UNION { ?e <pred:name> "Italy" .  } ?e <compulsory_education_(maximum_age)> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Netherlands
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: Find
inputs: Morocco
function: And
dependencies: 1
2
function: Find
inputs: Italy
function: SelectBetween
dependencies: 3
4
inputs: compulsory education (maximum age)
less
Answer: Morocco