Class DefaultPropertyMapper

    • Field Detail

      • LIMIT

        public int LIMIT
      • MINSIM

        public int MINSIM
    • Constructor Detail

      • DefaultPropertyMapper

        public DefaultPropertyMapper()
      • DefaultPropertyMapper

        public DefaultPropertyMapper​(org.apache.jena.rdf.model.Model sourceModel,
                                     org.apache.jena.rdf.model.Model targetModel)
    • Method Detail

      • getPropertyMapping

        public AMapping getPropertyMapping​(String endpoint1,
                                           String endpoint2,
                                           String classExpression1,
                                           String classExpression2)
        Applies stable matching to determine the best possible mapping of properties from two endpoints
        Specified by:
        getPropertyMapping in interface PropertyMapper
        Parameters:
        endpoint1 - Source endpoint
        endpoint2 - Target endpoint
        classExpression1 - Source class expression
        classExpression2 - Target class expression
        Returns:
      • getSourceModel

        public org.apache.jena.rdf.model.Model getSourceModel()
      • setSourceModel

        public void setSourceModel​(org.apache.jena.rdf.model.Model sourceModel)
        Specified by:
        setSourceModel in interface PropertyMapper
      • getTargetModel

        public org.apache.jena.rdf.model.Model getTargetModel()
      • setTargetModel

        public void setTargetModel​(org.apache.jena.rdf.model.Model targetModel)
        Specified by:
        setTargetModel in interface PropertyMapper
      • getMappingProperties

        public 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
      • isNumeric

        public static boolean isNumeric​(String input)
        Test whether the input string is numeric
        Parameters:
        input - String to test
        Returns:
        True is numeric, else false