View Source DCAT.Role (DCAT.ex v0.1.0)
A Grax schema struct for dcat:Role
s.
A role is the function of a resource or agent with respect to another resource, in the context of resource attribution or resource relationships.
Summary
Types
@type t() :: %DCAT.Role{ __additional_statements__: term(), __id__: term(), alt_label: term(), broad_matches: term(), broader: term(), change_note: term(), close_matches: term(), definition: term(), editorial_note: term(), exact_matches: term(), example: term(), hidden_label: term(), history_note: term(), in_schemes: term(), narrow_matches: term(), narrower: term(), notation: term(), note: term(), pref_label: term(), related: term(), related_matches: term(), scope_note: term(), top_concept_of: term() }
Functions
@spec from(Grax.Schema.t()) :: {:ok, t()} | {:error, any()}
@spec from!(Grax.Schema.t()) :: t()
@spec load( RDF.Graph.t() | RDF.Description.t(), RDF.IRI.coercible() | RDF.BlankNode.t(), opts :: keyword() ) :: {:ok, t()} | {:error, any()}
@spec load!( RDF.Graph.t() | RDF.Description.t(), RDF.IRI.coercible() | RDF.BlankNode.t(), opts :: keyword() ) :: t()