Alignment API and Server 4.6 (1875M)

fr.inrialpes.exmo.align.gen
Interface Alterator

All Known Implementing Classes:
AddClasses, AddClassLevel, AddProperties, BasicAlterator, EmptyModification, FlattenLevel, RemoveClasses, RemoveClassLevel, RemoveComments, RemoveIndividuals, RemoveProperties, RemoveRestrictions, RenameClasses, RenameProperties, RenameThings, SuppressHierarchy

public interface Alterator

An abstract test generator which takes as input an ontology and an alignment between this ontology and another one and transform the ontology and the alignment accordingly to a type of alteration. It follows a particular lifecycle


Method Summary
 Alignment getAlignment()
          Returns the altered Alignment and Ontology in output form
 String getBase()
          the namespace of the source ontology in the input alignment
 ClassHierarchy getHierarchy()
           
 com.hp.hpl.jena.ontology.OntModel getModifiedOntology()
           
 String getNamespace()
          the namespace of the input ontology
 Properties getProtoAlignment()
          getProtoAlignment, getProtoOntology, getHierarchy are used for accessing these internal structure at creation time.
 com.hp.hpl.jena.ontology.OntModel getProtoOntology()
           
 Alterator modify(Properties params)
          modify applies the alteration to the input (the results are kept in internal structures.
 void relocateTest(String namespace2)
           
 void relocateTest(String namespace1, String namespace2)
          Modifies the namespaces of source and target ontologies (for the main purpose of outputing them)
 

Method Detail

getNamespace

String getNamespace()
the namespace of the input ontology


getBase

String getBase()
the namespace of the source ontology in the input alignment


modify

Alterator modify(Properties params)
modify applies the alteration to the input (the results are kept in internal structures.


getProtoAlignment

Properties getProtoAlignment()
getProtoAlignment, getProtoOntology, getHierarchy are used for accessing these internal structure at creation time.


getProtoOntology

com.hp.hpl.jena.ontology.OntModel getProtoOntology()

getHierarchy

ClassHierarchy getHierarchy()

relocateTest

void relocateTest(String namespace1,
                  String namespace2)
Modifies the namespaces of source and target ontologies (for the main purpose of outputing them)


relocateTest

void relocateTest(String namespace2)

getAlignment

Alignment getAlignment()
Returns the altered Alignment and Ontology in output form


getModifiedOntology

com.hp.hpl.jena.ontology.OntModel getModifiedOntology()

Alignment API and Server 4.6 (1875M)

(C) INRIA & friends, 2003-2014