Warning:
This wiki has been archived and is now read-only.
Sopa Style
From Open Annotation Community Group
Model Feature Example: Style
Example of using a Style to record information about how a resource should be rendered to the user, following the SOPA example.
Explanation:
The Body, in this case, should be rendered (for some reason) with a green border for the purposes of this annotation. To record this information we use a Style (oax:CssValueStyle) on a Specific Resource. The Specific Resource identifies the styled video, and the Style describes how it should be rendered.
Model:
RDF:
<x:MyAnno> a oa:Annotation ; oa:hasBody <urn:uuid:6C97B503-25EE-4E37-875C-B7C850E13194> ; oa:hasTarget <http://en.wikipedia.org/> . <urn:uuid:6C97B503-25EE-4E37-875C-B7C850E13194> a oa:SpecificResource ; oa:hasSource <http://www.youtube.com/watch?v=uPh81LIe7B8> ; oa:hasStyle <urn:uuid:40F2B17E-7CA2-42C2-B5AF-5F35E5992B8B> . <urn:uuid:40F2B17E-7CA2-42C2-B5AF-5F35E5992B8B> a oax:CssValueStyle ; cnt:chars "{border: 3px solid green}" .