sentence: mortuary temple ( candi ) of kertanegara kertanegara of singasari ( full name sri maharaja sri kertanegara wikrama dharmatunggadewa ) ( died 1292 ) , was the last and most important ruler of the singhasari kingdom of java , reigning from 1268 to 1292 .