View Source Grax (Grax v0.3.4)
The Grax API.
For now there is no API documentation. Read about the API in the guide here.
Link to this section Summary
Link to this section Functions
@spec add_additional_statements(Grax.Schema.t(), map()) :: Grax.Schema.t()
@spec additional_statements(Grax.Schema.t()) :: RDF.Description.t()
@spec clear_additional_statements(Grax.Schema.t(), opts :: keyword()) :: Grax.Schema.t()
@spec delete_additional_statements(Grax.Schema.t(), map()) :: Grax.Schema.t()
@spec put_additional_statements(Grax.Schema.t(), map()) :: Grax.Schema.t()
@spec to_rdf(Grax.Schema.t(), opts :: keyword()) :: {:ok, RDF.Graph.t()} | {:error, any()}
@spec to_rdf!(Grax.Schema.t(), opts :: keyword()) :: RDF.Graph.t()
@spec valid?(Grax.Schema.t(), opts :: keyword()) :: boolean()
@spec validate(Grax.Schema.t(), opts :: keyword()) :: {:ok, Grax.Schema.t()} | {:error, Grax.ValidationError.t()}
@spec validate!(Grax.Schema.t(), opts :: keyword()) :: Grax.Schema.t()