Class MultiSourceDispatcherAllPairs
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_base.multisource.MatcherMultiSourceURL
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.multisource.dispatchers.MultiSourceDispatcherAllPairs
- All Implemented Interfaces:
IMatcherMultiSourceCaller
,MultiSourceDispatcher
public class MultiSourceDispatcherAllPairs
extends MatcherMultiSourceURL
implements MultiSourceDispatcher, IMatcherMultiSourceCaller
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private static final com.fasterxml.jackson.databind.ObjectMapper
private final Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMatches multiple ontologies/knowledge graphs together.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 -
objectMapper
private static final com.fasterxml.jackson.databind.ObjectMapper objectMapper -
oneToOneMatcher
-
-
Constructor Details
-
MultiSourceDispatcherAllPairs
-
-
Method Details
-
match
Description copied from class:MatcherMultiSourceURL
Matches multiple ontologies/knowledge graphs together.- Specified by:
match
in classMatcherMultiSourceURL
- Parameters:
models
- the ontologies/knowledge graphs as URLsinputAlignment
- the input alignment as URL (alignment API format)parameters
- the parameters file url. Format are currently json or yaml.- Returns:
- an alignment as URL (most often as file URL) the format is again the alignment API format.
- Throws:
Exception
- in case something went wrong
-
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 class:MatcherMultiSourceURL
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
- Overrides:
needsTransitiveClosureForEvaluation
in classMatcherMultiSourceURL
- Returns:
- true if the transitive closure is need, false otherwise
-