What is the {secular state} with the {MAX(total fertility rate)} ?
In which state is the fertility rate the highest?
What state has the highest fertility rate?
SELECT ?z WHERE { ?z property:total_fertility_rate ?g . ?z rdf:type ontology:secular_state }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q859563>.
?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/P4841>.
?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:Q859563 . ?ent wdt:P4841 ?obj } ORDER BY DESC(?obj)LIMIT 5 
Turkey Uruguay Colombia Brazil People's Republic of China