Four personnel of Jammu and Kashmir police were martyred in a blast at Sopore in north Kashmir.