Graphene and diamond are different arrangements of carbon atoms – you can see them here:
Diamond and sand are very similar. Sand is made up of silicon dioxide and silicon sits just below carbon in the periodic table so they have very similar characteristics.
You can see a picture of diamond: http://www.chemguide.co.uk/atoms/structures/diamond.GIF
and silicon dioxide: