Class Metrics
Class Metrics examine the classes and relationships of ontologies.
Contents
Class Connectivity
This metric is intended to give an indication of what classes are central in the ontology based on the instance relationship graph (where nodes represent instances and edges represent the relationships between them). This measure works in tandem with the importance metric mentioned next to create a better understanding of how focal some classes function. This measure can be used to understand the nature of the ontology by indicating which classes play a central role compared to other classes.
The connectivity of a class is defined as the total number of relationships instances of the class have with instances of other classes (NIREL).
Class Fullness
This metric details the knowledgebase average population metric which are part of the knowledgebase metrics. It would be mainly used by an ontology developer interested in knowing how well the data extraction was with respect to the expected number of instances of each class. This is helpful in directing the extraction process to any resources that will add instances belonging to classes that are not full.
Formally, the fullness (F) of a class is defined as the actual number of instances that belong to the subtree rooted at compared to the expected number of instances that belong to the subtree rooted at .
The result of the formula will be a percentage representing the actual coverage of instances compared to the expected coverage. In most cases, this measure is an indication of how well the instance extraction process performed. For example, a knowledgebase where most classes have a low F would require more data extraction. On the other hand, a knowledgebase where most classes are almost full would indicate that it reflects more closely the knowledge encoded in the schema.
Class Importance
This metric calculates the percentage of instances that belong to classes at the inheritance subtree rooted at the current class with respect to the total number of instances. This metric is important in that it will help in identifying which areas of the schema are in focus when the instances are added to the knowledgebase. Although this measure doesn’t consider the domain characteristics, it can still be used to give an idea on what parts of the ontology are considered focal and what parts are on the edges.
The importance of a class is defined as the percentage of the number of instances that belong to the inheritance subtree rooted at in the knowledgebase compared to the total number of class instances in the knowledgebase .
Class Inheritance Richness
This measure details the schema IR metric mentioned in schema metrics and describes the distribution of information in the current class subtree per class. This measure is a good indication of how well knowledge is grouped into different categories and subcategories under this class.
Formally, the inheritance richness (IRc) of class is defined as the average number of subclasses per class in the subtree. The number of subclasses for a class is defined as and the number of nodes in the subtree is |C'|.
The result of the formula will be a real number representing the average number of classes per schema level. The interpretation of the results of this metric depends highly on the nature of the ontology. Classes in an ontology that represents a very specific domain will have low IRC values, while classes in an ontology that represents a wide domain will usually have higher IRC values.
Class Readability
This metric indicates the existence of human readable descriptions in the ontology, such as comments, labels, or captions. This metric can be a good indication if the ontology is going to be queried and the results listed to users. Formally, the readability (Rd) of a class is defined as the sum of the number of attributes that are comments and the number of attributes that are labels the class has.
The result of the formula will be an integer representing the availability of human-readable information for the instances of the current class.
Class Relationship Richness
This is an important metric reflecting how much of the relationships defined for the class in the schema are actually being used at the instances level. This is another good indication of the utilization of the knowledge modelled in the schema.
The relationship richness (RR) of a class is defined as the percentage of the number of relationships that are being used by instances that belong to compared to the number of relationships that are defined for at the schema level .
Class children
This count-metric measures the number of immediate descendants of the given class, also known as a number of children (NOC).
Class instances
Displays the number of instances of a given class. OWL classes provide an abstraction mechanism for grouping resources with similar characteristics. Like RDF classes, every OWL class is associated with a set of individuals, called the class extension. The individuals in the class extension are called the instances of the class. A class has an intensional meaning (the underlying concept) which is related but not equal to its class extension. Thus, two classes may have the same class extension, but still be different classes.
Class properties
Summarize the properties of an given class. Properties can be used to state relationships between individuals or from individuals to data values. Examples of properties include hasChild, hasRelative, hasSibling, and hasAge. The first three can be used to relate an instance of a class Person to another instance of the class Person (and are thus occurences of ObjectProperty), and the last (hasAge) can be used to relate an instance of the class Person to an instance of the datatype Integer (and is thus an occurence of DatatypeProperty). Both owl:ObjectProperty and owl:DatatypeProperty are subclasses of the RDF class rdf:Property.
Sources
- Samir Tartir, I. Budak Arpinar, Amit P. Sheth: Ontological Evaluation and Validation
In: Theory and Applications of Ontology: Computer Applications 2010, pp 115-130.
http://link.springer.com/chapter/10.1007%2F978-90-481-8847-5_5 - Samir Tartir, I. Budak Arpinar, Michael Moore, Amit P. Sheth, and Boanerges Aleman-meza:
Ontoqa: Metric-based ontology quality analysis.
In: IEEE Workshop on Knowledge Acquisition from Distributed, Autonomous, Semantically Heterogeneous Data and Knowledge Sources, 2005, pp 4-6.
http://cobweb.cs.uga.edu/~budak/papers/ontoqa.pdf - http://gromit.iiar.pwr.wroc.pl/p_inf/ckjm/metric.html
- http://www.infowebml.ws/rdf-owl/Class-owl.htm
- https://www.w3.org/TR/2004/REC-owl-features-20040210/#property