rdf 1.1.0p4 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +6 -14
- data/README +33 -33
- data/VERSION +1 -1
- data/lib/rdf.rb +60 -12
- data/lib/rdf/cli.rb +7 -1
- data/lib/rdf/cli/vocab-loader.rb +240 -0
- data/lib/rdf/format.rb +2 -2
- data/lib/rdf/mixin/enumerable.rb +12 -4
- data/lib/rdf/mixin/queryable.rb +13 -13
- data/lib/rdf/model/graph.rb +5 -4
- data/lib/rdf/model/list.rb +15 -4
- data/lib/rdf/model/literal.rb +2 -1
- data/lib/rdf/model/statement.rb +10 -1
- data/lib/rdf/model/term.rb +8 -0
- data/lib/rdf/model/uri.rb +107 -2
- data/lib/rdf/model/value.rb +8 -0
- data/lib/rdf/ntriples/reader.rb +5 -4
- data/lib/rdf/query.rb +47 -12
- data/lib/rdf/query/solutions.rb +29 -29
- data/lib/rdf/reader.rb +13 -3
- data/lib/rdf/repository.rb +1 -0
- data/lib/rdf/util/file.rb +86 -6
- data/lib/rdf/vocab.rb +158 -58
- data/lib/rdf/vocab/cc.rb +28 -11
- data/lib/rdf/vocab/cert.rb +127 -9
- data/lib/rdf/vocab/dc.rb +242 -60
- data/lib/rdf/vocab/dc11.rb +42 -20
- data/lib/rdf/vocab/doap.rb +121 -42
- data/lib/rdf/vocab/exif.rb +540 -165
- data/lib/rdf/vocab/foaf.rb +353 -66
- data/lib/rdf/vocab/geo.rb +40 -10
- data/lib/rdf/vocab/gr.rb +1094 -0
- data/lib/rdf/vocab/http.rb +81 -23
- data/lib/rdf/vocab/ical.rb +361 -0
- data/lib/rdf/vocab/ma.rb +281 -69
- data/lib/rdf/vocab/og.rb +98 -0
- data/lib/rdf/vocab/owl.rb +226 -56
- data/lib/rdf/vocab/prov.rb +489 -0
- data/lib/rdf/vocab/rdfs.rb +38 -14
- data/lib/rdf/vocab/rsa.rb +25 -9
- data/lib/rdf/vocab/rss.rb +29 -11
- data/lib/rdf/vocab/schema.rb +3729 -647
- data/lib/rdf/vocab/sioc.rb +224 -89
- data/lib/rdf/vocab/skos.rb +141 -33
- data/lib/rdf/vocab/skosxl.rb +43 -0
- data/lib/rdf/vocab/v.rb +154 -0
- data/lib/rdf/vocab/vcard.rb +337 -0
- data/lib/rdf/vocab/void.rb +142 -0
- data/lib/rdf/vocab/wdrs.rb +129 -0
- data/lib/rdf/vocab/wot.rb +52 -18
- data/lib/rdf/vocab/xhtml.rb +3 -6
- data/lib/rdf/vocab/xhv.rb +239 -0
- data/lib/rdf/writer.rb +3 -3
- metadata +81 -14
data/lib/rdf/vocab/sioc.rb
CHANGED
@@ -1,93 +1,228 @@
|
|
1
|
+
# This file generated automatically using vocab-fetch from http://rdfs.org/sioc/ns#
|
2
|
+
require 'rdf'
|
1
3
|
module RDF
|
2
|
-
|
3
|
-
# Semantically-Interlinked Online Communities (SIOC) vocabulary.
|
4
|
-
#
|
5
|
-
# @see http://rdfs.org/sioc/spec/
|
6
|
-
class SIOC < Vocabulary("http://rdfs.org/sioc/ns#")
|
7
|
-
property :about
|
8
|
-
property :account_of
|
9
|
-
property :administrator_of
|
10
|
-
property :attachment
|
11
|
-
property :avatar
|
12
|
-
property :container_of
|
13
|
-
property :content
|
14
|
-
property :content_encoded # @deprecated
|
15
|
-
property :created_at # @deprecated
|
16
|
-
property :creator_of
|
17
|
-
property :description # @deprecated
|
18
|
-
property :earlier_version
|
19
|
-
property :email
|
20
|
-
property :email_sha1
|
21
|
-
property :feed
|
22
|
-
property :first_name # @deprecated
|
23
|
-
property :follows
|
24
|
-
property :function_of
|
25
|
-
property :group_of # @deprecated
|
26
|
-
property :has_administrator
|
27
|
-
property :has_container
|
28
|
-
property :has_creator
|
29
|
-
property :has_discussion
|
30
|
-
property :has_function
|
31
|
-
property :has_group # @deprecated
|
32
|
-
property :has_host
|
33
|
-
property :has_member
|
34
|
-
property :has_moderator
|
35
|
-
property :has_modifier
|
36
|
-
property :has_owner
|
37
|
-
property :has_parent
|
38
|
-
property :has_part # @deprecated
|
39
|
-
property :has_reply
|
40
|
-
property :has_scope
|
41
|
-
property :has_space
|
42
|
-
property :has_subscriber
|
43
|
-
property :has_usergroup
|
44
|
-
property :host_of
|
45
|
-
property :id
|
46
|
-
property :ip_address
|
47
|
-
property :last_activity_date
|
48
|
-
property :last_item_date
|
49
|
-
property :last_name # @deprecated
|
50
|
-
property :last_reply_date
|
51
|
-
property :later_version
|
52
|
-
property :latest_version
|
53
|
-
property :link
|
54
|
-
property :links_to
|
55
|
-
property :member_of
|
56
|
-
property :moderator_of
|
57
|
-
property :modified_at # @deprecated
|
58
|
-
property :modifier_of
|
59
|
-
property :name
|
60
|
-
property :next_by_date
|
61
|
-
property :next_version
|
62
|
-
property :note
|
63
|
-
property :num_authors
|
64
|
-
property :num_items
|
65
|
-
property :num_replies
|
66
|
-
property :num_threads
|
67
|
-
property :num_views
|
68
|
-
property :owner_of
|
69
|
-
property :parent_of
|
70
|
-
property :part_of # @deprecated
|
71
|
-
property :previous_by_date
|
72
|
-
property :previous_version
|
73
|
-
property :reference # @deprecated
|
74
|
-
property :related_to
|
75
|
-
property :reply_of
|
76
|
-
property :scope_of
|
77
|
-
property :sibling
|
78
|
-
property :space_of
|
79
|
-
property :subject # @deprecated
|
80
|
-
property :subscriber_of
|
81
|
-
property :title # @deprecated
|
82
|
-
property :topic
|
83
|
-
property :usergroup_of
|
4
|
+
class SIOC < StrictVocabulary("http://rdfs.org/sioc/ns#")
|
84
5
|
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
6
|
+
# Class definitions
|
7
|
+
property :Community, :label => 'Community', :comment =>
|
8
|
+
%(Community is a high-level concept that defines an online
|
9
|
+
community and what it consists of.)
|
10
|
+
property :Container, :label => 'Container', :comment =>
|
11
|
+
%(An area in which content Items are contained.)
|
12
|
+
property :Forum, :label => 'Forum', :comment =>
|
13
|
+
%(A discussion area on which Posts or entries are made.)
|
14
|
+
property :Item, :label => 'Item', :comment =>
|
15
|
+
%(An Item is something which can be in a Container.)
|
16
|
+
property :Post, :label => 'Post', :comment =>
|
17
|
+
%(An article or message that can be posted to a Forum.)
|
18
|
+
property :Role, :label => 'Role', :comment =>
|
19
|
+
%(A Role is a function of a UserAccount within a scope of a
|
20
|
+
particular Forum, Site, etc.)
|
21
|
+
property :Site, :label => 'Site', :comment =>
|
22
|
+
%(A Site can be the location of an online community or set of
|
23
|
+
communities, with UserAccounts and Usergroups creating Items
|
24
|
+
in a set of Containers. It can be thought of as a
|
25
|
+
web-accessible data Space.)
|
26
|
+
property :Space, :label => 'Space', :comment =>
|
27
|
+
%(A Space is a place where data resides, e.g. on a website,
|
28
|
+
desktop, fileshare, etc.)
|
29
|
+
property :Thread, :label => 'Thread', :comment =>
|
30
|
+
%(A container for a series of threaded discussion Posts or
|
31
|
+
Items.)
|
32
|
+
property :UserAccount, :label => 'User Account', :comment =>
|
33
|
+
%(A user account in an online community site.)
|
34
|
+
property :Usergroup, :label => 'Usergroup', :comment =>
|
35
|
+
%(A set of UserAccounts whose owners have a common purpose or
|
36
|
+
interest. Can be used for access control purposes.)
|
37
|
+
|
38
|
+
# Property definitions
|
39
|
+
property :content, :label => 'content', :comment =>
|
40
|
+
%(The content of the Item in plain text format.)
|
41
|
+
property :content_encoded, :label => 'content encoded', :comment =>
|
42
|
+
%(The encoded content of the Post, contained in CDATA areas.)
|
43
|
+
property :created_at, :label => 'created at', :comment =>
|
44
|
+
%(When this was created, in ISO 8601 format.)
|
45
|
+
property :description, :label => 'description', :comment =>
|
46
|
+
%(The content of the Post.)
|
47
|
+
property :email_sha1, :label => 'email sha1', :comment =>
|
48
|
+
%(An electronic mail address of the UserAccount, encoded using
|
49
|
+
SHA1.)
|
50
|
+
property :first_name, :label => 'first name', :comment =>
|
51
|
+
%(First \(real\) name of this User. Synonyms include given name
|
52
|
+
or christian name.)
|
53
|
+
property :id, :label => 'id', :comment =>
|
54
|
+
%(An identifier of a SIOC concept instance. For example, a user
|
55
|
+
ID. Must be unique for instances of each type of SIOC concept
|
56
|
+
within the same site.)
|
57
|
+
property :ip_address, :label => 'ip address', :comment =>
|
58
|
+
%(The IP address used when creating this Item. This can be
|
59
|
+
associated with a creator. Some wiki articles list the IP
|
60
|
+
addresses for the creator or modifiers when the usernames are
|
61
|
+
absent.)
|
62
|
+
property :last_activity_date, :label => 'last activity date', :comment =>
|
63
|
+
%(The date and time of the last activity associated with a SIOC
|
64
|
+
concept instance, and expressed in ISO 8601 format. This could
|
65
|
+
be due to a reply Post or Comment, a modification to an Item,
|
66
|
+
etc.)
|
67
|
+
property :last_item_date, :label => 'last item date', :comment =>
|
68
|
+
%(The date and time of the last Post \(or Item\) in a Forum \(or
|
69
|
+
a Container\), in ISO 8601 format.)
|
70
|
+
property :last_name, :label => 'last name', :comment =>
|
71
|
+
%(Last \(real\) name of this user. Synonyms include surname or
|
72
|
+
family name.)
|
73
|
+
property :last_reply_date, :label => 'last reply date', :comment =>
|
74
|
+
%(The date and time of the last reply Post or Comment, which
|
75
|
+
could be associated with a starter Item or Post or with a
|
76
|
+
Thread, and expressed in ISO 8601 format.)
|
77
|
+
property :modified_at, :label => 'modified at', :comment =>
|
78
|
+
%(When this was modified, in ISO 8601 format.)
|
79
|
+
property :name, :label => 'name', :comment =>
|
80
|
+
%(The name of a SIOC concept instance, e.g. a username for a
|
81
|
+
UserAccount, group name for a Usergroup, etc.)
|
82
|
+
property :note, :label => 'note', :comment =>
|
83
|
+
%(A note associated with this resource, for example, if it has
|
84
|
+
been edited by a UserAccount.)
|
85
|
+
property :num_authors, :label => 'num authors', :comment =>
|
86
|
+
%(The number of unique authors \(UserAccounts and unregistered
|
87
|
+
posters\) who have contributed to this Item, Thread, Post,
|
88
|
+
etc.)
|
89
|
+
property :num_items, :label => 'num items', :comment =>
|
90
|
+
%(The number of Posts \(or Items\) in a Forum \(or a
|
91
|
+
Container\).)
|
92
|
+
property :num_replies, :label => 'num replies', :comment =>
|
93
|
+
%(The number of replies that this Item, Thread, Post, etc. has.
|
94
|
+
Useful for when the reply structure is absent.)
|
95
|
+
property :num_threads, :label => 'num threads', :comment =>
|
96
|
+
%(The number of Threads \(AKA discussion topics\) in a Forum.)
|
97
|
+
property :num_views, :label => 'num views', :comment =>
|
98
|
+
%(The number of times this Item, Thread, UserAccount profile,
|
99
|
+
etc. has been viewed.)
|
100
|
+
property :subject, :label => 'subject', :comment =>
|
101
|
+
%(Keyword\(s\) describing subject of the Post.)
|
102
|
+
property :title, :label => 'title', :comment =>
|
103
|
+
%(This is the title \(subject line\) of the Post. Note that for
|
104
|
+
a Post within a threaded discussion that has no parents, it
|
105
|
+
would detail the topic thread.)
|
106
|
+
property :about, :label => 'about', :comment =>
|
107
|
+
%(Specifies that this Item is about a particular resource, e.g.
|
108
|
+
a Post describing a book, hotel, etc.)
|
109
|
+
property :account_of, :label => 'account of', :comment =>
|
110
|
+
%(Refers to the foaf:Agent or foaf:Person who owns this
|
111
|
+
sioc:UserAccount.)
|
112
|
+
property :addressed_to, :label => 'addressed to', :comment =>
|
113
|
+
%(Refers to who \(e.g. a UserAccount, e-mail address, etc.\) a
|
114
|
+
particular Item is addressed to.)
|
115
|
+
property :administrator_of, :label => 'administrator of', :comment =>
|
116
|
+
%(A Site that the UserAccount is an administrator of.)
|
117
|
+
property :attachment, :label => 'attachment', :comment =>
|
118
|
+
%(The URI of a file attached to an Item.)
|
119
|
+
property :avatar, :label => 'avatar', :comment =>
|
120
|
+
%(An image or depiction used to represent this UserAccount.)
|
121
|
+
property :container_of, :label => 'container of', :comment =>
|
122
|
+
%(An Item that this Container contains.)
|
123
|
+
property :creator_of, :label => 'creator of', :comment =>
|
124
|
+
%(A resource that the UserAccount is a creator of.)
|
125
|
+
property :email, :label => 'email', :comment =>
|
126
|
+
%(An electronic mail address of the UserAccount.)
|
127
|
+
property :embeds_knowledge, :label => 'embeds knowledge', :comment =>
|
128
|
+
%(This links Items to embedded statements, facts and structured
|
129
|
+
content.)
|
130
|
+
property :feed, :label => 'feed', :comment =>
|
131
|
+
%(A feed \(e.g. RSS, Atom, etc.\) pertaining to this resource
|
132
|
+
\(e.g. for a Forum, Site, UserAccount, etc.\).)
|
133
|
+
property :follows, :label => 'follows', :comment =>
|
134
|
+
%(Indicates that one UserAccount follows another UserAccount
|
135
|
+
\(e.g. for microblog posts or other content item updates\).)
|
136
|
+
property :function_of, :label => 'function of', :comment =>
|
137
|
+
%(A UserAccount that has this Role.)
|
138
|
+
property :group_of, :label => 'group of'
|
139
|
+
property :has_administrator, :label => 'has administrator', :comment =>
|
140
|
+
%(A UserAccount that is an administrator of this Site.)
|
141
|
+
property :has_container, :label => 'has container', :comment =>
|
142
|
+
%(The Container to which this Item belongs.)
|
143
|
+
property :has_creator, :label => 'has creator', :comment =>
|
144
|
+
%(This is the UserAccount that made this resource.)
|
145
|
+
property :has_discussion, :label => 'has discussion', :comment =>
|
146
|
+
%(The discussion that is related to this Item.)
|
147
|
+
property :has_function, :label => 'has function', :comment =>
|
148
|
+
%(A Role that this UserAccount has.)
|
149
|
+
property :has_group, :label => 'has group'
|
150
|
+
property :has_host, :label => 'has host', :comment =>
|
151
|
+
%(The Site that hosts this Forum.)
|
152
|
+
property :has_member, :label => 'has member', :comment =>
|
153
|
+
%(A UserAccount that is a member of this Usergroup.)
|
154
|
+
property :has_moderator, :label => 'has moderator', :comment =>
|
155
|
+
%(A UserAccount that is a moderator of this Forum.)
|
156
|
+
property :has_modifier, :label => 'has modifier', :comment =>
|
157
|
+
%(A UserAccount that modified this Item.)
|
158
|
+
property :has_owner, :label => 'has owner', :comment =>
|
159
|
+
%(A UserAccount that this resource is owned by.)
|
160
|
+
property :has_parent, :label => 'has parent', :comment =>
|
161
|
+
%(A Container or Forum that this Container or Forum is a child
|
162
|
+
of.)
|
163
|
+
property :has_part, :label => 'has part', :comment =>
|
164
|
+
%(An resource that is a part of this subject.)
|
165
|
+
property :has_reply, :label => 'has reply', :comment =>
|
166
|
+
%(Points to an Item or Post that is a reply or response to this
|
167
|
+
Item or Post.)
|
168
|
+
property :has_scope, :label => 'has scope', :comment =>
|
169
|
+
%(A resource that this Role applies to.)
|
170
|
+
property :has_space, :label => 'has space', :comment =>
|
171
|
+
%(A data Space which this resource is a part of.)
|
172
|
+
property :has_subscriber, :label => 'has subscriber', :comment =>
|
173
|
+
%(A UserAccount that is subscribed to this Container.)
|
174
|
+
property :has_usergroup, :label => 'has usergroup', :comment =>
|
175
|
+
%(Points to a Usergroup that has certain access to this Space.)
|
176
|
+
property :host_of, :label => 'host of', :comment =>
|
177
|
+
%(A Forum that is hosted on this Site.)
|
178
|
+
property :latest_version, :label => 'latest version', :comment =>
|
179
|
+
%(Links to the latest revision of this Item or Post.)
|
180
|
+
property :link, :label => 'link', :comment =>
|
181
|
+
%(A URI of a document which contains this SIOC object.)
|
182
|
+
property :links_to, :label => 'links to', :comment =>
|
183
|
+
%(Links extracted from hyperlinks within a SIOC concept, e.g.
|
184
|
+
Post or Site.)
|
185
|
+
property :member_of, :label => 'member of', :comment =>
|
186
|
+
%(A Usergroup that this UserAccount is a member of.)
|
187
|
+
property :moderator_of, :label => 'moderator of', :comment =>
|
188
|
+
%(A Forum that a UserAccount is a moderator of.)
|
189
|
+
property :modifier_of, :label => 'modifier of', :comment =>
|
190
|
+
%(An Item that this UserAccount has modified.)
|
191
|
+
property :next_by_date, :label => 'next by date', :comment =>
|
192
|
+
%(Next Item or Post in a given Container sorted by date.)
|
193
|
+
property :next_version, :label => 'next version', :comment =>
|
194
|
+
%(Links to the next revision of this Item or Post.)
|
195
|
+
property :owner_of, :label => 'owner of', :comment =>
|
196
|
+
%(A resource owned by a particular UserAccount, for example, a
|
197
|
+
weblog or image gallery.)
|
198
|
+
property :parent_of, :label => 'parent of', :comment =>
|
199
|
+
%(A child Container or Forum that this Container or Forum is a
|
200
|
+
parent of.)
|
201
|
+
property :part_of, :label => 'part of', :comment =>
|
202
|
+
%(A resource that the subject is a part of.)
|
203
|
+
property :previous_by_date, :label => 'previous by date', :comment =>
|
204
|
+
%(Previous Item or Post in a given Container sorted by date.)
|
205
|
+
property :previous_version, :label => 'previous version', :comment =>
|
206
|
+
%(Links to the previous revision of this Item or Post.)
|
207
|
+
property :reference, :label => 'reference', :comment =>
|
208
|
+
%(Links either created explicitly or extracted implicitly on the
|
209
|
+
HTML level from the Post.)
|
210
|
+
property :related_to, :label => 'related to', :comment =>
|
211
|
+
%(Related Posts for this Post, perhaps determined implicitly
|
212
|
+
from topics or references.)
|
213
|
+
property :reply_of, :label => 'reply of', :comment =>
|
214
|
+
%(Links to an Item or Post which this Item or Post is a reply
|
215
|
+
to.)
|
216
|
+
property :scope_of, :label => 'scope of', :comment =>
|
217
|
+
%(A Role that has a scope of this resource.)
|
218
|
+
property :space_of, :label => 'space of', :comment =>
|
219
|
+
%(A resource which belongs to this data Space.)
|
220
|
+
property :subscriber_of, :label => 'subscriber of', :comment =>
|
221
|
+
%(A Container that a UserAccount is subscribed to.)
|
222
|
+
property :topic, :label => 'topic', :comment =>
|
223
|
+
%(A topic of interest, linking to the appropriate URI, e.g. in
|
224
|
+
the Open Directory Project or of a SKOS category.)
|
225
|
+
property :usergroup_of, :label => 'usergroup of', :comment =>
|
226
|
+
%(A Space that the Usergroup has access to.)
|
92
227
|
end
|
93
228
|
end
|
data/lib/rdf/vocab/skos.rb
CHANGED
@@ -1,36 +1,144 @@
|
|
1
|
+
# This file generated automatically using vocab-fetch from http://www.w3.org/2004/02/skos/core#
|
2
|
+
require 'rdf'
|
1
3
|
module RDF
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
property :
|
8
|
-
property :
|
9
|
-
|
10
|
-
|
11
|
-
property :
|
12
|
-
|
13
|
-
property :
|
14
|
-
|
15
|
-
|
16
|
-
property :
|
17
|
-
property :
|
18
|
-
property :
|
19
|
-
property :
|
20
|
-
property :
|
21
|
-
|
22
|
-
|
23
|
-
property :
|
24
|
-
property :
|
25
|
-
property :
|
26
|
-
property :
|
27
|
-
|
28
|
-
|
29
|
-
property :
|
30
|
-
property :
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
property :
|
4
|
+
class SKOS < StrictVocabulary("http://www.w3.org/2004/02/skos/core#")
|
5
|
+
|
6
|
+
# Class definitions
|
7
|
+
property :Collection, :label => 'Collection'
|
8
|
+
property :Concept, :label => 'Concept'
|
9
|
+
property :ConceptScheme, :label => 'Concept Scheme'
|
10
|
+
property :OrderedCollection, :label => 'Ordered Collection'
|
11
|
+
|
12
|
+
# Property definitions
|
13
|
+
property :altLabel, :label => 'alternative label', :comment =>
|
14
|
+
%(The range of skos:altLabel is the class of RDF plain literals.)
|
15
|
+
property :altLabel, :label => 'alternative label', :comment =>
|
16
|
+
%(skos:prefLabel, skos:altLabel and skos:hiddenLabel are
|
17
|
+
pairwise disjoint properties.)
|
18
|
+
property :changeNote, :label => 'change note'
|
19
|
+
property :definition, :label => 'definition'
|
20
|
+
property :editorialNote, :label => 'editorial note'
|
21
|
+
property :example, :label => 'example'
|
22
|
+
property :broader, :label => 'has broader', :comment =>
|
23
|
+
%(Broader concepts are typically rendered as parents in a
|
24
|
+
concept hierarchy \(tree\).)
|
25
|
+
property :broadMatch, :label => 'has broader match'
|
26
|
+
property :broaderTransitive, :label => 'has broader transitive'
|
27
|
+
property :closeMatch, :label => 'has close match'
|
28
|
+
property :exactMatch, :label => 'has exact match', :comment =>
|
29
|
+
%(skos:exactMatch is disjoint with each of the properties
|
30
|
+
skos:broadMatch and skos:relatedMatch.)
|
31
|
+
property :member, :label => 'has member'
|
32
|
+
property :memberList, :label => 'has member list', :comment =>
|
33
|
+
%(For any resource, every item in the list given as the value of
|
34
|
+
the skos:memberList property is also a value of the
|
35
|
+
skos:member property.)
|
36
|
+
property :narrower, :label => 'has narrower', :comment =>
|
37
|
+
%(Narrower concepts are typically rendered as children in a
|
38
|
+
concept hierarchy \(tree\).)
|
39
|
+
property :narrowMatch, :label => 'has narrower match'
|
40
|
+
property :narrowerTransitive, :label => 'has narrower transitive'
|
41
|
+
property :related, :label => 'has related', :comment =>
|
42
|
+
%(skos:related is disjoint with skos:broaderTransitive)
|
43
|
+
property :relatedMatch, :label => 'has related match'
|
44
|
+
property :hasTopConcept, :label => 'has top concept'
|
45
|
+
property :hiddenLabel, :label => 'hidden label', :comment =>
|
46
|
+
%(The range of skos:hiddenLabel is the class of RDF plain
|
47
|
+
literals.)
|
48
|
+
property :hiddenLabel, :label => 'hidden label', :comment =>
|
49
|
+
%(skos:prefLabel, skos:altLabel and skos:hiddenLabel are
|
50
|
+
pairwise disjoint properties.)
|
51
|
+
property :historyNote, :label => 'history note'
|
52
|
+
property :mappingRelation, :label => 'is in mapping relation with', :comment =>
|
53
|
+
%(These concept mapping relations mirror semantic relations, and
|
54
|
+
the data model defined below is similar \(with the exception
|
55
|
+
of skos:exactMatch\) to the data model defined for semantic
|
56
|
+
relations. A distinct vocabulary is provided for concept
|
57
|
+
mapping relations, to provide a convenient way to
|
58
|
+
differentiate links within a concept scheme from links between
|
59
|
+
concept schemes. However, this pattern of usage is not a
|
60
|
+
formal requirement of the SKOS data model, and relies on
|
61
|
+
informal definitions of best practice.)
|
62
|
+
property :inScheme, :label => 'is in scheme'
|
63
|
+
property :semanticRelation, :label => 'is in semantic relation with'
|
64
|
+
property :topConceptOf, :label => 'is top concept in scheme'
|
65
|
+
property :notation, :label => 'notation'
|
66
|
+
property :note, :label => 'note'
|
67
|
+
property :prefLabel, :label => 'preferred label', :comment =>
|
68
|
+
%(The range of skos:prefLabel is the class of RDF plain
|
69
|
+
literals.)
|
70
|
+
property :prefLabel, :label => 'preferred label', :comment =>
|
71
|
+
%(A resource has no more than one value of skos:prefLabel per
|
72
|
+
language tag, and no more than one value of skos:prefLabel
|
73
|
+
without language tag.)
|
74
|
+
property :prefLabel, :label => 'preferred label', :comment =>
|
75
|
+
%(skos:prefLabel, skos:altLabel and skos:hiddenLabel are
|
76
|
+
pairwise disjoint properties.)
|
77
|
+
property :scopeNote, :label => 'scope note'
|
78
|
+
property :notation, :label => 'notation'
|
79
|
+
property :broader, :label => 'has broader', :comment =>
|
80
|
+
%(Broader concepts are typically rendered as parents in a
|
81
|
+
concept hierarchy \(tree\).)
|
82
|
+
property :broadMatch, :label => 'has broader match'
|
83
|
+
property :broaderTransitive, :label => 'has broader transitive'
|
84
|
+
property :closeMatch, :label => 'has close match'
|
85
|
+
property :exactMatch, :label => 'has exact match', :comment =>
|
86
|
+
%(skos:exactMatch is disjoint with each of the properties
|
87
|
+
skos:broadMatch and skos:relatedMatch.)
|
88
|
+
property :member, :label => 'has member'
|
89
|
+
property :memberList, :label => 'has member list', :comment =>
|
90
|
+
%(For any resource, every item in the list given as the value of
|
91
|
+
the skos:memberList property is also a value of the
|
92
|
+
skos:member property.)
|
93
|
+
property :narrower, :label => 'has narrower', :comment =>
|
94
|
+
%(Narrower concepts are typically rendered as children in a
|
95
|
+
concept hierarchy \(tree\).)
|
96
|
+
property :narrowMatch, :label => 'has narrower match'
|
97
|
+
property :narrowerTransitive, :label => 'has narrower transitive'
|
98
|
+
property :related, :label => 'has related', :comment =>
|
99
|
+
%(skos:related is disjoint with skos:broaderTransitive)
|
100
|
+
property :relatedMatch, :label => 'has related match'
|
101
|
+
property :hasTopConcept, :label => 'has top concept'
|
102
|
+
property :mappingRelation, :label => 'is in mapping relation with', :comment =>
|
103
|
+
%(These concept mapping relations mirror semantic relations, and
|
104
|
+
the data model defined below is similar \(with the exception
|
105
|
+
of skos:exactMatch\) to the data model defined for semantic
|
106
|
+
relations. A distinct vocabulary is provided for concept
|
107
|
+
mapping relations, to provide a convenient way to
|
108
|
+
differentiate links within a concept scheme from links between
|
109
|
+
concept schemes. However, this pattern of usage is not a
|
110
|
+
formal requirement of the SKOS data model, and relies on
|
111
|
+
informal definitions of best practice.)
|
112
|
+
property :inScheme, :label => 'is in scheme'
|
113
|
+
property :semanticRelation, :label => 'is in semantic relation with'
|
114
|
+
property :topConceptOf, :label => 'is top concept in scheme'
|
115
|
+
property :altLabel, :label => 'alternative label', :comment =>
|
116
|
+
%(The range of skos:altLabel is the class of RDF plain literals.)
|
117
|
+
property :altLabel, :label => 'alternative label', :comment =>
|
118
|
+
%(skos:prefLabel, skos:altLabel and skos:hiddenLabel are
|
119
|
+
pairwise disjoint properties.)
|
120
|
+
property :changeNote, :label => 'change note'
|
121
|
+
property :definition, :label => 'definition'
|
122
|
+
property :editorialNote, :label => 'editorial note'
|
123
|
+
property :example, :label => 'example'
|
124
|
+
property :hiddenLabel, :label => 'hidden label', :comment =>
|
125
|
+
%(skos:prefLabel, skos:altLabel and skos:hiddenLabel are
|
126
|
+
pairwise disjoint properties.)
|
127
|
+
property :hiddenLabel, :label => 'hidden label', :comment =>
|
128
|
+
%(The range of skos:hiddenLabel is the class of RDF plain
|
129
|
+
literals.)
|
130
|
+
property :historyNote, :label => 'history note'
|
131
|
+
property :note, :label => 'note'
|
132
|
+
property :prefLabel, :label => 'preferred label', :comment =>
|
133
|
+
%(A resource has no more than one value of skos:prefLabel per
|
134
|
+
language tag, and no more than one value of skos:prefLabel
|
135
|
+
without language tag.)
|
136
|
+
property :prefLabel, :label => 'preferred label', :comment =>
|
137
|
+
%(skos:prefLabel, skos:altLabel and skos:hiddenLabel are
|
138
|
+
pairwise disjoint properties.)
|
139
|
+
property :prefLabel, :label => 'preferred label', :comment =>
|
140
|
+
%(The range of skos:prefLabel is the class of RDF plain
|
141
|
+
literals.)
|
142
|
+
property :scopeNote, :label => 'scope note'
|
35
143
|
end
|
36
144
|
end
|