axiothOntology Hub

Ontologies / oa

Web Annotation Vocabulary

Original text (English), from: definition fileThe Web Annotation ontology defines the terms of the Web Annotation vocabulary. Any changes to this document MUST be from a Working Group in the W3C that has established expertise in the area.

Namespace IRI
http://www.w3.org/ns/oa#
Type
Vocabulary
Field
Web and commerce
Version
2016-11-12T21:28:11Z
Licence statement
License not verified
Standard or contact
W3C Recommendation
Definition file check
File parsed · Nov 30, 2026 UTC
Collected from
Site seed list
Also listed in
Linked Open Vocabularies (LOV), Bioregistry

At a glance

Derived from the parsed definition file, not written by an editor.

Classes
21
Properties
29
Triples in file
334
Connections
18
Papers and standards
1

Counted as stated directly in the definition file, within its own namespace, without imports or inference. The file also declares 0 terms from other namespaces.

Central classes

The classes with the most subclass and property links.

SelectorResourceSelectionRangeSelectorStateAnnotationStyle

Top of the hierarchy

Classes with subclasses but no parent inside this file.

SelectorResourceSelectionStateStyle

What it lets you say

Properties read as domain, property, range.

  • RangeSelectorhasEndSelectorSelector
  • ResourceSelectionhasSelectorSelector
  • ResourceSelectionhasStateState
  • AnnotationstyledByStyle
  • AnnotationmotivatedByMotivation

Class hierarchy

Open a class to follow its subclasses downward. The number is how many direct subclasses it has.

  • Selector8
    • CssSelector
    • DataPositionSelector
    • FragmentSelector
    • RangeSelector
    • SvgSelector
    • TextPositionSelector
    • TextQuoteSelector
    • XPathSelector
  • State2
    • HttpRequestState
    • TimeState
  • ResourceSelection1
    • SpecificResource
  • Style1
    • CssStyle

Class graph

Select a class to read its original definition and the properties attached to it. Drag to move, scroll to zoom.

subclass of (child to parent)property (domain to range)

