What is the {landlocked country} with the {MIN(compulsory education (minimum age))} whose {diplomatic relation} is {Serbia}  ?
Which landlocked country diplomatically related to Serbia has the lowest minimum age for compulsory education ?
select ?ent where { ?ent wdt:P31 wd:Q123480 . ?ent wdt:P3270 ?obj . ?ent wdt:P530 wd:Q403. } ORDER BY ASC(?obj)LIMIT 5 
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q123480>.

?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3270>.
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj1.

?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P530> .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q403> .

}
ORDER BY ASC(?obj1)
LIMIT 5
Which landlocked country that is diplomatically associated with Serbia has the lowest minimum age for mandatory education?