Partial formal contexts with degrees