View Source DCAT.CatalogRecord (DCAT.ex v0.1.0)

A Grax schema struct for dcat:CatalogRecords.

A record in a catalog, describing the registration of a single DCAT.Resource.

See https://www.w3.org/TR/vocab-dcat-3/#Class:Catalog_Record.

Summary

Types

@type t() :: %DCAT.CatalogRecord{
  __additional_statements__: term(),
  __id__: term(),
  conforms_to: term(),
  description: term(),
  listing_date: term(),
  primary_topic: term(),
  title: term(),
  update_date: 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()