OntoSim is a library offering similarity and distance measures between ontology entities as well as between ontology themselves. It materialise our work towards better ontology proximity measures [David2008a, Euzenat2009b].
There are many reasons for measuring a distance between ontologies. For example, in semantic social network when a peer looks for a particular information, it could be more appropriate to send to query peers having quite close ontology because it will be easier to translate query and there are more chance that such a peer have the information of interestd [David2012c].
OntoSim provides a framework for designing various kinds of similarities. In particular, we differentiated similarities in the ontology space [David2008a,David2010b] from those in the alignment space [Euzenat2009b]. The latter ones make use of available alignments in a network of ontologies while the former only rely on ontology data.
OntoSim is provided with 4 entity measures which can be combined using various aggregation schemes (average linkage, Hausdorff, maximum weight coupling, etc.), 2 kinds of vector space measures (boolean and TF.IDF), 4 alignment space measures, and our implementation of ontology agreement and disagreement measures. In addition, the framework can embeds external similarity libraries which can be combined with our owns.
OntoSim is based on an ontology interface, shared with the Alignment API allowing for using ontology parsed with different API.
OntoSim development and download site.
OntoSim is distributed for free, under the LGPL License.