public class DefaultPropertyMapper extends Object implements PropertyMapper
| Constructor and Description |
|---|
DefaultPropertyMapper() |
DefaultPropertyMapper(org.apache.jena.rdf.model.Model sourceModel,
org.apache.jena.rdf.model.Model targetModel) |
| Modifier and Type | Method and Description |
|---|---|
AMapping |
getMappingProperties(String endpoint1,
String endpoint2,
String classExpression1,
String classExpression2)
Computes the mapping of property from enpoint1 to endpoint2 by using the
restriction classExpression 1 and classExpression2
|
AMapping |
getMonoDirectionalMap(String endpoint1,
String endpoint2,
String classExpression1,
String classExpression2) |
AMapping |
getPropertyMapping(String endpoint1,
String endpoint2,
String classExpression1,
String classExpression2)
Applies stable matching to determine the best possible mapping of
properties from two endpoints
|
org.apache.jena.rdf.model.Model |
getSourceModel() |
org.apache.jena.rdf.model.Model |
getTargetModel() |
static boolean |
isNumeric(String input)
Test whether the input string is numeric
|
void |
setSourceModel(org.apache.jena.rdf.model.Model sourceModel) |
void |
setTargetModel(org.apache.jena.rdf.model.Model targetModel) |
public DefaultPropertyMapper()
public DefaultPropertyMapper(org.apache.jena.rdf.model.Model sourceModel,
org.apache.jena.rdf.model.Model targetModel)
public AMapping getPropertyMapping(String endpoint1, String endpoint2, String classExpression1, String classExpression2)
getPropertyMapping in interface PropertyMapperendpoint1 - Source endpointendpoint2 - Target endpointclassExpression1 - Source class expressionclassExpression2 - Target class expressionpublic org.apache.jena.rdf.model.Model getSourceModel()
public void setSourceModel(org.apache.jena.rdf.model.Model sourceModel)
setSourceModel in interface PropertyMapperpublic org.apache.jena.rdf.model.Model getTargetModel()
public void setTargetModel(org.apache.jena.rdf.model.Model targetModel)
setTargetModel in interface PropertyMapperpublic AMapping getMappingProperties(String endpoint1, String endpoint2, String classExpression1, String classExpression2)
public AMapping getMonoDirectionalMap(String endpoint1, String endpoint2, String classExpression1, String classExpression2)
public static boolean isNumeric(String input)
input - String to testCopyright © 2020. All rights reserved.