Contractual funds and university patents: from analysis to a case study