DCAT.DataService (DCAT.ex v0.1.1)

Copy Markdown View Source

A Grax schema struct for the dcat:DataService class.

A collection of operations that provides access to one or more datasets or data processing functions.

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

Summary

Types

t()

@type t() :: %DCAT.DataService{
  __additional_statements__: term(),
  __id__: term(),
  access_rights: term(),
  conforms_to: term(),
  contact_points: term(),
  creators: term(),
  current_version: term(),
  description: term(),
  endpoint_description: term(),
  endpoint_url: term(),
  has_part: term(),
  has_policy: term(),
  has_version: term(),
  identifier: term(),
  is_referenced_by: term(),
  keywords: term(),
  landing_pages: term(),
  languages: term(),
  licenses: term(),
  previous_version: term(),
  publishers: term(),
  qualified_attribution: term(),
  qualified_relation: term(),
  relation: term(),
  release_date: term(),
  replaces: term(),
  rights: term(),
  serves_dataset: term(),
  status: term(),
  themes: term(),
  title: term(),
  types: term(),
  update_date: term(),
  version: term(),
  version_notes: term()
}

Functions

build(id)

build(id, initial)

build!(id)

build!(id, initial)

build_id(attributes)

from(value)

@spec from(Grax.Schema.t()) :: {:ok, t()} | {:error, any()}

from!(value)

@spec from!(Grax.Schema.t()) :: t()

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

@spec load(
  RDF.Graph.t() | RDF.Description.t(),
  RDF.IRI.coercible() | RDF.BlankNode.t(),
  opts :: keyword()
) :: {:ok, t()} | {:error, any()}

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

@spec load!(
  RDF.Graph.t() | RDF.Description.t(),
  RDF.IRI.coercible() | RDF.BlankNode.t(),
  opts :: keyword()
) :: t()