What is the {sovereign state} for {head of state} of {Moon Jae-in}
[]
Moon Jae-in is the head of state of which sovereign state ?
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sovereign_state . ?c property:head_of_state resource:Moon_Jae-in }
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/P35> . ?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/Q3624078> } 
 select distinct ?sbj where { ?sbj wdt:P35 wd:Q21001 . ?sbj wdt:P31 wd:Q3624078 } 
South Korea