All 21 classes
TermOriginal definition
Selector
oa:Selector
A resource which describes the segment of interest in a representation of a Source resource, indicated with oa:hasSelector from the Specific Resource. This class is not used directly in the Annotation model, only its subclasses.
Annotation
oa:Annotation
The class for Web Annotations.
TimeState
oa:TimeState
A TimeState records the time at which the resource's state is appropriate for the Annotation, typically the time that the Annotation was created and/or a link to a persistent copy of the current version.
ResourceSelection
oa:ResourceSelection
Instances of the ResourceSelection class identify part (described by an oa:Selector) of another resource (referenced with oa:hasSource), possibly from a particular representation of a resource (described by an oa:State). Please note that ResourceSelection is not used directly in the Web Annotation model, but is provide
SpecificResource
oa:SpecificResource
Instances of the SpecificResource class identify part of another resource (referenced with oa:hasSource), a particular representation of a resource, a resource with styling hints for renders, or any combination of these, as used within an Annotation.
Motivation
oa:Motivation
The Motivation class is used to record the user's intent or motivation for the creation of the Annotation, or the inclusion of the body or target, that it is associated with.
RangeSelector
oa:RangeSelector
A Range Selector can be used to identify the beginning and the end of the selection by using other Selectors. The selection consists of everything from the beginning of the starting selector through to the beginning of the ending selector, but not including it.
State
oa:State
A State describes the intended state of a resource as applied to the particular Annotation, and thus provides the information needed to retrieve the correct representation of that resource.
Style
oa:Style
A Style describes the intended styling of a resource as applied to the particular Annotation, and thus provides the information to ensure that rendering is consistent across implementations.
Choice
oa:Choice
A subClass of as:OrderedCollection that conveys to a consuming application that it should select one of the resources in the as:items list to use, rather than all of them. This is typically used to provide a choice of resources to render to the user, based on further supplied properties. If the consuming application ca
CssSelector
oa:CssSelector
A CssSelector describes a Segment of interest in a representation that conforms to the Document Object Model through the use of the CSS selector specification.
CssStyle
oa:CssStyle
A resource which describes styles for resources participating in the Annotation using CSS.
DataPositionSelector
oa:DataPositionSelector
DataPositionSelector describes a range of data by recording the start and end positions of the selection in the stream. Position 0 would be immediately before the first byte, position 1 would be immediately before the second byte, and so on. The start byte is thus included in the list, but the end byte is not.
Direction
oa:Direction
A class to encapsulate the different text directions that a textual resource might take. It is not used directly in the Annotation Model, only its three instances.
FragmentSelector
oa:FragmentSelector
The FragmentSelector class is used to record the segment of a representation using the IRI fragment specification defined by the representation's media type.
HttpRequestState
oa:HttpRequestState
The HttpRequestState class is used to record the HTTP request headers that a client SHOULD use to request the correct representation from the resource.
SvgSelector
oa:SvgSelector
An SvgSelector defines an area through the use of the Scalable Vector Graphics [SVG] standard. This allows the user to select a non-rectangular area of the content, such as a circle or polygon by describing the region using SVG. The SVG may be either embedded within the Annotation or referenced as an External Resource.
TextPositionSelector
oa:TextPositionSelector
The TextPositionSelector describes a range of text by recording the start and end positions of the selection in the stream. Position 0 would be immediately before the first character, position 1 would be immediately before the second character, and so on.
TextQuoteSelector
oa:TextQuoteSelector
The TextQuoteSelector describes a range of text by copying it, and including some of the text immediately before (a prefix) and after (a suffix) it to distinguish between multiple copies of the same sequence of characters.
XPathSelector
oa:XPathSelector
An XPathSelector is used to select elements and content within a resource that supports the Document Object Model via a specified XPath value.
TextualBody
oa:TextualBody
Not registered
All 29 properties
TermOriginal definition
annotationService
oa:annotationService
The object of the relationship is the end point of a service that conforms to the annotation-protocol, and it may be associated with any resource. The expectation of asserting the relationship is that the object is the preferred service for maintaining annotations about the subject resource, according to the publisher
bodyValue
oa:bodyValue
The object of the predicate is a plain text string to be used as the content of the body of the Annotation. The value MUST be an xsd:string and that data type MUST NOT be expressed in the serialization. Note that language MUST NOT be associated with the value either as a language tag, as that is only available for rdf:
cachedSource
oa:cachedSource
A object of the relationship is a copy of the Source resource's representation, appropriate for the Annotation.
canonical
oa:canonical
A object of the relationship is the canonical IRI that can always be used to deduplicate the Annotation, regardless of the current IRI used to access the representation.
end
oa:end
The end property is used to convey the 0-based index of the end position of a range of content.
exact
oa:exact
The object of the predicate is a copy of the text which is being selected, after normalization.
hasBody
oa:hasBody
The object of the relationship is a resource that is a body of the Annotation.
hasEndSelector
oa:hasEndSelector
The relationship between a RangeSelector and the Selector that describes the end position of the range.
hasPurpose
oa:hasPurpose
The purpose served by the resource in the Annotation.
hasScope
oa:hasScope
The scope or context in which the resource is used within the Annotation.
hasSelector
oa:hasSelector
The object of the relationship is a Selector that describes the segment or region of interest within the source resource. Please note that the domain ( oa:ResourceSelection ) is not used directly in the Web Annotation model.
hasSource
oa:hasSource
The resource that the ResourceSelection, or its subclass SpecificResource, is refined from, or more specific than. Please note that the domain ( oa:ResourceSelection ) is not used directly in the Web Annotation model.
hasStartSelector
oa:hasStartSelector
The relationship between a RangeSelector and the Selector that describes the start position of the range.
hasState
oa:hasState
The relationship between the ResourceSelection, or its subclass SpecificResource, and a State resource. Please note that the domain ( oa:ResourceSelection ) is not used directly in the Web Annotation model.
hasTarget
oa:hasTarget
The relationship between an Annotation and its Target.
motivatedBy
oa:motivatedBy
The relationship between an Annotation and a Motivation that describes the reason for the Annotation's creation.
prefix
oa:prefix
The object of the property is a snippet of content that occurs immediately before the content which is being selected by the Selector.
processingLanguage
oa:processingLanguage
The object of the property is the language that should be used for textual processing algorithms when dealing with the content of the resource, including hyphenation, line breaking, which font to use for rendering and so forth. The value must follow the recommendations of BCP47.
refinedBy
oa:refinedBy
The relationship between a Selector and another Selector or a State and a Selector or State that should be applied to the results of the first to refine the processing of the source resource.
renderedVia
oa:renderedVia
A system that was used by the application that created the Annotation to render the resource.
sourceDate
oa:sourceDate
The timestamp at which the Source resource should be interpreted as being applicable to the Annotation.
sourceDateEnd
oa:sourceDateEnd
The end timestamp of the interval over which the Source resource should be interpreted as being applicable to the Annotation.
sourceDateStart
oa:sourceDateStart
The start timestamp of the interval over which the Source resource should be interpreted as being applicable to the Annotation.
start
oa:start
The start position in a 0-based index at which a range of content is selected from the data in the source resource.
styleClass
oa:styleClass
The name of the class used in the CSS description referenced from the Annotation that should be applied to the Specific Resource.
styledBy
oa:styledBy
A reference to a Stylesheet that should be used to apply styles to the Annotation rendering.
suffix
oa:suffix
The snippet of text that occurs immediately after the text which is being selected.
textDirection
oa:textDirection
The direction of the text of the subject resource. There MUST only be one text direction associated with any given resource.
via
oa:via
A object of the relationship is a resource from which the source resource was retrieved by the providing system.

