View Source DCAT.VCard.Kind (DCAT.ex v0.1.0)

A Grax schema struct for vcard:Kinds.

The schema is left empty and serves just as a placeholder. It should be replaced in the future with a proper schema from a dedicated vCard package. Until then the information must be fetched manually from the additional statements.

See http://www.w3.org/TR/vcard-rdf/#Kind.

Summary

Types

@type t() :: %DCAT.VCard.Kind{__additional_statements__: term(), __id__: term()}

Functions

@spec from(Grax.Schema.t()) :: {:ok, t()} | {:error, any()}
@spec from!(Grax.Schema.t()) :: t()
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()