In the last years, ontologies have played a major role for building large, distributed, and heterogeneous intelligent systems. E.g., ontologies are one key technique of the semantic web layer. The development process of an ontology heavily depends on its evaluation. In this paper, we introduce several measures for the evaluation of ontological knowledge. Besides standard methods like taxonomic errors we also present novel metrics focusing on design anomalies. For the implementation of these measures we propose a declarative approach using the logic-based language FNQuery.