Connections

Relations stated in a definition file or an official registry. Each row shows where the statement comes from.

rdfskosxsddcefoafdctermsprovdqvishioaeintrorohcwrccllawdeclapvagwlmoWeb Annotation Vocabulary…github.com/w3c/web-annota…ptrlegacy.aooa

Ontology with a stated relationPaper or standardRepositorySimilarity candidate (computed)

Show the evidence table (18 rows)
DirectionOntologyRelationEvidence
This → otherThe RDF Concepts Vocabularyreuses terms (2 terms)definition file
type, Property
This → otherSKOS Simple Knowledge Organization Systemreuses terms (1 term)definition file
Concept
This → otherXML Schemareuses terms (3 terms)definition file
string, nonNegativeInteger, dateTime
This → otherDublin Core Metadata Element Setreuses terms (1 term)definition file
title
This → otherFOAF Friend of a Friendreuses terms (2 terms)definition file
Person, name
This → otherDCMI Metadata Termsreuses terms (2 terms)definition file
creator, modified
This → otherPROV-O: The PROV Ontologyreuses terms (1 term)definition file
wasRevisionOf
Other → thisData Quality Vocabulary (DQV)reuses terms (5 terms)definition file
Annotation, motivation, hasTarget
Other → thisIshikawa diagram ontologyreuses terms (1 term)definition file
Motivation
Other → thisOpen NEE Modelimportsdefinition file
owl:imports <http://www.w3.org/ns/oa#>
Other → thisINTRO: the intertextual, interpictorial, and intermedial relations ontologyreuses terms (4 terms)definition file
hasTarget, SpecificResource, Annotation
Other → thisThe ASIO ontologyreuses terms (1 term)definition file
Other → thisThe CWRC Ontologyreuses terms (1 term)definition file
Annotation
Other → thisCinelab ontologyimportsdefinition file
owl:imports <http://www.w3.org/ns/oa#>
Other → thisLinking Ancient World Data Ontologyimportsdefinition file
owl:imports <http://www.w3.org/ns/oa#>
Other → thisECLAP, Performing Arts Vocabularyimportsdefinition file
owl:imports <http://www.w3.org/ns/oa#>
Other → thisThe Vagueness Ontologyreuses terms (4 terms)definition file
, Annotation, hasTarget
Other → thisWildlife Monitoring Ontologyreuses terms (4 terms)definition file
Annotation, SpecificResource, FragmentSelector

Similarity candidates

Candidates are ranked by shared words in descriptions and term labels. They are a starting point for your own check, not a statement of equivalence, compatibility or official relation.

Similar ontologies

Similar papers and standards

Papers and standards

Files and repository

FileFormatLocation
정의 파일Turtlehttps://www.w3.org/ns/oa.ttl
Repository—https://github.com/w3c/web-annotation

Check record

  1. Fetch fileDone
  2. Parse RDFDone
  3. Extract termsDone

A parsed file means it could be read. It does not vouch for logical consistency or modelling quality.

Definition file check
File parsed
Checked at
Nov 30, 2026 UTC
Format
Turtle
Parser
n3
Size
21,632 B
SHA-256
f661e37d33bf29176390101687711734a7e33a716bdecfb66b90c732373d7af5

Bioregistry page for this resource

LOV page for this vocabulary