java.lang.Object
eu.sealsproject.platform.res.tool.impl.AbstractPlugin
All Implemented Interfaces:
eu.sealsproject.platform.res.domain.omt.IOntologyMatchingToolBridge, eu.sealsproject.platform.res.tool.api.IPlugin, eu.sealsproject.platform.res.tool.api.IToolBridge
Direct Known Subclasses:
MatcherPipelineYAAA, MatcherYAAAJena, NoOpMatcher

public abstract class MatcherYAAA extends MatcherFile
A matcher template for matchers that are based on the YAAA Framework.
Author:
Sven Hertling
  • Field Summary

    Fields inherited from class de.uni_mannheim.informatik.dws.melt.matching_base.MatcherFile

    FILE_PREFIX, FILE_SUFFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract Alignment
    match(URL source, URL target, Alignment inputAlignment, Properties properties)
    Aligns two ontologies specified via URL, with an input alignment as Alignment object, and returns the mapping of the resulting alignment.
    void
    match(URL source, URL target, URL inputAlignment, File alignmentFile)
     

    Methods inherited from class de.uni_mannheim.informatik.dws.melt.matching_base.MatcherFile

    match

    Methods inherited from class de.uni_mannheim.informatik.dws.melt.matching_base.MatcherURL

    align, align, canExecute, getType

    Methods inherited from class eu.sealsproject.platform.res.tool.impl.AbstractPlugin

    getId, getVersion, setId, setVersion

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface eu.sealsproject.platform.res.tool.api.IPlugin

    getId, getVersion
  • Constructor Details

    • MatcherYAAA

      public MatcherYAAA()
  • Method Details

    • match

      public void match(URL source, URL target, URL inputAlignment, File alignmentFile) throws Exception
      Specified by:
      match in class MatcherFile
      Throws:
      Exception
    • match

      public abstract Alignment match(URL source, URL target, Alignment inputAlignment, Properties properties) throws Exception
      Aligns two ontologies specified via URL, with an input alignment as Alignment object, and returns the mapping of the resulting alignment. Note: This method might be called multiple times in a row when using the evaluation framework. Make sure to return a mapping which is specific to the given inputs.
      Parameters:
      source - this url represents the source ontology
      target - this url represents the target ontology
      inputAlignment - this mapping represents the input alignment
      properties - additional properties
      Returns:
      The resulting mapping of the matching process.
      Throws:
      Exception - An exception that was risen while matching.