Skip to content

Instantly share code, notes, and snippets.

@stain
Created June 25, 2012 08:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stain/2987402 to your computer and use it in GitHub Desktop.
Save stain/2987402 to your computer and use it in GitHub Desktop.
Converted from http://www.openannotation.org/spec/core/core-schema.xml using Protege, removed linebreaks
@prefix : <http://www.w3.org/ns/openannotation/core/#> .
@prefix oa: <http://www.w3.org/ns/openannotation/core/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <http://www.w3.org/ns/openannotation/core/> .
<http://www.w3.org/ns/openannotation/core/> rdf:type owl:Ontology ;
owl:versionInfo "core/20120509" .
#################################################################
#
# Annotation properties
#
#################################################################
oa:hasSource rdf:type owl:AnnotationProperty ;
rdfs:label "hasSource" ;
rdfs:comment "The relationship between a oa:SpecificResource and the resource that it is a more specific representation of. " ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> ;
rdfs:domain oa:SpecificResource .
oa:modelVersion rdf:type owl:AnnotationProperty ;
rdfs:label "modelVersion" ;
rdfs:comment "The version of the model that was used for the Annotation. The object of the relationship is an RDF ontology describing the version of the Open Annotation Core namespace used. The Open Annotation namespace itself does not change, and hence this is not sufficient information to determine which version of the model is being used. " ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> ;
rdfs:domain oa:Annotation .
oa:hasBody rdf:type owl:AnnotationProperty ;
rdfs:label "hasBody" ;
rdfs:comment "The relationship between Annotation and Body" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> ;
rdfs:domain oa:Annotation .
oa:annotated rdf:type owl:AnnotationProperty ;
rdfs:label "annotated" ;
rdfs:comment "The time at which the oa:annotator created the Annotation." ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> ;
rdfs:domain oa:Annotation .
oa:hasTarget rdf:type owl:AnnotationProperty ;
rdfs:label "hasTarget" ;
rdfs:comment "The relationship between Annotation and Target" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> ;
rdfs:domain oa:Annotation .
oa:cachedSource rdf:type owl:AnnotationProperty ;
rdfs:label "cachedSource" ;
rdfs:comment "A link to a copy of the Source resource's representation, appropriate for the Annotation. " ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> ;
rdfs:domain oa:State .
oa:hasStyle rdf:type owl:AnnotationProperty ;
rdfs:label "hasStyle" ;
rdfs:comment "The relationship between a oa:SpecificResource and a oa:Style" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> ;
rdfs:domain oa:SpecificResource .
oa:hasState rdf:type owl:AnnotationProperty ;
rdfs:label "hasState" ;
rdfs:comment "The relationship between a oa:SpecificResource and a oa:State resource" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> ;
rdfs:domain oa:SpecificResource .
oa:generator rdf:type owl:AnnotationProperty ;
rdfs:label "generator" ;
rdfs:comment "The object of the relationship is the agent, likely software, responsible for generating the serialization of the Annotation's graph. " ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> ;
rdfs:domain oa:Annotation .
oa:annotator rdf:type owl:AnnotationProperty ;
rdfs:label "annotator" ;
rdfs:comment "The object of the relationship is a resource that identifies the agent responsible for asserting the triples in the Annotation graph. This may be either a human or software agent. " ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> ;
rdfs:domain oa:Annotation .
oa:when rdf:type owl:AnnotationProperty ;
rdfs:label "when" ;
rdfs:comment "The timestamp at which the Source resource should be interpreted for the Annotation." ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> ;
rdfs:domain oa:State .
oa:hasSelector rdf:type owl:AnnotationProperty ;
rdfs:label "hasSelector" ;
rdfs:comment "The relationship between a oa:SpecificResource and a oa:Selector." ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> ;
rdfs:domain oa:SpecificResource .
oa:generated rdf:type owl:AnnotationProperty ;
rdfs:label "generated" ;
rdfs:comment "The time at which the agent referenced by oa:generator generated the first serialization of the Annotation graph, and any subsequent substantially different one. The graph MUST have changed for this property to be updated, and as such represents the last modified datestamp for the graph. This might be used to determine if the graph should be re-imported into a triplestore when discovered. " ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> ;
rdfs:domain oa:Annotation .
#################################################################
#
# Object Properties
#
#################################################################
### http://www.w3.org/ns/openannotation/core/hasSelector
oa:hasSelector rdf:type owl:ObjectProperty ;
rdfs:label "hasSelector" ;
rdfs:comment "The relationship between a oa:SpecificResource and a oa:Selector." ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> ;
rdfs:range oa:Selector .
### http://www.w3.org/ns/openannotation/core/hasState
oa:hasState rdf:type owl:ObjectProperty ;
rdfs:label "hasState" ;
rdfs:comment "The relationship between a oa:SpecificResource and a oa:State resource" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> ;
rdfs:range oa:State .
### http://www.w3.org/ns/openannotation/core/hasStyle
oa:hasStyle rdf:type owl:ObjectProperty ;
rdfs:label "hasStyle" ;
rdfs:comment "The relationship between a oa:SpecificResource and a oa:Style" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> ;
rdfs:range oa:Style .
#################################################################
#
# Classes
#
#################################################################
### http://www.w3.org/2000/01/rdf-schema#Resource
rdfs:Resource rdf:type owl:Class .
### http://www.w3.org/ns/openannotation/core/Annotation
oa:Annotation rdf:type owl:Class ;
rdfs:label "Annotation" ;
rdfs:comment "A document identified by an HTTP URI that describes, at least, the Body and Target resources involved in the annotation." ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> .
### http://www.w3.org/ns/openannotation/core/FragmentSelector
oa:FragmentSelector rdf:type owl:Class ;
rdfs:label "FragmentSelector" ;
rdfs:subClassOf oa:Selector ;
rdfs:comment "A resource which describes the segment of interest in a representation, through the use of the fragment identifier component of a URI." ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> .
### http://www.w3.org/ns/openannotation/core/Selector
oa:Selector rdf:type owl:Class ;
rdfs:label "Selector" ;
rdfs:comment "A resource which describes the segment of interest in a representation of a Source resource" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> .
### http://www.w3.org/ns/openannotation/core/SpecificResource
oa:SpecificResource rdf:type owl:Class ;
rdfs:label "SpecificResource" ;
rdfs:subClassOf rdfs:Resource ;
rdfs:comment "A resource which identifies part of another resource, a particular representation of a resource, a resource with styling hints for renders, or any combination of these." ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> .
### http://www.w3.org/ns/openannotation/core/State
oa:State rdf:type owl:Class ;
rdfs:label "State" ;
rdfs:comment "A resource which describes how to retrieve an appropriate representation of the Source resource for the Annotation." ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> .
### http://www.w3.org/ns/openannotation/core/Style
oa:Style rdf:type owl:Class ;
rdfs:label "Style" ;
rdfs:comment "A resource which describes the style in which the selection or resource should be rendered." ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> .
#################################################################
#
# Annotations
#
#################################################################
oa:equivalent rdfs:label "equivalent" ;
rdfs:comment "The subject and object resources of the oa:equivalent relationship represent the same resource, but potentially have different metadata such as generator, generated and serialization format. oa:equivalent is a symmetrical relationship; if A oa:equivalent B, then it is also true that B oa:equivalent A. " ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/core/> .
### Generated by the OWL API (version 3.2.5.1928) http://owlapi.sourceforge.net
@prefix : <http://www.w3.org/ns/openannotation/extension/#> .
@prefix oa: <http://www.w3.org/ns/openannotation/core/> .
@prefix oax: <http://www.w3.org/ns/openannotation/extension/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <http://www.w3.org/ns/openannotation/extension/> .
<http://www.w3.org/ns/openannotation/extension/> rdf:type owl:Ontology ;
owl:versionInfo "core/20120509" .
#################################################################
#
# Annotation properties
#
#################################################################
oax:exact rdf:type owl:AnnotationProperty ;
rdfs:label "exact" ;
rdfs:comment "A copy of the text which is being selected, after normalization." ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> ;
rdfs:domain oax:TextQuoteSelector .
oax:hasSemanticTag rdf:type owl:AnnotationProperty ;
rdfs:label "hasSemanticTag" ;
rdfs:comment "The relationship between an Annotation and the Tagging Resource." ;
rdfs:domain oa:Annotation ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
oax:offset rdf:type owl:AnnotationProperty ;
rdfs:label "offset" ;
rdfs:comment "The starting position of the segment of text. The first character in the full text is character position 0." ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> ;
rdfs:domain oax:TextOffsetSelector .
oax:prefix rdf:type owl:AnnotationProperty ;
rdfs:label "prefix" ;
rdfs:comment "A snippet of text that occurs immediately after the text which is being selected. " ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> ;
rdfs:domain oax:TextQuoteSelector .
oax:range rdf:type owl:AnnotationProperty ;
rdfs:label "range" ;
rdfs:comment "The length of the segment of text selected. The last character is thus included within the segment." ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> ;
rdfs:domain oax:TextOffsetSelector .
#################################################################
#
# Datatypes
#
#################################################################
#################################################################
#
# Classes
#
#################################################################
oa-extensions.ttl
### http://www.w3.org/ns/openannotation/core/Annotation
oa:Annotation rdf:type owl:Class .
### http://www.w3.org/ns/openannotation/core/Selector
oa:Selector rdf:type owl:Class .
### http://www.w3.org/ns/openannotation/core/State
oa:State rdf:type owl:Class .
### http://www.w3.org/ns/openannotation/core/Style
oa:Style rdf:type owl:Class .
### http://www.w3.org/ns/openannotation/extension/Bookmark
oax:Bookmark rdf:type owl:Class ;
rdfs:label "Bookmark" ;
rdfs:subClassOf oa:Annotation ;
rdfs:comment "The class for an Annotation that represents a bookmark to the target resources or recorded point or points within one or more resources. Bookmarks may or may not have a Body resource" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### http://www.w3.org/ns/openannotation/extension/Change
oax:Change rdf:type owl:Class ;
rdfs:label "Change" ;
rdfs:subClassOf oa:Annotation ;
rdfs:comment "The class for an Annotation that represents a request for a modification or edit to the target resource" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### http://www.w3.org/ns/openannotation/extension/Classification
oax:Classification rdf:type owl:Class ;
rdfs:label "Classification" ;
rdfs:subClassOf oa:Annotation ;
rdfs:comment "The class for an Annotation that represents the assignment of a classification type, typically from a controlled vocabulary, to the target resource(s)" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### http://www.w3.org/ns/openannotation/extension/Comment
oax:Comment rdf:type owl:Class ;
rdfs:label "Comment" ;
rdfs:subClassOf oa:Annotation ;
rdfs:comment "The class for an Annotation that represents a commentary about or review of the target resource(s) " ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### http://www.w3.org/ns/openannotation/extension/CompositeSelector
oax:CompositeSelector rdf:type owl:Class ;
rdfs:label "CompositeSelector" ;
rdfs:subClassOf oa:Selector ;
rdfs:comment "The class for a Selector which encapsulates more than one other Selector which must be processed" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### http://www.w3.org/ns/openannotation/extension/CompositeState
oax:CompositeState rdf:type owl:Class ;
rdfs:label "CompositeState" ;
rdfs:subClassOf oa:State ;
rdfs:comment "The class for a State which encapsulates more than one other State which must be processed" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### http://www.w3.org/ns/openannotation/extension/CompositeStyle
oax:CompositeStyle rdf:type owl:Class ;
rdfs:label "CompositeStyle" ;
rdfs:subClassOf oa:Style ;
rdfs:comment "The class for a Style which encapsulates more than one other Style which must be processed" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### http://www.w3.org/ns/openannotation/extension/CssValueStyle
oax:CssValueStyle rdf:type owl:Class ;
rdfs:label "CssValueStyle" ;
rdfs:subClassOf oa:Style ;
rdfs:comment "The class for representing CSS styling information for Specific Resources" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### http://www.w3.org/ns/openannotation/extension/Description
oax:Description rdf:type owl:Class ;
rdfs:label "Description" ;
rdfs:subClassOf oa:Annotation ;
rdfs:comment "The class for an Annotation that represents a description of the target resource(s), as opposed to a Comment about them" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### http://www.w3.org/ns/openannotation/extension/Highlight
oax:Highlight rdf:type owl:Class ;
rdfs:label "Highlight" ;
rdfs:subClassOf oa:Annotation ;
rdfs:comment "The class for an Annotation that represents a highlighted section of the target resource or segment. A Highlight may or may not have a Body, and is likely to have both a Selector and a Style" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### http://www.w3.org/ns/openannotation/extension/Link
oax:Link rdf:type owl:Class ;
rdfs:label "Link" ;
rdfs:subClassOf oa:Annotation ;
rdfs:comment "The class for an Annotation that represents a link (of unspecified semantics) between the body and target resources " ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### http://www.w3.org/ns/openannotation/extension/Moderation
oax:Moderation rdf:type owl:Class ;
rdfs:label "Moderation" ;
rdfs:subClassOf oa:Annotation ;
rdfs:comment "The class for an Annotation that represents an assignment of value or quality to the target resource(s) " ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### http://www.w3.org/ns/openannotation/extension/Question
oax:Question rdf:type owl:Class ;
rdfs:label "Question" ;
rdfs:subClassOf oa:Annotation ;
rdfs:comment "The class for an Annotation that represents a question about the target resource(s)" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### http://www.w3.org/ns/openannotation/extension/Reference
oax:Reference rdf:type owl:Class ;
rdfs:label "Reference" ;
rdfs:subClassOf oa:Annotation ;
rdfs:comment "The class for an Annotation that represents a reference for the target resource or segment " ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### http://www.w3.org/ns/openannotation/extension/Reply
oax:Reply rdf:type owl:Class ;
rdfs:label "Reply" ;
rdfs:subClassOf oa:Annotation ;
rdfs:comment "The class for an Annotation that represents a reply to a previous statement, either an Annotation or another resource " ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### http://www.w3.org/ns/openannotation/extension/SvgSelector
oax:SvgSelector rdf:type owl:Class ;
rdfs:label "SvgSelector" ;
rdfs:subClassOf oa:Selector ;
rdfs:comment "The class for a Selector which defines a shape using the SVG standard" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### http://www.w3.org/ns/openannotation/extension/Tag
oax:Tag rdf:type owl:Class ;
rdfs:label "Tag" ;
rdfs:subClassOf oa:Annotation ;
rdfs:comment "The class for an Annotation that represents a Tag on the target resource(s). The tagging resource may be of any type or format" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### http://www.w3.org/ns/openannotation/extension/TextOffsetSelector
oax:TextOffsetSelector rdf:type owl:Class ;
rdfs:label "TextOffsetSelector" ;
rdfs:subClassOf oa:Selector ;
rdfs:comment "The class for a Selector which describes a range of text based on its starting position (oax:offset) and length (oax:range)." ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### http://www.w3.org/ns/openannotation/extension/TextQuoteSelector
oax:TextQuoteSelector rdf:type owl:Class ;
rdfs:label "TextQuoteSelector" ;
rdfs:subClassOf oa:Selector ;
rdfs:comment "The class for a Selector that describes a textual segment by means of quoting it, plus passages before or after it." ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### http://www.w3.org/ns/openannotation/extension/XsltStyle
oax:XsltStyle rdf:type owl:Class ;
rdfs:label "XsltStyle" ;
rdfs:subClassOf oa:Style ;
rdfs:comment "The class for representing an XSLT Stylesheet to be applied to an XML representation of a resource" ;
rdfs:isDefinedBy <http://www.w3.org/ns/openannotation/extension/> .
### Generated by the OWL API (version 3.2.5.1928) http://owlapi.sourceforge.net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment