What is the {constitutional republic} for {head of government} of {Moon Jae-in}
Who is the head of government for the protected republic of Moon Jae-in?
Who is the head of government for the constitutional republic of Moon Jae-in?
SELECT DISTINCT ?z WHERE { ?z property:head_of_government resource:Moon_Jae-in . ?z rdf:type ontology:constitutional_republic }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P6> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q21001> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q1520223> } 
 select distinct ?sbj where { ?sbj wdt:P6 wd:Q21001 . ?sbj wdt:P31 wd:Q1520223 } 