Tag ontology — old HTML N3

This page contains the unmaintained pretty HTML version of the Notation-3 ontology for tags.


21 # This ontology.
22 @prefix : <http://www.holygoat.co.uk/owl/redwood/0.1/tags/> .
23 @prefix tags: <http://www.holygoat.co.uk/owl/redwood/0.1/tags/> .
24
25 # Stock imports.
26 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
27 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
28 @prefix owl: <http://www.w3.org/2002/07/owl#> .
29 @prefix dc: <http://purl.org/dc/elements/1.1/> .
30 @prefix dct: <http://purl.org/dc/terms/> .
31 @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
32 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
33 @prefix vs: <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
34
35 # Might come in handy.
36 @prefix del: <http://del.icio.us/> .
37 # This is where I put my tags.
38 @prefix tag: <http://www.holygoat.co.uk/owl/redwood/tag/> .
39
40 : a owl:Ontology;
41 dc:title "Tag ontology"@en ;
42 rdfs:label "An ontology for tags."@en ;
43 dc:description "An ontology that describes tags, as used in the popular del.icio.us and Flickr systems, and allows for relationships between tags to be described."@en ;
44 dct:issued "2005-03-23" ;
45 dc:creator "Richard Newman" ;
46 dc:contributor "Seth Russell" , "Danny Ayers" ;
47 foaf:maker <http://www.holygoat.co.uk/foaf.rdf#RichardNewman> .
48
49 :Tag a owl:Class ;
50 rdfs:subClassOf skos:Concept ;
51 skos:definition "A natural-language concept which is used to annotate another resource."@en ;
52 rdfs:label "Tag"@en .
53
54 :taggedWithTag a owl:ObjectProperty ;
55 rdfs:subPropertyOf skos:subject ;
56 rdfs:range :Tag ;
57 rdfs:label "tagged with tag"@en ;
58 rdfs:comment "Indicates that the subject has been tagged with the object tag. This does not assert by who, when, or why the tagging occurred. For that information, use a reified Tagging resource."@en .
59
60 :Tagging a owl:Class ;
61 rdfs:label "tagging"@en ;
62 vs:term_status "testing" ;
63 rdfs:comment "A reified class which defines an instance of a tagging by an agent of a resource with one or more tags."@en .
64
65 :tag a owl:ObjectProperty ;
66 rdfs:range :Tagging ;
67 rdfs:label "tag"@en ;
68 rdfs:comment "The relationship between a resource and a Tagging. Note, of course, that this allows us to tag tags and taggings themselves..."@en .
69
70 :taggedResource a owl:ObjectProperty ;
71 rdfs:domain :Tagging ;
72 vs:term_status "testing" ;
73 rdfs:label "tagged resource"@en ;
74 rdfs:comment "The object is a resource which plays a role in the subject Tagging."@en .
75
76 :associatedTag a owl:ObjectProperty ;
77 rdfs:domain :Tagging ;
78 rdfs:range :Tag ;
79 vs:term_status "testing" ;
80 rdfs:label "associated tag" ;
81 rdfs:comment "The object is a Tag which plays a role in the subject Tagging."@en .
82
83 :tagName a owl:DatatypeProperty ;
84 rdfs:domain :Tag ;
85 rdfs:subPropertyOf rdfs:label, dc:title ;
86 rdfs:label "tag name"@en ;
87 rdfs:comment "The name of a tag. Note that we can't relate this to skos:prefLabel because we cannot guarantee that tags have unique labels in a given conceptual scheme. Or can we?"@en .
88
89 :taggedBy a owl:ObjectProperty ;
90 rdfs:domain :Tagging ;
91 rdfs:range foaf:Agent ;
92 vs:term_status "testing" ;
93 rdfs:label "tagged by"@en ;
94 rdfs:comment "The object plays the role of the tagger in the subject Tagging."@en .
95
96 :taggedOn a owl:DatatypeProperty ;
97 rdfs:subPropertyOf dc:date ;
98 rdfs:domain :Tagging ;
99 vs:term_status "testing" ;
100 rdfs:label "tagged on"@en ;
101 rdfs:comment "The subject Tagging occurred at the subject time and date."@en .
102
103 :relatedTag a owl:ObjectProperty ;
104 rdfs:subPropertyOf skos:semanticRelation ;
105 rdfs:domain :Tag ;
106 rdfs:range :Tag ;
107 vs:term_status "testing" ;
108 rdfs:label "related tag"@en ;
109 rdfs:comment "The two tags are asserted as being related. This might be symmetric, but it certainly isn't transitive. NB: this should be reified. This property is in the same boat as :taggedWithTag."@en .
110
111 :equivalentTag a owl:ObjectProperty ;
112 rdfs:subPropertyOf owl:sameAs ;
113 rdfs:domain :Tag ;
114 rdfs:range :Tag ;
115 vs:term_status "testing" ;
116 rdfs:label "equivalent tag"@en ;
117 rdfs:comment "The two tags are asserted to be equivalent --- that is, that whenever one is associated with a resource, the other tag can be logically inferred to also be associated. Be very careful with this. I'm not sure if this should be a subproperty of owl:sameAs."@en .