Package org.aksw.limes.core.controller
Class LSPipeline
- java.lang.Object
-
- org.aksw.limes.core.controller.LSPipeline
-
public class LSPipeline extends Object
Execution pipeline for generating mappings out of link specifications. Provides overloaded convenience methods.- Author:
- Kevin Dreßler
-
-
Constructor Summary
Constructors Constructor Description LSPipeline()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AMappingexecute(ACache sourceCache, ACache targetCache, String metricExpression, double threshold, String sourceVar, String targetVar, RewriterFactory.RewriterType rewriterType, ExecutionPlannerFactory.ExecutionPlannerType executionPlannerType, ExecutionEngineFactory.ExecutionEngineType executionEngineType, long maxOpt, double k)Execute a LS given a string metric expression and a double threshold, generating a mapping.static AMappingexecute(ACache sourceCache, ACache targetCache, LinkSpecification ls)Execute a given LS with default rewriter, planner and execution engine, generating a mapping.static AMappingexecute(ACache sourceCache, ACache targetCache, LinkSpecification ls, String sourceVar, String targetVar, RewriterFactory.RewriterType rewriterType, ExecutionPlannerFactory.ExecutionPlannerType executionPlannerType, ExecutionEngineFactory.ExecutionEngineType executionEngineType, long maxOpt, double k)Execute a given LS, generating a mapping.
-
-
-
Method Detail
-
execute
public static AMapping execute(ACache sourceCache, ACache targetCache, String metricExpression, double threshold, String sourceVar, String targetVar, RewriterFactory.RewriterType rewriterType, ExecutionPlannerFactory.ExecutionPlannerType executionPlannerType, ExecutionEngineFactory.ExecutionEngineType executionEngineType, long maxOpt, double k)
Execute a LS given a string metric expression and a double threshold, generating a mapping.- Parameters:
sourceCache- Resources from source KBtargetCache- Resources from target KBmetricExpression- Specifies which measures are used and how they are combined to assert the similarity between two resourcesthreshold- Minimal similarity value for resource pairs to be included in the generated mappingsourceVar- Name of SPARQL variable for resources from source KBtargetVar- Name of SPARQL variable for resources from target KBrewriterType- Specifies rewriter module to useexecutionPlannerType- Specifies executionPlanner module to useexecutionEngineType- Specifies executionEngine module to use- Returns:
- Mapping of resources in sourceCache to resources in targetCache with similarity > threshold
-
execute
public static AMapping execute(ACache sourceCache, ACache targetCache, LinkSpecification ls, String sourceVar, String targetVar, RewriterFactory.RewriterType rewriterType, ExecutionPlannerFactory.ExecutionPlannerType executionPlannerType, ExecutionEngineFactory.ExecutionEngineType executionEngineType, long maxOpt, double k)
Execute a given LS, generating a mapping.- Parameters:
sourceCache- Resources from source KBtargetCache- Resources from target KBls- LIMES Link SpecificationsourceVar- Name of SPARQL variable for resources from source KBtargetVar- Name of SPARQL variable for resources from target KBrewriterType- Specifies rewriter module to useexecutionPlannerType- Specifies executionPlanner module to useexecutionEngineType- Specifies executionEngine module to use- Returns:
- Mapping of resources in sourceCache to resources in targetCache with similarity > threshold
-
execute
public static AMapping execute(ACache sourceCache, ACache targetCache, LinkSpecification ls)
Execute a given LS with default rewriter, planner and execution engine, generating a mapping.- Parameters:
sourceCache- Resources from source KBtargetCache- Resources from target KBls- LIMES Link Specification- Returns:
- Mapping of resources in sourceCache to resources in targetCache with similarity > threshold
-
-