OP, I have both a Nokia Lumia 1020 (I am a Windows Phone fan), a Canon 5D Mark 3, and a Canon Rebel t2i. No doubt, the Lumia 1020 takes the best photos available in any smartphone, but it does not beat a DSLR. You're comparing the electronics and technology crammed into a tiny smartphone, versus all the versatility a DSLR offers.
The image quality of the Lumia is nice, so are the non-amateur abilities to set things like ISO, shutter speed, white balance, etc. It is also very portable, so if carrying a DSLR is too inconvient, too heavy, or not allowed (like at sports venues), then the Lumia is a capable alternative.