What is {position held} of {Abdul Halim of Kedah} that is {start time} is {1958-7-15} ?
What was Kedah's Abdul HAlim's position from 7/15/1958?
What position was held by Abdul HAlim of Kedah starting on 7/15/1958?
SELECT ?b WHERE { resource:Abdul_Halim_of_Kedah property:position_held ?v . ?v property:position_held ?b . FILTER ( CONTAINS ( YEAR ( ?k ) , '1958' ) ) . ?v property:start_time ?k }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q57550> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1958-7-15>
} 

SELECT ?obj WHERE { wd:Q57550 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1958')) }