Class MultiSourcePipelineSequential
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_base.multisource.MultiSourcePipelineSequential
- All Implemented Interfaces:
IMatcherMultiSourceCaller
Executes all multi source matchers one after the other.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMultiSourcePipelineSequential
(Iterable<Object> matchers) MultiSourcePipelineSequential
(Object... matchers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMatcher
(Object matcher) Matches multiple ontologies / knowledge graphs together.boolean
Returns a boolean value if the matcher needs a transitive closure for evaluation.
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
matchers
-
-
Constructor Details
-
MultiSourcePipelineSequential
-
MultiSourcePipelineSequential
-
-
Method Details
-
match
public AlignmentAndParameters match(List<Set<Object>> models, Object inputAlignment, Object parameters) throws Exception Description copied from interface:IMatcherMultiSourceCaller
Matches multiple ontologies / knowledge graphs together.- Specified by:
match
in interfaceIMatcherMultiSourceCaller
- Parameters:
models
- this is a list of sets of objects where each sets contains different representations of the dame ontologies/ knowledge graph.inputAlignment
- 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
,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
- in case of any errors
-
needsTransitiveClosureForEvaluation
public boolean needsTransitiveClosureForEvaluation()Description copied from interface:IMatcherMultiSourceCaller
Returns a boolean value if the matcher needs a transitive closure for evaluation. E.g. some matchers match only A-B-C and the testcase asks for A-C then this is only true, if the transitive closure is computed- Specified by:
needsTransitiveClosureForEvaluation
in interfaceIMatcherMultiSourceCaller
- Returns:
- true if the transitive closure is need, false otherwise
-
addMatcher
-