Class QueryPattern

    • Method Detail

      • where

        public QueryPattern where​(GraphPattern... patterns)
        Add graph patterns to this query pattern. Adds the given patterns into this query pattern's group graph pattern
        Parameters:
        patterns - the patterns to add
        Returns:
        this
      • getQueryString

        public String getQueryString()
        Specified by:
        getQueryString in interface QueryElement
        Returns:
        the String representing the SPARQL syntax of this element