28 | | A user or a group of user is an agent, and for agents "Open Annotation" standart recommends to use {{{foaf}}} namespace, see [http://xmlns.com/foaf/spec/]. This data model is designed for social networks, and in principle suits DASISH schema for a user and permission lists. There is one little technical inconvenience: {{{foaf}}} agents do not have a property which can be used to define permission types (owner, reader, writer) directly. For now, permissions are represented via property {{{foaf:topic_interest}}}. |
| 28 | A user or a group of user is an agent, and for agents "Open Annotation" standart recommends to use {{{foaf}}} namespace, see [http://xmlns.com/foaf/spec/]. This data model is designed for social networks, and in principle suits DASISH schema for a user and permission lists. There is one little technical inconvenience: {{{foaf}}} agents do not have a property which can be used to define permission types (owner, reader, writer) directly. For now, permissions are represented via property {{{foaf:topic_interest}}}. Example: |
34 | | An annotation body in DASISH can be any correct xml. A generic way to present such bodies in "Open Annotation" is to consider a body, which (typically) has attributes and elements, as instances of {{{oa:Composite}}}. Any element and any attribute of the body becomes an {{{oa:item}}} of the body. If an element has sub-elements, it is an instance of {{{oa:composite}}} as well, etc. An attribute or an element with now sub-elements has one of the {{{dctypes}}} and one of the {{{dc:formtat}}}s, and possibly additional relevant properties, such as {{{cnt:chars}}} for text values. |
| 34 | An annotation body in DASISH can be any correct xml. A generic way to present such bodies in "Open Annotation" is to consider a body, which (typically) has attributes and elements, as instances of {{{oa:Composite}}}. Any element and any attribute of the body becomes an {{{oa:item}}} of the body. If an element has sub-elements, it is an instance of {{{oa:composite}}} as well, etc. An attribute or an element with now sub-elements has one of the {{{dctypes}}} and one of the {{{dc:formtat}}}s, and possibly additional relevant properties, such as {{{cnt:chars}}} for text values. Example: |
| 35 | |
| 36 | [[Image(annotation.png)]] |
| 37 | |
| 38 | Another example: |
| 39 | |
| 40 | [[Image(AnnotationUGOT.png)]] |