What is the {social state} with the {MAX(compulsory education (minimum age))} ?
Which type of state has the highest mandatory education requirements?
which social state has the maximum compulsory education?
SELECT ?v WHERE { ?v rdf:type ontology:social_state . ?v property:compulsory_education_(minimum_age) ?k }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q619610>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3270>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .}
ORDER BY DESC(?obj)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q619610 . ?ent wdt:P3270 ?obj } ORDER BY DESC(?obj)LIMIT 5 
Turkey Transnistria