What is {military rank} of {Kim Jong-un} that is {commander of} is {Korean People's Army} ?
Is Kim Jong-un's the commander of NKPA?
What is the military rank of Kim Jong-un, the commander of Korean People's Army?
SELECT ?t WHERE { ?o property:military_rank ?t . resource:Kim_Jong-un property:military_rank ?o . ?o property:commander_of_(DEPRECATED) resource:Korean_People's_Army }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q56226> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P410> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P598> <http://wikidata.dbpedia.org/resource/Q240670>
} 

SELECT ?obj WHERE { wd:Q56226 p:P410 ?s . ?s ps:P410 ?obj . ?s pq:P598 wd:Q240670 }