The present search methods are usually keyword based or syntactic in nature. The syntactic search may not always produce relevant results. Unwanted results which contain just the keyword in the document also will be displayed as result. This is why the Semantic web technology was introduced. Here we are implementing the semantic techniques in Digital Library by keeping meta data of all the books in ontology files. This will help the users to find relevant books which contain a specific topic or make a complex query rather than search using a simple keyword.