What is {military rank} of {Mikhail Kalashnikov} that is {start time} is {1999-1-1} ?
On January 1, 1999, what was Mikhail Kalashnikov's military rank?
What military rank did Mikhail Kalashnikov achieve in 1999-1-1?
SELECT ?y WHERE { resource:Mikhail_Kalashnikov property:military_rank ?a . ?a property:military_rank ?y . FILTER ( CONTAINS ( YEAR ( ?p ) , '1999' ) ) . ?a property:start_time ?p }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q167573> .
?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/P580> <1999-1-1>
} 

SELECT ?obj WHERE { wd:Q167573 p:P410 ?s . ?s ps:P410 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1999')) }