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