Class MatcherPipelineYAAAOwlApi

All Implemented Interfaces:
IMatcher<org.semanticweb.owlapi.model.OWLOntology,​Alignment,​Properties>, eu.sealsproject.platform.res.domain.omt.IOntologyMatchingToolBridge, eu.sealsproject.platform.res.tool.api.IPlugin, eu.sealsproject.platform.res.tool.api.IToolBridge

public abstract class MatcherPipelineYAAAOwlApi
extends MatcherYAAAOwlApi
Better use MatcherYAAAPipeline because it can combine matchers which use different APIs like Jena and OWLAPI etc.
  • Field Details

  • Constructor Details

    • MatcherPipelineYAAAOwlApi

      public MatcherPipelineYAAAOwlApi()
  • Method Details

    • initializeMatchers

      protected abstract List<MatcherYAAAOwlApi> initializeMatchers()
    • match

      public Alignment match​(org.semanticweb.owlapi.model.OWLOntology source, org.semanticweb.owlapi.model.OWLOntology target, Alignment inputAlignment, Properties p) throws Exception
      Description copied from interface: IMatcher
      Aligns two ontologies/knowledge graphs given as the first and second parameter. An additional input alignment can be given as well as parameters which further define how and what to match. In case inputAlignment or parameters is not used, making them to the Object class, will required no additional transformations of these objects (no overhead).
      Specified by:
      match in interface IMatcher<org.semanticweb.owlapi.model.OWLOntology,​Alignment,​Properties>
      Specified by:
      match in class MatcherYAAAOwlApi
      Parameters:
      source - this object represents the source ontology/knowledge graph
      target - this object represents the target ontology/knowledge graph
      inputAlignment - this object represents the input alignment.
      p - object representing additional parameters. Only add to this object and do not create a new Object like parameters= new ...() because otherwise the parameters are lost (java ist call by value). Sensible classes are Properties (preferred), Map<String, Object> or any similar data structure. Some already specified keys (strings) can be found at ParameterConfigKeys.
      Returns:
      the resulting alignment of the matching process.
      Throws:
      Exception - any exception which occurs during matching
    • getMatchers

      public List<MatcherYAAAOwlApi> getMatchers()