[WIP] First attempt at using Open Annotation Data Model

Annotations can now be serialised into JSON-LD formatted RDF, following
the data model spec: http://www.openannotation.org/spec/core/

Addresses #74
Then you have to guard the setting so you don't have null in the JSON there.
On Jul 29, 2014 4:09 PM, "Gerben" <notifications@github.com> wrote:

> In annotator/annotation.py:
>
> > @@ -40,6 +52,8 @@ class Annotation(es.Model):
> >      __type__ = TYPE
> >      __mapping__ = MAPPING
> >
> > +    jsonld_baseurl = ''
>
> I think it's nice to have some default setting for it, so it's immediately
> obvious that it can be set, there's a place for its documentation, it shows
> up in tab completion in IDEs, etcetera. Setting it to None seems to be the
> elegant approach here.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/openannotation/annotator-store/pull/83/files#r15558751>
> .
>