Changes between Version 5 and Version 6 of adapters_composite


Ignore:
Timestamp:
05/05/06 14:53:59 (18 years ago)
Author:
lqu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • adapters_composite

    v5 v6  
    66 
    77== Description == 
    8  This adapter servces as a wrapper of the other ontology, especially it makes possible to contract and expand subgraphs. The adapter package implements all the interfaces of de.dfki.km.phaselib.model.ontology in order to wrap every frame of a ontology. The most important classes are OntologyWrapper and CompositeCls. OntologyWrapper utilizes a static method to wrap every frame of the given ontology. Except contracted classes, every wrapped frame behaves the same as the original frame. CompositeCls provides the contract and expand functionalities. The name of the contracted class is given by an alphabetic ordered names from all the classes of the original subgraph. The URL begins with prefix http://km.dfki.de/phaselib/adapters/composite/. If the same datatype properties are found in different classes, they all should be added to the new contracted class. After contracting, the domain of properites are changed to the contracted class, any references to the original class set of the subgraph will point to the contracted class. 
     8 This adapter services as a wrapper of the other ontology, especially it makes possible to contract and expand subgraphs. There are implementations in this package of all the interfaces from de.dfki.km.phaselib.model.ontology in order to wrap every frame of a ontology. If a frame is wrapped by a wrapper class, it should behave like the being wrapped frame from a point view of the implemented interface. That means, the returned values from the methods belonging to the interface are semantically equal. Objects of CompositeCls, which contract or expand a subgraph, do not obey the rule, because they are semantically different. 
     9 
     10The most important classes are OntologyWrapper and CompositeCls. OntologyWrapper utilizes a static method to wrap every frame of the given ontology. CompositeCls provides the contract and expand functionalities. After contracting, the name of the new class is given by alphabetically concatenating all names of the classes from the original subgraph. The URL begins with prefix http://km.dfki.de/phaselib/adapters/composite/, followed by the new class name. If the same datatype properties are found in different classes, they are all added to the new class. After contracting, the domain of properites are changed to the new class, any references to the original classes of the subgraph will be redirected to the new class. 
    911 
    1012== Characteristics == 
    11  TODO 
     13 The overhead at the wrapping phase is huge, because every frame will be wrapped into a new class. 
    1214 
    1315== Evaluation/Performance ==