Question: Which has a lesser compulsory education minimum age, Jamaica (which has diplomatic relations with Trinidad and Tobago) or Finland?
Choices:
Saint Vincent and the Grenadines
Kazakhstan
Jamaica
Papua New Guinea
Lithuania
Tajikistan
Denmark
Ukrainian Soviet Socialist Republic
Finland
Trinidad and Tobago
Answer: Jamaica
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jamaica" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Trinidad and Tobago" .   } UNION { ?e <pred:name> "Finland" .  } ?e <compulsory_education_(minimum_age)> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Trinidad and Tobago
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: Find
inputs: Jamaica
function: And
dependencies: 1
2
function: Find
inputs: Finland
function: SelectBetween
dependencies: 3
4
inputs: compulsory education (minimum age)
less