frex.stores package
Submodules
frex.stores.local_graph module
- class frex.stores.local_graph.LocalGraph(*, file_paths: Tuple[pathlib.Path, ...])[source]
Bases:
frex.stores.sparql_queryable.SparqlQueryable
LocalGraph should be used to store and access rdf graphs locally.
frex.stores.remote_graph module
- class frex.stores.remote_graph.RemoteGraph(*, endpoint: str)[source]
Bases:
frex.stores.sparql_queryable.SparqlQueryable
RemoteGraph is used for accessing remote SPARQL endpoints.
frex.stores.request_result_cache module
- class frex.stores.request_result_cache.RequestResultCache(*, result: rdflib.query.Result)[source]
Bases:
frex.stores.result_cache.ResultCache
RequestResultCache stores a local graph whose contents are the result of a query to some sparql queryable. After a single call to the graph containing relevant data, the contents of RequestResultCache should be used by the system for the remaining data formatting and retrieval functions.
frex.stores.result_cache module
- class frex.stores.result_cache.ResultCache[source]
Bases:
frex.stores.sparql_queryable.SparqlQueryable
,abc.ABC