def fetch(rdf_url, from_remote: nil)
      begin
        graph = fetch_cached_graph(rdf_url)

        if graph.nil? && !from_remote
          raise TriplestoreAdapter::TriplestoreException, "graph not found in cache. Skipping fetch from remote graph"
        elsif graph.nil?
          graph = fetch_and_cache_graph(rdf_url)
        end

        graph
      rescue => e
        raise TriplestoreAdapter::TriplestoreException, e.message
      end
    end
def fetch(rdf_url, from_remote: nil)
      begin
        graph = fetch_cached_graph(rdf_url)

        if graph.nil? && !from_remote
          raise TriplestoreAdapter::TriplestoreException, "graph not found in cache. Skipping fetch from remote graph"
        elsif graph.nil?
          graph = fetch_and_cache_graph(rdf_url)
        end

        graph
      rescue => e
        raise TriplestoreAdapter::TriplestoreException, e.message
      end
    end
@param [Triplestore::Client] client

 Fetch a graph of the url to the RDF, first attempting to fetch the graph
 from the triplestore cache.

 @param [String] rdf_url
 @return [RDF::Graph]