View Source FOAF.Image (FOAF.ex v0.1.0)

A Grax schema struct for foaf:Images.

See http://xmlns.com/foaf/0.1/#term_Image.

Summary

Types

@type t() :: %FOAF.Image{
  __additional_statements__: term(),
  __id__: term(),
  depictions: term(),
  depicts: term(),
  homepages: term(),
  is_primary_topic_of: term(),
  logos: term(),
  makers: term(),
  name: term(),
  pages: term(),
  phones: term(),
  primary_topic: term(),
  sha1: term(),
  thumbnail: term(),
  topics: 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()