Uses of Class
de.uni_mannheim.informatik.dws.melt.yet_another_alignment_api.Alignment
Package
Description
This package contains the classes to support tracks and test cases.
This package contains preconfigured matcher content that can be used in matching pipelines or as an
example/reference for a new background-based matcher.
This package contains mapping extraction approaches as shown in
Analyzing Mapping Extraction Approaches - C.
-
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_data
Modifier and TypeFieldDescriptionprivate Alignment
TestCase.parsedEvaluationExclusionAlignment
The parsed version of the alignment of correspondences which should be removed from the matcher during evaluation.private Alignment
TestCase.parsedInputAlignment
The parsed input alignment which is initialized lazily.private Alignment
TestCase.parsedReference
The parsed reference which is initialized lazily.Modifier and TypeMethodDescriptionTestCase.getParsedEvaluationExclusionAlignment()
Returns the parsed version of the alignment of correspondences which should be removed from the matcher during evaluation.TestCase.getParsedInputAlignment()
This method parses the input alignment and returns it.TestCase.getParsedReferenceAlignment()
This method parses the reference alignment and returns it. -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_eval
Modifier and TypeFieldDescriptionprivate Alignment
ExecutionResult.referenceAlignment
private Alignment
ExecutionResult.systemAlignment
Modifier and TypeMethodDescriptionExecutionResult.getInputAlignment()
Returns the input alignment from the testcase for this execution result.ExecutionResult.getReferenceAlignment()
ExecutionResult.getSystemAlignment()
private static Alignment
ExecutionResult.silentlyParseAlignment
(URL url) Helper method to parse an alignment from an URL and log a possible error.Modifier and TypeMethodDescriptionvoid
ExecutionResult.setReferenceAlignment
(Alignment referenceAlignment) Deprecated.better create a new execution result.void
ExecutionResult.setSystemAlignment
(Alignment systemAlignment) Deprecated.better create a new execution result.ModifierConstructorDescriptionExecutionResult
(TestCase testCase, String matcherName, Alignment systemAlignment) Constructor used by tests to check if metrics compute correctly.ExecutionResult
(TestCase testCase, String matcherName, Alignment systemAlignment, Alignment referenceAlignment) Constructor used by tests to check if metrics compute correctly.ExecutionResult
(TestCase testCase, String matcherName, URL originalSystemAlignment, long runtime, Alignment systemAlignment, Alignment referenceAlignment, Object matcher, Set<Refiner> refinements, Object parameters) Base constructor which needs all parametersExecutionResult
(ExecutionResult base, Alignment systemAlignment, Alignment referenceAlignment, Refiner refinement) Copies all members except the mappings from the given execution result (like a copy constructor). -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_eval.evaluator
Modifier and TypeMethodDescriptionEvaluatorRelationTypePrediction.getConfusionMap
(ExecutionResult r) Modifier and TypeMethodDescriptionprivate List<CorrespondenceRelation>
EvaluatorRelationTypePrediction.getRelationsFromCM
(Map<Map.Entry<CorrespondenceRelation, CorrespondenceRelation>, Alignment> cm) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_eval.evaluator.metric.cm
Modifier and TypeFieldDescriptionprotected Alignment
ConfusionMatrix.falseNegative
protected Alignment
ConfusionMatrix.falsePositive
protected Alignment
ConfusionMatrix.truePositive
Modifier and TypeMethodDescriptionConfusionMatrix.getFalseNegative()
Alignments which are correct but not found by the matcherConfusionMatrix.getFalsePositive()
Alignments which are not correct but found by the matcherConfusionMatrix.getTruePositive()
Alignments which are in the reference mapping and are also found by the matcher.Modifier and TypeMethodDescriptionstatic ConfusionMatrix
ConfusionMatrixMetric.calculateConfusionMatrixFromMappings
(Alignment truePositives, Alignment falsePositives, Alignment falseNegatives, int numberOfCorrespondences) Calculation method which calculates the confusion matrix given three mappings: tp, fp, and fn.ConfusionMatrixMetric.compute
(Alignment referenceAlignment, Alignment systemAlignment, GoldStandardCompleteness gsCompleteness) ConfusionMatrixMetric.compute
(Alignment referenceAlignment, Alignment systemAlignment, GoldStandardCompleteness gsCompleteness, Alignment evaluationExclusionAlignment) private ConfusionMatrix
ConfusionMatrixMetric.computeForCompleteGoldStandard
(Alignment referenceAlignment, Alignment systemAlignment) Calculate the confusion matrix under the premises that the gold standard is complete.private ConfusionMatrix
ConfusionMatrixMetric.computeForPartialGoldStandard
(Alignment referenceAlignment, Alignment systemAlignment, GoldStandardCompleteness gsCompleteness) Calculate the confusion matrix under the premises that the gold standard is incomplete, i.e., partial.ModifierConstructorDescriptionConfusionMatrix
(Alignment truePositive, Alignment falsePositive, Alignment falseNegative, double precision, double recall) Constructor to fill confusion matrix.ConfusionMatrix
(Alignment truePositive, Alignment falsePositive, Alignment falseNegative, int numberOfCorrespondences, double precision, double recall) Constructor to fill confusion matrix.ConfusionMatrixMacroAveraged
(Alignment truePositive, Alignment falsePositive, Alignment falseNegative, double precision, double recall, double fmeasure) ConfusionMatrixMacroAveraged
(Alignment truePositive, Alignment falsePositive, Alignment falseNegative, int numberOfCorrespondences, double precision, double recall, double fmeasure) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_eval.evaluator.metric.cmrelation
Modifier and TypeMethodDescriptionstatic Alignment
CMRelationMetric.enhanceAlignment
(URI kgOne, URI kgTwo, URI alignment) static Alignment
CMRelationMetric.enhanceAlignment
(org.apache.jena.rdf.model.Model kgOne, org.apache.jena.rdf.model.Model kgTwo, Alignment alignment) Modifier and TypeMethodDescriptionstatic Alignment
CMRelationMetric.enhanceAlignment
(org.apache.jena.rdf.model.Model kgOne, org.apache.jena.rdf.model.Model kgTwo, Alignment alignment) ModifierConstructorDescription -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_eval.evaluator.metric.ranking
Modifier and TypeMethodDescriptionprotected Alignment
RankingMetric.getSystemResultReducedToGoldStandardEntities
(ExecutionResult executionResult) Return the system alignment but only with correspondences where the source or the target appear also in the gold standard.Modifier and TypeMethodDescriptionSameConfidenceRanking.sortAlignment
(Alignment systemAlignment, Alignment referenceAlignment) Sorts the system alignment and returns a list of correspondences. -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_eval.evaluator.metric.resultsSimilarity
Modifier and TypeMethodDescriptionstatic double
MatcherSimilarityMetric.computeSimilarity
(Alignment alignment_1, Alignment alignment_2) Computes the Jaccard overlap between two alignments. -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_eval.matchers
Modifier and TypeMethodDescriptionAddPositivesWithReference.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) Modifier and TypeMethodDescriptionAddPositivesWithReference.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_eval.multisource
Modifier and TypeMethodDescriptionstatic Alignment
ExecutorMultiSource.getCombinedInputAlignment
(List<TestCase> testCases) private static Alignment
EvaluatorMultiSourceBasic.loadAlignment
(File matcherFolder) Modifier and TypeMethodDescriptionstatic ExecutionResultMultiSource
ExecutorMultiSource.fromAlignment
(Alignment fullAlignment, List<TestCase> testCases, String matcherName, long totalRuntime, boolean computeTransitiveClosure, Partitioner partitioner) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_eval.paramtuning
Modifier and TypeMethodDescriptionstatic double
ConfidenceFinder.getBestConfidenceForFmeasure
(Alignment reference, Alignment systemAlignment, GoldStandardCompleteness gsCompleteness) If this method takes too long, you can use the more efficient methodConfidenceFinder.getBestConfidenceForFmeasure(Alignment, Alignment, GoldStandardCompleteness, int)
and set a decimal precision (e.g.static double
ConfidenceFinder.getBestConfidenceForFmeasure
(Alignment reference, Alignment systemAlignment, GoldStandardCompleteness gsCompleteness, int decimalPrecision) Given two alignments, this method determines the best cutting point (main confidence in correspondences) in order to optimize the F1-score.static double
ConfidenceFinder.getBestConfidenceForFmeasureBeta
(Alignment reference, Alignment systemAlignment, GoldStandardCompleteness gsCompleteness, double beta) Given two alignments, this method determines the best cutting point (main confidence in correspondences) in order to optimize the F_beta-score (beta is given as a parameter).static double
ConfidenceFinder.getBestConfidenceForPrecision
(Alignment reference, Alignment systemAlignment, GoldStandardCompleteness gsCompleteness) Given two alignments, this method determines the best cutting point (main confidence in correspondences) in order to optimize the precision.ConfidenceFinder.getOccurringConfidences
(Alignment a) ConfidenceFinder.getOccurringConfidences
(Alignment a, double begin, double end) ConfidenceFinder.getOccurringConfidences
(Alignment alignment, int decimalPrecision) If you require a precise solution, set thedecimalPrecision
to a negative number.ConfidenceFinder.getOccurringConfidences
(Alignment a, int decimalPrecision, double begin, double end) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_eval.refinement
Modifier and TypeMethodDescriptionstatic Alignment
AlignmentClosureRefiner.refineAlignment
(org.apache.jena.rdf.model.Model kgOne, org.apache.jena.rdf.model.Model kgTwo, Alignment alignment) RelationTypeRefiner.refineMapping
(Alignment originalAlignment) TypeRefiner.refineMapping
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment originalAlignment) Perform the actual refinement.Modifier and TypeMethodDescriptionstatic Alignment
AlignmentClosureRefiner.refineAlignment
(org.apache.jena.rdf.model.Model kgOne, org.apache.jena.rdf.model.Model kgTwo, Alignment alignment) RelationTypeRefiner.refineMapping
(Alignment originalAlignment) TypeRefiner.refineMapping
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment originalAlignment) Perform the actual refinement. -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_eval.util
Modifier and TypeMethodDescriptionReferenceMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) Modifier and TypeMethodDescriptionReferenceMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_jena
Modifier and TypeMethodDescriptionMatcherPipelineYAAA.match
(URL source, URL target, Alignment inputAlignment, Properties properties) MatcherPipelineYAAAJena.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) MatcherPipelineYAAAJenaConstructor.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) abstract Alignment
MatcherYAAA.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.MatcherYAAAJena.match
(URL source, URL target, Alignment inputAlignment, Properties properties) abstract Alignment
MatcherYAAAJena.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) Aligns two ontologies specified via a Jena OntModel, with an input alignment as Alignment object, and returns the mapping of the resulting alignment.Modifier and TypeMethodDescriptionMatcherPipelineYAAA.match
(URL source, URL target, Alignment inputAlignment, Properties properties) MatcherPipelineYAAAJena.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) MatcherPipelineYAAAJenaConstructor.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) abstract Alignment
MatcherYAAA.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.MatcherYAAAJena.match
(URL source, URL target, Alignment inputAlignment, Properties properties) abstract Alignment
MatcherYAAAJena.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) Aligns two ontologies specified via a Jena OntModel, with an input alignment as Alignment object, and returns the mapping of the resulting alignment. -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.elementlevel
Modifier and TypeMethodDescriptionBaselineStringMatcher.match
(org.apache.jena.ontology.OntModel sourceOntology, org.apache.jena.ontology.OntModel targetOntology, Alignment alignment, Properties properties) HighPrecisionMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) StopwordExtraction.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) StringMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) SynonymTextMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) Modifier and TypeMethodDescriptionBaselineStringMatcher.match
(org.apache.jena.ontology.OntModel sourceOntology, org.apache.jena.ontology.OntModel targetOntology, Alignment alignment, Properties properties) HighPrecisionMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) StopwordExtraction.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) StringMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) SynonymTextMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) private void
HighPrecisionMatcher.matchResources
(Iterator<? extends org.apache.jena.ontology.OntResource> sourceResources, Iterator<? extends org.apache.jena.ontology.OntResource> targetResources, Alignment alignment) private void
StringMatcher.matchResources
(org.apache.jena.util.iterator.ExtendedIterator<? extends org.apache.jena.ontology.OntResource> sourceResources, org.apache.jena.util.iterator.ExtendedIterator<? extends org.apache.jena.ontology.OntResource> targetResources, Alignment alignment) private void
SynonymTextMatcher.matchResources
(org.apache.jena.util.iterator.ExtendedIterator<? extends org.apache.jena.ontology.OntResource> sourceResources, org.apache.jena.util.iterator.ExtendedIterator<? extends org.apache.jena.ontology.OntResource> targetResources, Alignment alignment) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.elementlevel.scale
Modifier and TypeMethodDescriptionScalableStringProcessingMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) Modifier and TypeMethodDescriptionScalableStringProcessingMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) void
ScalableStringProcessingMatcher.matchResources
(Iterator<? extends org.apache.jena.rdf.model.Resource> sourceResources, Iterator<? extends org.apache.jena.rdf.model.Resource> targetResources, Alignment alignment) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.external.matcher
Modifier and TypeFieldDescriptionprivate Alignment
BackgroundMatcher.alignment
Alignmentprivate Alignment
SimpleStringMatcher.mapping
AlignmentModifier and TypeMethodDescriptionBackgroundMatcher.match
(org.apache.jena.ontology.OntModel sourceOntology, org.apache.jena.ontology.OntModel targetOntology, Alignment inputAlignment, Properties p) BackgroundMatcherStandAlone.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) SimpleStringMatcher.match
(org.apache.jena.ontology.OntModel sourceOntology, org.apache.jena.ontology.OntModel targetOntology, Alignment inputAlignment, Properties p) Modifier and TypeMethodDescriptionprivate void
SimpleStringMatcher.initializeMappingProcess
(Alignment inputAlignment) (Re-)initialize data structures.BackgroundMatcher.match
(org.apache.jena.ontology.OntModel sourceOntology, org.apache.jena.ontology.OntModel targetOntology, Alignment inputAlignment, Properties p) BackgroundMatcherStandAlone.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) SimpleStringMatcher.match
(org.apache.jena.ontology.OntModel sourceOntology, org.apache.jena.ontology.OntModel targetOntology, Alignment inputAlignment, Properties p) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.filter
Modifier and TypeMethodDescriptionstatic Alignment
AdditionalConfidenceFilter.filter
(Alignment alignment, String additionalConfidenceKey, double threshold) Filters the given alignment such that in the returned alignment, only correspondences appear where the additional confidence (provided by the key) is greater or equal to the given threshold.static Alignment
AnonymousNodeFilter.filter
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment) Filters the alignment based on similar hosts.static Alignment
BadHostsFilter.filter
(String expectedSourceHost, String expectedTargetHost, Alignment inputAlignment, boolean strict) Filters the alignment based on similar hosts.static Alignment
BadHostsFilter.filter
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment) Filters the alignment based on similar hosts in a non strict mode (if the host of source or target in a correspondence can not be determined, then the correspondence is added to the filtered alignment).static Alignment
BadHostsFilter.filter
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, boolean strict) Filters the alignment based on similar hosts.static Alignment
BadHostsFilter.filter
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, boolean strict, Function<org.apache.jena.ontology.OntModel, String> hostOfModelFunction) Filters the alignment based on similar hosts.static Alignment
Deprecated.static Alignment
ConfidenceCurvatureFilter.filter
(Alignment inputAlignment, MeltCurvature curvature) static Alignment
ConfidenceCurvatureFilter.filter
(Alignment inputAlignment, MeltCurvature curvature, String additionalConfidenceKey) ConfidenceFilter.filter
(Alignment inputAlignment, org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target) static Alignment
Filters the given alignment such that there are only the top X correspondences (according to confidence) for every source node.private Alignment
TopXFilter.filterTopX
(Iterator<Correspondence> iterator) AdditionalConfidenceFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) AnonymousNodeFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) BadHostsFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) CardinalityFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties p) Deprecated.ConfidenceCurvatureFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties p) ConfidenceFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) MixedTypFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) NtoMCorrespondenceFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) ReflexiveCorrespondenceFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) TopXFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) TypeFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) static Alignment
ReflexiveCorrespondenceFilter.removeReflexiveCorrespondences
(Alignment alignment) Removes all reflexive edges (which maps A to A) from an alignment.Modifier and TypeMethodDescriptionstatic Alignment
AdditionalConfidenceFilter.filter
(Alignment alignment, String additionalConfidenceKey, double threshold) Filters the given alignment such that in the returned alignment, only correspondences appear where the additional confidence (provided by the key) is greater or equal to the given threshold.static Alignment
AnonymousNodeFilter.filter
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment) Filters the alignment based on similar hosts.static Alignment
BadHostsFilter.filter
(String expectedSourceHost, String expectedTargetHost, Alignment inputAlignment, boolean strict) Filters the alignment based on similar hosts.static Alignment
BadHostsFilter.filter
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment) Filters the alignment based on similar hosts in a non strict mode (if the host of source or target in a correspondence can not be determined, then the correspondence is added to the filtered alignment).static Alignment
BadHostsFilter.filter
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, boolean strict) Filters the alignment based on similar hosts.static Alignment
BadHostsFilter.filter
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, boolean strict, Function<org.apache.jena.ontology.OntModel, String> hostOfModelFunction) Filters the alignment based on similar hosts.static Alignment
Deprecated.static Alignment
ConfidenceCurvatureFilter.filter
(Alignment inputAlignment, MeltCurvature curvature) static Alignment
ConfidenceCurvatureFilter.filter
(Alignment inputAlignment, MeltCurvature curvature, String additionalConfidenceKey) ConfidenceFilter.filter
(Alignment inputAlignment, org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target) static Alignment
Filters the given alignment such that there are only the top X correspondences (according to confidence) for every source node.private static double[]
ConfidenceCurvatureFilter.getSortedConfidences
(Alignment alignment) private static double[]
ConfidenceCurvatureFilter.getSortedConfidences
(Alignment alignment, String additionalConfidenceKey) static double
ConfidenceCurvatureFilter.getThreshold
(Alignment inputAlignment, MeltCurvature curvature) static double
ConfidenceCurvatureFilter.getThreshold
(Alignment inputAlignment, MeltCurvature curvature, String additionalConfidenceKey) AdditionalConfidenceFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) AnonymousNodeFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) BadHostsFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) CardinalityFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties p) Deprecated.ConfidenceCurvatureFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties p) ConfidenceFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) MixedTypFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) NtoMCorrespondenceFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) ReflexiveCorrespondenceFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) TopXFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) TypeFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) static Alignment
ReflexiveCorrespondenceFilter.removeReflexiveCorrespondences
(Alignment alignment) Removes all reflexive edges (which maps A to A) from an alignment. -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.filter.extraction
Modifier and TypeMethodDescriptionstatic Alignment
static Alignment
static Alignment
MaxWeightBipartiteExtractor.filter
(Alignment inputAlignment, MwbInitHeuristic heuristic) static Alignment
MaxWeightBipartiteExtractor.filter
(Alignment inputAlignment, MwbInitHeuristic heuristic, int multiplier) Filters the alignment by computing a maximal one to one alignment.static Alignment
static Alignment
HungarianExtractor.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) MaxWeightBipartiteExtractor.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) NaiveAscendingExtractor.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties p) NaiveDescendingExtractor.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties p) Modifier and TypeMethodDescriptionstatic Alignment
static Alignment
static Alignment
MaxWeightBipartiteExtractor.filter
(Alignment inputAlignment, MwbInitHeuristic heuristic) static Alignment
MaxWeightBipartiteExtractor.filter
(Alignment inputAlignment, MwbInitHeuristic heuristic, int multiplier) Filters the alignment by computing a maximal one to one alignment.static Alignment
static Alignment
HungarianExtractor.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) MaxWeightBipartiteExtractor.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) NaiveAscendingExtractor.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties p) NaiveDescendingExtractor.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties p) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.filter.instance
Modifier and TypeMethodDescriptionCommonPropertiesFilter.filter
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment) BagOfWordsSetSimilarityFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) CommonPropertiesFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) SimilarHierarchyFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) SimilarNeighboursFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) SimilarTypeFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) Modifier and TypeMethodDescriptionCommonPropertiesFilter.filter
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment) BagOfWordsSetSimilarityFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) CommonPropertiesFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) SimilarHierarchyFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) SimilarNeighboursFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) SimilarTypeFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) static double
CommonPropertiesFilter.sharedProperties
(org.apache.jena.ontology.Individual individualSource, org.apache.jena.ontology.Individual individualTarget, Alignment inputAlignment, boolean excludeSameURIMapping, double minPropertyConfidence, SetSimilarity setComparator) Return the number of overlapping distinct properties. -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.instancelevel
Modifier and TypeMethodDescriptionMatchClassBasedOnInstances.getClassMatches
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment) MatchPropBasedOnInstances.getPropertyAlignment
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment) MatchClassBasedOnInstances.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) MatchPropBasedOnInstances.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) Modifier and TypeMethodDescriptionMatchClassBasedOnInstances.getClassMatches
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment) MatchPropBasedOnInstances.getPropertyAlignment
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment) MatchClassBasedOnInstances.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) MatchPropBasedOnInstances.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.metalevel
Modifier and TypeFieldDescriptionAddAlignmentMatcher.alignmentToBeUsed
Alignment to be added.ForwardAlwaysMatcher.alignmentToBeUsed
Alignment to be returned.ForwardMatcher.alignmentToBeUsed
Alignment to be returned.Modifier and TypeMethodDescriptionMachineLearningWEKAFilter.applyModel
(File model, Alignment alignment) static Alignment
TrainingAlignmentGenerator.getTrainingAlignment
(Alignment recallAlignment, Alignment referenceAlignment) Deprecated.This method returns a training alignment based on a recall alignment and a reference alignment.AddAlignmentExtensions.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) AddAlignmentMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) AdditionalConfidenceByFunction.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) AlignmentSaveMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) ConfidenceCombiner.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) FileSaveMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) ForwardAlwaysMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) ForwardMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) MachineLearningWEKAFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) NoOpMatcher.match
(URL source, URL target, Alignment inputAlignment, Properties properties) ScaleAdditionalConfidence.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) ScaleConfidence.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) TrainingAlignmentGenerator.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties parameters) Deprecated.static Alignment
Scales all additional confidence values (separately) between zero and one.static Alignment
ScaleAdditionalConfidence.scale
(Alignment alignment, double newMin, double newMax, Set<String> keys) Scales the additional confidence values of the provides keys (separately) between newMin and newMax.static Alignment
Scales the additional confidence values (separately) of the provides keys between zero and one.static Alignment
static Alignment
Modifier and TypeMethodDescriptionMachineLearningWEKAFilter.applyModel
(File model, Alignment alignment) static Alignment
TrainingAlignmentGenerator.getTrainingAlignment
(Alignment recallAlignment, Alignment referenceAlignment) Deprecated.This method returns a training alignment based on a recall alignment and a reference alignment.weka.core.Instances
MachineLearningWEKAFilter.getTrainingInstances
(Alignment alignment) Generates the weka instances which can be used for training a model .AddAlignmentExtensions.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) AddAlignmentMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) AdditionalConfidenceByFunction.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) AlignmentSaveMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) ConfidenceCombiner.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) FileSaveMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) ForwardAlwaysMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) ForwardMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) MachineLearningWEKAFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) NoOpMatcher.match
(URL source, URL target, Alignment inputAlignment, Properties properties) ScaleAdditionalConfidence.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) ScaleConfidence.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) TrainingAlignmentGenerator.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties parameters) Deprecated.static Alignment
Scales all additional confidence values (separately) between zero and one.static Alignment
ScaleAdditionalConfidence.scale
(Alignment alignment, double newMin, double newMax, Set<String> keys) Scales the additional confidence values of the provides keys (separately) between newMin and newMax.static Alignment
Scales the additional confidence values (separately) of the provides keys between zero and one.static Alignment
static Alignment
MachineLearningWEKAFilter.trainModel
(Alignment trainingAlignment) ModifierConstructorDescriptionAddAlignmentMatcher
(Alignment alignmentToBeUsed) ConstructorForwardAlwaysMatcher
(Alignment alignmentToBeUsed) ConstructorForwardMatcher
(Alignment alignmentToBeUsed) ConstructorMachineLearningWEKAFilter
(Alignment trainingAlignment) MachineLearningWEKAFilter
(Alignment trainingAlignment, int crossValidationNumber, int numberOfParallelJobs) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.multisource.clustering
Modifier and TypeMethodDescriptionFilterByErrorDegree.addConfidence
(Alignment alignment) static <T> Alignment
ClusterUtil.addCorrespondencesMultiCluster
(Alignment alignment, Map<String, Set<T>> uriToClusterId) This function adds correspondences from the alignment where the source and target are in the same cluster.FamerClustering.processAlignment
(Alignment inputAlignment) static <T> Alignment
ClusterUtil.removeCorrespondences
(Alignment alignment, Map<String, T> uriToClusterId) This function removes correspondences from the alignment where the two matched entities are not in the same cluster.static <T> Alignment
ClusterUtil.removeCorrespondencesMultiCluster
(Alignment alignment, Map<String, Set<T>> uriToClusterId) This function removes correspondences from the alignment where the two matched entities are not in the same cluster.Modifier and TypeMethodDescriptionFilterByErrorDegree.addConfidence
(Alignment alignment) static <T> Alignment
ClusterUtil.addCorrespondencesMultiCluster
(Alignment alignment, Map<String, Set<T>> uriToClusterId) This function adds correspondences from the alignment where the source and target are in the same cluster.void
FilterByErrorDegree.analyzeErrDistribution
(Alignment alignment, File file) Write a tsv file which contains the err value in the first column and the number of correspondences with this value as a second column.FamerClustering.getClusters
(Alignment alignment, org.gradoop.famer.clustering.parallelClustering.AbstractParallelClustering clusteringAlgorithm, DatasetIDExtractor datsetIdExtractor) Computes a map between uris and correspoding clusterId.FamerClustering.getClusters
(Alignment alignment, org.gradoop.famer.clustering.parallelClustering.AbstractParallelClustering clusteringAlgorithm, DatasetIDExtractor datsetIdExtractor, int parallelism) Computes a map between uris and correspoding clusterId.private static LogicalGraphAndSourceIds
FamerClustering.getLogicalGraphFromAlignment
(Alignment a, DatasetIDExtractor datsetIdExtractor, int parallelism) FamerClustering.processAlignment
(Alignment inputAlignment) static <T> Alignment
ClusterUtil.removeCorrespondences
(Alignment alignment, Map<String, T> uriToClusterId) This function removes correspondences from the alignment where the two matched entities are not in the same cluster.static <T> Alignment
ClusterUtil.removeCorrespondencesMultiCluster
(Alignment alignment, Map<String, Set<T>> uriToClusterId) This function removes correspondences from the alignment where the two matched entities are not in the same cluster. -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.multisource.dispatchers
Modifier and TypeFieldDescriptionMultiSourceDispatcherIncrementalMerge.goldStandard
MultiSourceDispatcherIncrementalMerge.intermediateAlignments
Modifier and TypeMethodDescriptionMultiSourceDispatcherIncrementalMerge.getIntermediateAlignments()
Returns the intermediate alignments.Modifier and TypeMethodDescriptionprivate static org.apache.jena.graph.Node
private static NodeAndReplaced
MergeExecutor.getNodeAndReplaced
(Alignment alignment, org.apache.jena.graph.Node node) static void
MergeExecutor.mergeSourceIntoTarget
(org.apache.jena.rdf.model.Model source, org.apache.jena.rdf.model.Model target, Alignment alignment, boolean addInformationToUnion) Merges all triples from the source model into the target model.private static void
MergeExecutor.mergeSourceIntoTargetFullInformation
(org.apache.jena.rdf.model.Model source, org.apache.jena.rdf.model.Model target, Alignment alignment) private static void
MergeExecutor.mergeSourceIntoTargetPartialInformation
(org.apache.jena.rdf.model.Model source, org.apache.jena.rdf.model.Model target, Alignment alignment) void
MultiSourceDispatcherIncrementalMerge.setGoldStandard
(Alignment alignment, DatasetIDExtractor idExtractor) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.structurelevel
Modifier and TypeMethodDescriptionMatchPropBasedOnClass.getPropertyMatches
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment) BoundedPathMatching.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) MatchPropBasedOnClass.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) Modifier and TypeMethodDescriptionMatchPropBasedOnClass.getPropertyMatches
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment) BoundedPathMatching.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) MatchPropBasedOnClass.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.util.addnegatives
Modifier and TypeMethodDescriptionstatic Alignment
AddNegativesViaAlignment.addNegatives
(Alignment recallAlignment, Alignment referenceAlignment) This method returns a training alignment based on a recall alignment and a reference alignment.static Alignment
AddNegativesViaMatcher.addNegatives
(Alignment recallAlignment, Alignment referenceAlignment) This method returns a training alignment based on a recall alignment and a reference alignment.AddNegativesViaAlignment.getRecallAlignment()
AddNegativesRandomlyAbsolute.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties parameters) AddNegativesRandomlyOneOneAssumption.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties parameters) AddNegativesRandomlyShare.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties parameters) AddNegativesViaAlignment.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties parameters) AddNegativesViaMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties parameters) Modifier and TypeMethodDescriptionstatic Alignment
AddNegativesViaAlignment.addNegatives
(Alignment recallAlignment, Alignment referenceAlignment) This method returns a training alignment based on a recall alignment and a reference alignment.static Alignment
AddNegativesViaMatcher.addNegatives
(Alignment recallAlignment, Alignment referenceAlignment) This method returns a training alignment based on a recall alignment and a reference alignment.AddNegativesRandomlyAbsolute.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties parameters) AddNegativesRandomlyOneOneAssumption.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties parameters) AddNegativesRandomlyShare.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties parameters) AddNegativesViaAlignment.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties parameters) AddNegativesViaMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties parameters) void
AddNegativesViaAlignment.setRecallAlignment
(Alignment recallAlignment) ModifierConstructorDescriptionAddNegativesViaAlignment
(Alignment recallAlignment) Constructor with requires the recall alignment. -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.wrapper
Modifier and TypeMethodDescriptionprivate Alignment
ParisMatcher.findEquivalence
(Alignment directionOne, Alignment directionTwo) private Alignment
ParisMatcher.getAlignment
(File outputFolder) private Alignment
ParisMatcher.getAlignmentHighestIteration
(List<File> files) ParisMatcher.match
(URL source, URL target, Alignment inputAlignment, Properties properties) ParisMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) UriInterfaceWrapper.match
(URL source, URL target, Alignment inputAlignment, Properties parameters) Modifier and TypeMethodDescriptionprivate Alignment
ParisMatcher.findEquivalence
(Alignment directionOne, Alignment directionTwo) ParisMatcher.match
(URL source, URL target, Alignment inputAlignment, Properties properties) ParisMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) UriInterfaceWrapper.match
(URL source, URL target, Alignment inputAlignment, Properties parameters) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_jena.multisource
Modifier and TypeMethodDescriptionabstract Alignment
MatcherMultiSourceYAAAJena.match
(List<org.apache.jena.ontology.OntModel> graphs, Alignment inpuAlignment, Properties parameters) Modifier and TypeMethodDescriptionabstract Alignment
MatcherMultiSourceYAAAJena.match
(List<org.apache.jena.ontology.OntModel> graphs, Alignment inpuAlignment, Properties parameters) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_ml.python
Modifier and TypeMethodDescriptionPythonServer.alignModel
(String vectorPathSource, String vectorPathTarget, String function, Alignment alignment) Align two knowledge graph embeddingsstatic Alignment
MachineLearningScikitFilter.applyStoredMLModel
(File modelFile, Alignment predictAlignment, List<String> confidenceNames) Load a machine learning model from a file (trained/generated with trainAndStoreMLModel) and apply it to the alignment which is then filtered.private static Alignment
MachineLearningScikitFilter.filterAlignment
(Alignment fullAlignment, List<Correspondence> orderedAlignment, List<Integer> predictions) Doc2vecModelMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) MachineLearningScikitFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) VectorSpaceModelMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) private Alignment
PythonServer.queryVectorSpaceModel
(String modelPath, Alignment alignment) Method to query a vector space model (which has to be trained with trainVectorSpaceModel) in a batch mode.PythonServer.sentenceTransformersPrediction
(SentenceTransformersMatcher matcher, File corpusFile, File queriesFile) Run sentence transformers prediction.static Alignment
MachineLearningScikitFilter.trainAndApplyMLModel
(Alignment trainAlignment, Alignment predictAlignment, List<String> confidenceNames, int crossValidationNumber, int numberOfParallelJobs) Trains a machine learning model in python and applies it to the predictAlignment to filter it.Modifier and TypeMethodDescriptionPythonServer.alignModel
(String vectorPathSource, String vectorPathTarget, String function, Alignment alignment) Align two knowledge graph embeddingsstatic Alignment
MachineLearningScikitFilter.applyStoredMLModel
(File modelFile, Alignment predictAlignment, List<String> confidenceNames) Load a machine learning model from a file (trained/generated with trainAndStoreMLModel) and apply it to the alignment which is then filtered.private static Alignment
MachineLearningScikitFilter.filterAlignment
(Alignment fullAlignment, List<Correspondence> orderedAlignment, List<Integer> predictions) Doc2vecModelMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) MachineLearningScikitFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) VectorSpaceModelMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) PythonServer.queryVectorSpaceModel
(String modelPath, Alignment alignment) Method to query a vector space model (which has to be trained with trainVectorSpaceModel) in a batch mode.static Alignment
MachineLearningScikitFilter.trainAndApplyMLModel
(Alignment trainAlignment, Alignment predictAlignment, List<String> confidenceNames, int crossValidationNumber, int numberOfParallelJobs) Trains a machine learning model in python and applies it to the predictAlignment to filter it.MachineLearningScikitFilter.trainAndStoreMLModel
(Alignment alignment, File modelFile, List<String> confidenceNames, int crossValidationNumber, int numberOfParallelJobs) Trains a machine learning model in python based on the given alignment and then stores the best model in a file.private void
Doc2vecModelMatcher.updateConfidences
(PythonServer pythonServer, String modelName, Alignment inputAlignment) private void
VectorSpaceModelMatcher.updateConfidences
(PythonServer pythonServer, String modelName, Alignment inputAlignment) ModifierConstructorDescriptionMachineLearningScikitFilter
(Alignment trainingAlignment) MachineLearningScikitFilter
(Alignment trainingAlignment, int crossValidationNumber, int numberOfParallelJobs) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_ml.python.nlptransformers
Modifier and TypeMethodDescriptionLLMBinaryFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) LLMChooseGivenEntityFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) SentenceTransformersMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties parameters) TransformersBaseFineTuner.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) This method does only fine tune the model and does not match any entities.TransformersFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) Modifier and TypeMethodDescriptionLLMBinaryFilter.createPredictionFile
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment predictionAlignment, File outputFile, boolean append) Create the prediction file which is a CSV file with two columns.The first column is the text from the left resource and the second column is the text from the right resource.TransformersFilter.createPredictionFile
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment predictionAlignment, File outputFile, boolean append) Create the prediction file which is a CSV file with two columns.The first column is the text from the left resource and the second column is the text from the right resource.TransformersBaseFineTuner.createTrainingFile
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment trainingAlignment) Creates a new file and writes all correspondences as textual data to it.void
SentenceTransformersPredicate.init
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties parameters) void
SentenceTransformersPredicateInputAlignment.init
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties parameters) LLMBinaryFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) LLMChooseGivenEntityFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) SentenceTransformersMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties parameters) TransformersBaseFineTuner.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) This method does only fine tune the model and does not match any entities.TransformersFilter.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) protected int
TransformersBaseFineTuner.writeClassificationFormat
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment trainingAlignment, File trainFile, boolean append) int
SentenceTransformersFineTuner.writeTrainingFile
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment trainingAlignment, File trainFile, boolean append) Writes the correspondences to a file (append or not can be chosen by a parameter).int
TransformersBaseFineTuner.writeTrainingFile
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment trainingAlignment, File trainFile, boolean append) Writes the correspondences to a file (append or not can be chosen by a parameter).private int
SentenceTransformersFineTuner.writeTripletFormat
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment trainingAlignment, File trainFile, boolean append) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_ml.python.nlptransformers.relationprediction
Modifier and TypeMethodDescriptionRelationTypePredictor.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) Modifier and TypeMethodDescriptionRelationTypePredictor.createPredictionFile
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment predictionAlignment, File outputFile, boolean append) RelationTypePredictor.createPredictionFile
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment predictionAlignment, File outputFile, boolean append, boolean requiresSwitchExmaples) RelationTypePredictor.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties properties) int
RelationTypeFineTuner.writeTrainingFile
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment trainingAlignment, File trainFile, boolean append) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_ml.python.openea
Modifier and TypeMethodDescriptionOpenEAMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties parameter) Modifier and TypeMethodDescriptionOpenEAMatcher.match
(org.apache.jena.ontology.OntModel source, org.apache.jena.ontology.OntModel target, Alignment inputAlignment, Properties parameter) protected void
OpenEAMatcher.writeTrainValAlignments
(Alignment a, File alignmentFolder) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_ml.util
Modifier and TypeFieldDescriptionprivate Alignment
TrainTestSplitAlignment.test
private Alignment
TrainTestSplitAlignment.train
Modifier and TypeMethodDescriptionTrainTestSplitAlignment.getTest()
Returns the test alignment.TrainTestSplitAlignment.getTrain()
Returns the training alignment.Modifier and TypeMethodDescriptionprivate void
TrainTestSplitAlignment.initializeTrainTest
(Alignment alignment, TrainTestSplit<Correspondence> split) ModifierConstructorDescriptionTrainTestSplitAlignment
(Alignment alignment, double train_ratio) TrainTestSplitAlignment
(Alignment alignment, double train_ratio, long seed) TrainTestSplitAlignment
(Alignment alignment, double train_ratio, long seed, Function<Correspondence, ?> stratify) TrainTestSplitAlignment
(Alignment alignment, double train_ratio, Function<Correspondence, ?> stratify) TrainTestSplitAlignment
(Alignment alignment, double train_ratio, Random rnd) TrainTestSplitAlignment
(Alignment alignment, double train_ratio, Random rnd, Function<Correspondence, ?> stratify) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_owlapi
Modifier and TypeMethodDescriptionMatcherPipelineYAAAOwlApi.match
(org.semanticweb.owlapi.model.OWLOntology source, org.semanticweb.owlapi.model.OWLOntology target, Alignment inputAlignment, Properties p) abstract Alignment
MatcherYAAA.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.MatcherYAAAOwlApi.match
(URL source, URL target, Alignment inputAlignment, Properties properties) abstract Alignment
MatcherYAAAOwlApi.match
(org.semanticweb.owlapi.model.OWLOntology source, org.semanticweb.owlapi.model.OWLOntology target, Alignment inputAlignment, Properties p) Modifier and TypeMethodDescriptionMatcherPipelineYAAAOwlApi.match
(org.semanticweb.owlapi.model.OWLOntology source, org.semanticweb.owlapi.model.OWLOntology target, Alignment inputAlignment, Properties p) abstract Alignment
MatcherYAAA.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.MatcherYAAAOwlApi.match
(URL source, URL target, Alignment inputAlignment, Properties properties) abstract Alignment
MatcherYAAAOwlApi.match
(org.semanticweb.owlapi.model.OWLOntology source, org.semanticweb.owlapi.model.OWLOntology target, Alignment inputAlignment, Properties p) -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_owlapi_matchers
Modifier and TypeMethodDescriptionstatic Alignment
AlcomoFilter.alcomoAlignmentToYaaaAlignment
(de.uni_mannheim.informatik.dws.alcomo.mapping.Mapping alcomoAlignment) Mapping from Alcomo Mapping to YAAA'sAlignment
.AlcomoFilter.match
(org.semanticweb.owlapi.model.OWLOntology source, org.semanticweb.owlapi.model.OWLOntology target, Alignment inputAlignment, Properties p) OwlAPI implementation.Modifier and TypeMethodDescriptionAlcomoFilter.match
(org.semanticweb.owlapi.model.OWLOntology source, org.semanticweb.owlapi.model.OWLOntology target, Alignment inputAlignment, Properties p) OwlAPI implementation.(package private) static String
AlcomoFilter.serializeAlignmentToTemporaryFile
(Alignment alignment) Serialize the alignment to a file and return its path. -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.matching_owlapi_matchers.logmap
Modifier and TypeMethodDescriptionLogMapRepairFilter.match
(org.semanticweb.owlapi.model.OWLOntology source, org.semanticweb.owlapi.model.OWLOntology target, Alignment inputAlignment, Properties p) static Alignment
LogmapMapping2Alignment.transformAlignment
(Set<uk.ac.ox.krr.logmap2.mappings.objects.MappingObjectStr> mappings) static Alignment
LogmapMapping2Alignment.transformAlignment
(Set<uk.ac.ox.krr.logmap2.mappings.objects.MappingObjectStr> subsetOldAlignment, Alignment oldAlignment) This function is for filtering possibilities.Modifier and TypeMethodDescriptionLogMapRepairFilter.match
(org.semanticweb.owlapi.model.OWLOntology source, org.semanticweb.owlapi.model.OWLOntology target, Alignment inputAlignment, Properties p) static Set<uk.ac.ox.krr.logmap2.mappings.objects.MappingObjectStr>
Alignment2LogmapMapping.transformAlignment
(Alignment alignment) static Set<uk.ac.ox.krr.logmap2.mappings.objects.MappingObjectStr>
Alignment2LogmapMapping.transformAlignment
(Alignment alignment, org.semanticweb.owlapi.model.OWLOntology source, org.semanticweb.owlapi.model.OWLOntology target) static Alignment
LogmapMapping2Alignment.transformAlignment
(Set<uk.ac.ox.krr.logmap2.mappings.objects.MappingObjectStr> subsetOldAlignment, Alignment oldAlignment) This function is for filtering possibilities. -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.yet_another_alignment_api
Modifier and TypeMethodDescriptionstatic Alignment
Alignment.copyExtensionsToAlignment
(Alignment sourceAlignment, Alignment targetAlignment) This method creates a deep copy oftargetAlignment
and further copies extension values from thesourceAlignment
.static Alignment
Alignment.copyExtensionsToAlignment
(Alignment sourceAlignment, Alignment targetAlignment, boolean isOverwriteValues) This method creates a deep copy oftargetAlignment
and further copies extension values from thesourceAlignment
.Alignment.cut
(double threshold) Returns a new alignment which contains only correspondences above or equal the given threshold (it will not modify the current object).AlignmentHandler.getAlignment()
static Alignment
Alignment.intersection
(Alignment alignment_1, Alignment alignment_2) Create the intersection between the two given alignments.static Alignment
AlignmentXmlRepair.loadRepairedAlignment
(File alignmentFile) Loads a repaired alignment.static Alignment
Parse a file and returns the corresponding Alignment object.More options are available when using constructors.static Alignment
Alignment.parse
(InputStream stream) Parse a stream and returns the corresponding Alignment object.static Alignment
Parse a text and returns the corresponding Alignment object.static Alignment
Parses the given file as alignment.static Alignment
AlignmentParser.parse
(InputStream s) static Alignment
Reference the alignment file to be parsed using a String URI.static Alignment
Reference the alignment file to be parsed using a String URI.static Alignment
static Alignment
SSSOMParser.parse
(InputStream s) static Alignment
Parse alignment from CSV (comma separated file) with header (source, target, confidence, relation).static Alignment
AlignmentParser.parseCSVWithoutHeader
(File file) Parse alignment from CSV (comma separated file) without header.static Alignment
AlignmentParser.parseCSVWithoutHeader
(File file, char delimiter) Parse alignment from CSV (comma separated file) without header.static Alignment
AlignmentParser.parseFromText
(String text) Parses an alignment based on the textual representation.static Alignment
Parse alignment from TSV (tab separated file) without header.The columns are source \t target \t confidence \t relation.Alignment.reverse()
Reverse the alignment (switches sources with targets) and adjust(reverse) the relation.Alignment.reverseWithoutRelationChange()
Reverse the alignment (switches sources with targets) and does not change the relation.Alignment.sample
(int n) Returns a random sample of correspondences.Alignment.sample
(int n, long seed) Returns a random sample of correspondences.Returns a random sample of correspondences.Alignment.sampleByFraction
(double fraction) Returns a random sample of correspondences.Alignment.sampleByFraction
(double fraction, long seed) Returns a random sample of correspondences.Alignment.sampleByFraction
(double fraction, Random rnd) Returns a random sample of correspondences.static Alignment
Alignment.subtraction
(Alignment alignment_1, Alignment alignment_2) Create the subtraction between the two given alignments.static Alignment
Alignment.switchSourceWithTarget
(Alignment alignment) Deprecated.use function reversestatic Alignment
Create the union between the two given alignments.Modifier and TypeMethodDescriptionstatic Alignment
Alignment.copyExtensionsToAlignment
(Alignment sourceAlignment, Alignment targetAlignment) This method creates a deep copy oftargetAlignment
and further copies extension values from thesourceAlignment
.static Alignment
Alignment.copyExtensionsToAlignment
(Alignment sourceAlignment, Alignment targetAlignment, boolean isOverwriteValues) This method creates a deep copy oftargetAlignment
and further copies extension values from thesourceAlignment
.void
Alignment.copyExtensionsToThisAlignment
(Alignment otherAlignment) Copies extensions from correspondences in theotherAlignment
to this alignment.void
Alignment.copyExtensionsToThisAlignment
(Alignment otherAlignment, boolean isOverwriteValues) Copies extensions from correspondences in theotherAlignment
to this alignment.static List<Correspondence>
Alignment.createOrder
(Alignment alignment) Creates a deterministic order of correspondences.private static String
AlignmentSerializer.getXmlIntro
(Alignment alignment) XML header.static Alignment
Alignment.intersection
(Alignment alignment_1, Alignment alignment_2) Create the intersection between the two given alignments.static void
AlignmentParser.parse
(InputStream s, Alignment m) static String
Serializes an alignment as String.static void
Method to write the specified alignment to the specified file in the default XML format.static void
AlignmentSerializer.serialize
(Alignment alignment, OutputStream stream) Method to write the specified alignment to the specified outputstream in the default XML format.static String
Serializes an alignment as String.static String
Serializes an alignment as String.static void
Method to write the specified alignment to the specified file in the SSSOM format.static void
SSSOMSerializer.serialize
(Alignment alignment, OutputStream stream) Method to write the specified alignment to the specified file in the SSSOM format.static void
SSSOMSerializer.serialize
(Alignment alignment, OutputStream stream, boolean includeNonSSSOMAttributes) Method to write the specified alignment to the specified file in the SSSOM format.static void
AlignmentSerializer.serializeToCSV
(Alignment alignment, File file) Method to write the specified alignment to the specified file (in CSV format).static void
AlignmentSerializer.serializeToCSVWithExtensions
(Alignment alignment, File file) Method to write the specified alignment to the specified file (in CSV format).static Alignment
Alignment.subtraction
(Alignment alignment_1, Alignment alignment_2) Create the subtraction between the two given alignments.static Alignment
Alignment.switchSourceWithTarget
(Alignment alignment) Deprecated.use function reversestatic Alignment
Create the union between the two given alignments.private static void
SSSOMSerializer.writeMetadata
(SSSOMPrefixMap prefixMap, Alignment a, OutputStreamWriter writer, boolean includeNonSSSOMAttributes) ModifierConstructorDescriptionCopy constructor which copies all information stores in alignment as well as all correspondences.Copy constructor which copies all information stores in alignment as well as all correspondences (depending on attribute copyCorrespondences).AlignmentHandler
(Alignment alignment) Constructor -
Uses of Alignment in de.uni_mannheim.informatik.dws.melt.yet_another_alignment_api.typetransformation
Modifier and TypeMethodDescriptionURL2AlignmentTransformer.transform
(URL value, Properties parameters) Modifier and TypeMethodDescriptionstatic URL
Alignment2URLTransformer.serializeAlignmentToTmpDir
(Alignment alignment) Alignment2URLTransformer.transform
(Alignment value, Properties parameters)