A Semantic Framework for Uncertainties in Ontologies