Description
There's logic in rdflib.plugins.sparql.evaluate to evaluate FROM and FROM NAMED in SPARQL queries that calls QueryContext.load in rdflib.plugins.sparql.sparql which loads graphs from remote resources. This behavior would be better handled by Store implementations (possibly indirectly through Graph): Stores can decide whether to use a locally stored graph or download one and from where, and the configuration that goes into the decision can be handled in the construction of the Store instance in Store.open rather than globally (e.g., with rdflib.plugins.sparql.SPARQL_LOAD_GRAPHS). The shared logic for loading the graph can be retained in a utility which stores can call if they need to load a graph and don't have their own mechanisms for doing so.