This document defines the RDFS [[rdf-schema]] vocabulary for the [[[epub-anno-10]]]
specification. RDF versions of the vocabulary, in
Turtle [[turtle]] and
JSON-LD [[json-ld11]], as
well as a JSON-LD @context, are also available.
This document defines the EPUB Annotations Vocabulary 1.0, an RDFS [[rdf-schema]] vocabulary formalizing the terms defined in the [[[epub-anno-10]]] specification. The vocabulary is a "profile" of the W3C [[[annotation-vocab]]].
This document defines the EPUB Annotations Vocabulary 1.0, an RDFS [[rdf-schema]] vocabulary formalizing the terms defined in the [[[epub-anno-10]]] specification. The vocabulary is a "profile" of the W3C [[[annotation-vocab]]].
Publishing this vocabulary as a Working Group Note ensures the
stability of the vocabulary and of the related JSON-LD @context file.
This stability is important for implementers of [[epub-anno-10]] who
want to rely on the Linked Data aspects of the underlying Data Model.
This specification makes use of the following namespaces:
eahttp://www.w3.org/ns/ea#oahttp://www.w3.org/ns/oa#ashttp://www.w3.org/ns/activitystreams#foafhttp://xmlns.com/foaf/0.1/dchttp://purl.org/dc/terms/dctermshttp://purl.org/dc/terms/owlhttp://www.w3.org/2002/07/owl#rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#rdfshttp://www.w3.org/2000/01/rdf-schema#xsdhttp://www.w3.org/2001/XMLSchema#The following are class definitions in the ea namespace.
AboutInformation about the EPUB publication
See the formal definition of the term.
about@context:https://www.w3.org/ns/epub-anno.jsonldAnnotationEPUB Annotation Object
See the formal definition of the term.
oa:Annotationitemsbody, motivation, target@context:https://www.w3.org/ns/epub-anno.jsonldAnnotationSetSet of annotations
See the formal definition of the term.
about, generator, items, setTitle@context:https://www.w3.org/ns/epub-anno.jsonldBodyBody of an EPUB Annotation
See the formal definition of the term.
oa:TextualBodybodycolor, highlight, tags@context:https://www.w3.org/ns/epub-anno.jsonldCreatorCreator of an EPUB Annotation
See the formal definition of the term.
Person, Organization, or Software for typing, as these are the only
available creator types.foaf:Person ⊔ foaf:Organization ⊔ as:Applicationcreatorname@context:https://www.w3.org/ns/epub-anno.jsonldFragmentSelectorFragment Selector in EPUB
See the formal definition of the term.
oa:FragmentSelectorconformsTo@context:https://www.w3.org/ns/epub-anno.jsonldGeneratorGenerator
See the formal definition of the term.
generatorhomepagename@context:https://www.w3.org/ns/epub-anno.jsonldMetaMeta
See the formal definition of the term.
meta@context:https://www.w3.org/ns/epub-anno.jsonldSelectorEPUB Annotation selector
See the formal definition of the term.
FragmentSelector ⊔ oa:CssSelector ⊔ oa:TextPositionSelectorrefinedBy, selectorrefinedBy@context:https://www.w3.org/ns/epub-anno.jsonldTargetTarget of an EPUB Annotation.
See the formal definition of the term.
targetmeta, selector, source@context:https://www.w3.org/ns/epub-anno.jsonldThe following are property definitions in the ea namespace.
aboutInformation on the EPUB publication
See the formal definition of the term.
AnnotationSetAbout@context:https://www.w3.org/ns/epub-anno.jsonldbodyDesignates the body of an annotation
See the formal definition of the term.
oa:hasBodyAnnotationBody@context:https://www.w3.org/ns/epub-anno.jsonldcolorHighlight color
See the formal definition of the term.
Body@context:https://www.w3.org/ns/epub-anno.jsonldconformsToDesignates the fragment format
See the formal definition of the term.
dcterms:conformsToFragmentSelectordcterms:Standardhttps://tools.ietf.org/rfc/rfc3236.html, http://www.w3.org/TR/media-frags/, https://www.w3.org/TR/SVG/, https://wicg.github.io/scroll-to-text-fragment/@context:https://www.w3.org/ns/epub-anno.jsonldcreatorInformation on the creator of an annotation
See the formal definition of the term.
dcterms:creatorCreator@context:https://www.w3.org/ns/epub-anno.jsonldgeneratorInformation on the tool generating the annotations
See the formal definition of the term.
as:generatorAnnotationSetGenerator@context:https://www.w3.org/ns/epub-anno.jsonldhighlightHighlight mode
See the formal definition of the term.
Body@context:https://www.w3.org/ns/epub-anno.jsonldhomepageHomepage of the tool generating the annotations
See the formal definition of the term.
The property's value should be a URL, i.e., not a literal.
foaf:homepageGenerator@context:https://www.w3.org/ns/epub-anno.jsonlditemsItems in a set of annotations
See the formal definition of the term.
AnnotationSetAnnotation
In a JSON-LD representation, values to this property are supposed to be represented in the form of a JSON array, even if there is just a single value.
@context:https://www.w3.org/ns/epub-anno.jsonldmetaMeta
See the formal definition of the term.
TargetMeta@context:https://www.w3.org/ns/epub-anno.jsonldmotivationProvides the motivation for an annotation
See the formal definition of the term.
oa:motivatedByAnnotationoa:Motivationoa:bookmarking, oa:commenting,
oa:highlighting@context:https://www.w3.org/ns/epub-anno.jsonldnameName
See the formal definition of the term.
foaf:nameCreator ⊔ Generatorxsd:string@context:https://www.w3.org/ns/epub-anno.jsonldrefinedBySelector refinement
See the formal definition of the term.
oa:refinedBy property to the list
of Selector types available in EPUB.oa:refinedBySelectorSelector@context:https://www.w3.org/ns/epub-anno.jsonldselectorDesignates the selector(s) for a target
See the formal definition of the term.
oa:hasSelectorTargetSelector@context:https://www.w3.org/ns/epub-anno.jsonldsourceDesignates the source resource for the target
See the formal definition of the term.
The property's value should be a URL, i.e., not a literal.
oa:hasSourceTarget@context:https://www.w3.org/ns/epub-anno.jsonldtargetDesignates the target resource for the EPUB annotation
See the formal definition of the term.
oa:hasTargetAnnotationTarget@context:https://www.w3.org/ns/epub-anno.jsonldsetTitleTitle of the Annotation Set
See the formal definition of the term.
In the generated JSON-LD context file this term appears as "title".
AnnotationSetxsd:string@context:https://www.w3.org/ns/epub-anno.jsonldThe following are definitions for individuals in the ea namespace.
pinkPink selection color
See the formal definition of the term.
@context:https://www.w3.org/ns/epub-anno.jsonldorangeOrange selection color
See the formal definition of the term.
@context:https://www.w3.org/ns/epub-anno.jsonldyellowYellow selection color
See the formal definition of the term.
@context:https://www.w3.org/ns/epub-anno.jsonldgreenGreen selection color
See the formal definition of the term.
@context:https://www.w3.org/ns/epub-anno.jsonldblueBlue selection color
See the formal definition of the term.
@context:https://www.w3.org/ns/epub-anno.jsonldpurplePurple selection color
See the formal definition of the term.
@context:https://www.w3.org/ns/epub-anno.jsonldsolidSolid selection highlight
See the formal definition of the term.
@context:https://www.w3.org/ns/epub-anno.jsonldunderlineUnderline selection highlight
See the formal definition of the term.
@context:https://www.w3.org/ns/epub-anno.jsonldstrikethroughStrikethrough selection highlight
See the formal definition of the term.
@context:https://www.w3.org/ns/epub-anno.jsonldoutlineOutline selection highlight
See the formal definition of the term.
@context:https://www.w3.org/ns/epub-anno.jsonld