[foaf-protocols] WebID for signing RDF graphs

Toby Inkster tai at g5n.co.uk
Wed Sep 22 12:49:17 CEST 2010

On Wed, 22 Sep 2010 09:14:14 +0200
Henry Story <henry.story at bblfish.net> wrote:

> Where do you place the signature? Inside the graph or outside?

There are three main methods that the library allows:

1. Given an RDF model, it just returns a string signature and doesn't
modify the model in any way.

2. Given an RDF document formatted in RDF/XML or Turtle, it adds the
signature using an XML-comment or Turtle comment as appropriate; given
an RDFa document, it adds the signature to a non-RDFa attribute on the
document root node. Thus the signature is inside the document, but
outside the graph.

3. Given a list of URIs which dereference to RDF graphs, it generates a
brand new RDF graph which lists the signatures for the RDF graphs.

Toby A Inkster
<mailto:mail at tobyinkster.co.uk>

More information about the foaf-protocols mailing list