Class StatementMatcher.StableRandomVariableProvider

  • Enclosing class:
    StatementMatcher

    public static class StatementMatcher.StableRandomVariableProvider
    extends Object
    • Constructor Detail

      • StableRandomVariableProvider

        public StableRandomVariableProvider()
      • StableRandomVariableProvider

        public StableRandomVariableProvider​(String prefix)
    • Method Detail

      • normalize

        public static String normalize​(String inputQuery)
        Normalize the use of random variables in a SPARQL query so that the numbering of queries starts at 0 in increments of one.
        Parameters:
        inputQuery - the query string that should be normalized
        Returns:
        a normalized query string