Interface IMatcher<ModelClass,AlignmentClass,ParameterClass>
- Type Parameters:
ModelClass
- The specific type which can store an ontology / knowledge graph / ABox and TBox examples are OntModel or Model from Jena.AlignmentClass
- The specific type which can store an alignment e.g. (Alignment from YAAA)ParameterClass
- The specific type which can store parameters. This is somewhat a map where the keys are string and the values are any objects e.g. java.util.Properties
- All Known Implementing Classes:
AddAlignmentExtensions
,AddAlignmentMatcher
,AdditionalConfidenceByFunction
,AdditionalConfidenceFilter
,AddNegativesRandomly
,AddNegativesRandomlyAbsolute
,AddNegativesRandomlyOneOneAssumption
,AddNegativesRandomlyShare
,AddNegativesViaAlignment
,AddNegativesViaMatcher
,AddPositivesWithReference
,AlignmentSaveMatcher
,AnonymousNodeFilter
,BackgroundMatcher
,BackgroundMatcherStandAlone
,BadHostsFilter
,BagOfWordsSetSimilarityFilter
,BaseFilterWithSetComparison
,BaselineStringMatcher
,BoundedPathMatching
,CardinalityFilter
,CommonPropertiesFilter
,ConfidenceCombiner
,ConfidenceCurvatureFilter
,ConfidenceFilter
,Doc2vecModelMatcher
,DocumentSimilarityBase
,ExactStringMatcher
,FileSaveMatcher
,ForwardAlwaysMatcher
,ForwardMatcher
,HighPrecisionMatcher
,HungarianExtractor
,LLMBase
,LLMBinaryFilter
,LLMChooseGivenEntityFilter
,LogMapRepairFilter
,MachineLearningScikitFilter
,MachineLearningWEKAFilter
,MatchClassBasedOnInstances
,MatcherCLI
,MatcherCLIFromFile
,MatcherDockerFile
,MatcherHTTPCall
,MatcherPipelineYAAAJena
,MatcherPipelineYAAAJenaConstructor
,MatcherPipelineYAAAOwlApi
,MatcherYAAAJena
,MatcherYAAAOwlApi
,MatchPropBasedOnClass
,MatchPropBasedOnInstances
,MaxWeightBipartiteExtractor
,MixedTypFilter
,NaiveAscendingExtractor
,NaiveDescendingExtractor
,NtoMCorrespondenceFilter
,OpenEAMatcher
,ParisMatcher
,ReferenceMatcher
,ReflexiveCorrespondenceFilter
,RelationTypeFineTuner
,RelationTypePredictor
,ScalableStringProcessingMatcher
,ScaleAdditionalConfidence
,ScaleConfidence
,SentenceTransformersFineTuner
,SentenceTransformersMatcher
,SimilarHierarchyFilter
,SimilarNeighboursFilter
,SimilarTypeFilter
,SimpleStringMatcher
,StopwordExtraction
,StringMatcher
,SynonymTextMatcher
,TopXFilter
,TrainingAlignmentGenerator
,TransformersBase
,TransformersBaseFineTuner
,TransformersFilter
,TransformersFineTuner
,TransformersFineTunerHpSearch
,TypeFilter
,UriInterfaceWrapper
,VectorSpaceModelMatcher
public interface IMatcher<ModelClass,AlignmentClass,ParameterClass>
Generic matcher interface which just implements one method called match.
It gets a source and a target ontology / knowledge graph, an input alignment and additional parameters.
-
Method Summary
Modifier and TypeMethodDescriptionmatch
(ModelClass source, ModelClass target, AlignmentClass inputAlignment, ParameterClass parameters) Aligns two ontologies/knowledge graphs given as the first and second parameter.
-
Method Details
-
match
AlignmentClass match(ModelClass source, ModelClass target, AlignmentClass inputAlignment, ParameterClass parameters) throws Exception 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).- Parameters:
source
- this object represents the source ontology/knowledge graphtarget
- this object represents the target ontology/knowledge graphinputAlignment
- this object represents the input alignment.parameters
- object representing additional parameters. Only add to this object and do not create a new Object likeparameters= new ...()
because otherwise the parameters are lost (java ist call by value). Sensible classes areProperties
(preferred),Map<String, Object>
or any similar data structure. Some already specified keys (strings) can be found atParameterConfigKeys
.- Returns:
- the resulting alignment of the matching process.
- Throws:
Exception
- any exception which occurs during matching
-