Taking diabetes clinical guidelines as the foundation and making use of the ontology technology to extract concepts from diabetes guidelines and to establish semantic association. To build the diabetes ontology base with the seven-step method and skeleton method, the paper explicates the building steps. On this basis, it designs the diabetes ontology semantic retrieval system model to provide reference for the development of the diabetes management system.