View Source Ontogen.Store (Ontogen v0.1.1)

Base Grax schema for triple stores hosting an Ontogen.Repository.

Summary

Types

@type t() :: %Ontogen.Store{
  __additional_statements__: term(),
  __id__: term(),
  graph_store_endpoint: term(),
  host: term(),
  port: term(),
  query_endpoint: term(),
  scheme: term(),
  update_endpoint: term(),
  userinfo: term()
}

Functions

Link to this function

deref!(ref, graph, opts \\ [])

View Source
Link to this function

endpoint_base_with_path(store, path)

View Source
Link to this function

endpoint_base_with_path!(store, path)

View Source
@spec from(Grax.Schema.t()) :: {:ok, t()} | {:error, any()}
@spec from!(Grax.Schema.t()) :: t()
Link to this function

graph_store_endpoint(store_adapter)

View Source
Link to this function

graph_store_endpoint!(store)

View Source
Link to this function

load(graph, id, opts \\ [])

View Source
@spec load(
  RDF.Graph.t() | RDF.Description.t(),
  RDF.IRI.coercible() | RDF.BlankNode.t(),
  opts :: keyword()
) :: {:ok, t()} | {:error, any()}
Link to this function

load!(graph, id, opts \\ [])

View Source
@spec load!(
  RDF.Graph.t() | RDF.Description.t(),
  RDF.IRI.coercible() | RDF.BlankNode.t(),
  opts :: keyword()
) :: t()
Link to this function

query_endpoint(store_adapter)

View Source
Link to this function

this!(graph, opts \\ [])

View Source
Link to this function

update_endpoint(store_adapter)

View Source