What is {head of state} of {North Korea} that is {start time} is {1948-9-9} ?
What leader took over rule in North Korea on 9/9/1948?
Who became the head of state of North Korea on 9/9/1948?
SELECT ?k WHERE { FILTER ( CONTAINS ( YEAR ( ?w ) , '1948' ) ) . ?q property:start_time ?w . ?q property:head_of_state ?k . resource:North_Korea property:head_of_state ?q }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q423> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1948-9-9>
} 

SELECT ?obj WHERE { wd:Q423 p:P35 ?s . ?s ps:P35 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1948')) }