correspondenceComputations
Class ValueRestriction

java.lang.Object
  extended by correspondenceComputations.ValueRestriction

public class ValueRestriction
extends java.lang.Object

Author:
Dominique Ritze Class to compute complex correspondences where a class is equivalent to a datatype property and a special value. Example: ontology 1: Early-Registered_Participant (class) ontology 2: earlyRegistered (datatype property with range boolean, domain participant) true First the algorithm tries to find similar classes or parts of classes, in this case the class Participant and the part Participant of Early-Registered_Participant will be found. The other part of the class, here Early-Registered, is compared with the datatype properties of the other ontology. If a high value is detected the algorithm proofs if the domain of the datatype property is a superclass of the class found before. Afterwards the range of the datatype property is checked and if it is boolean and exactly two correspondences are found the class with the higher of the last comparison will be assigned to the datatype property and the value true, the other one to the property and the value false. Other correspondences especially with other ranges are nor implemented yet.

Constructor Summary
ValueRestriction()
           
 
Method Summary
static java.util.Set<Correspondence> valueRestriction(Ontology ont1, Ontology ont2, OntologyAlignment ali)
          Compute the complex correspondences of two given ontologies how it is recorded in the class description.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueRestriction

public ValueRestriction()
Method Detail

valueRestriction

public static java.util.Set<Correspondence> valueRestriction(Ontology ont1,
                                                             Ontology ont2,
                                                             OntologyAlignment ali)
                                                      throws ComplexMappingException
Compute the complex correspondences of two given ontologies how it is recorded in the class description.

Parameters:
filepath1 -
filepath2 -
alignmentPath -
Returns:
Throws:
ComplexMappingException