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

A Grax schema struct for foaf:Persons.

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

Summary

Types

@type t() :: %FOAF.Person{
  __additional_statements__: term(),
  __id__: term(),
  accounts: term(),
  age: term(),
  aim_chat_id: term(),
  birthday: term(),
  current_projects: term(),
  depictions: term(),
  family_name: term(),
  first_name: term(),
  gender: term(),
  given_name: term(),
  homepages: term(),
  icq_chat_id: term(),
  images: term(),
  interests: term(),
  is_primary_topic_of: term(),
  jabber_id: term(),
  knows: term(),
  last_name: term(),
  logos: term(),
  made: term(),
  makers: term(),
  mbox: term(),
  mbox_sha1sum: term(),
  msn_chat_id: term(),
  myers_briggs: term(),
  name: term(),
  nick: term(),
  openid: term(),
  pages: term(),
  past_projects: term(),
  phones: term(),
  plan: term(),
  publications: term(),
  school_homepages: term(),
  skype_id: term(),
  status: term(),
  tipjars: term(),
  title: term(),
  topic_interests: term(),
  weblogs: term(),
  work_info_homepages: term(),
  workplace_homepages: term(),
  yahoo_chat_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()