rdf 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/CREDITS +1 -0
  3. data/VERSION +1 -1
  4. data/lib/rdf.rb +10 -48
  5. data/lib/rdf/cli/vocab-loader.rb +78 -142
  6. data/lib/rdf/mixin/enumerable.rb +25 -0
  7. data/lib/rdf/mixin/mutable.rb +3 -0
  8. data/lib/rdf/model/graph.rb +1 -1
  9. data/lib/rdf/model/node.rb +25 -2
  10. data/lib/rdf/model/statement.rb +20 -12
  11. data/lib/rdf/model/uri.rb +11 -2
  12. data/lib/rdf/nquads.rb +8 -6
  13. data/lib/rdf/ntriples/writer.rb +14 -10
  14. data/lib/rdf/query/pattern.rb +10 -8
  15. data/lib/rdf/reader.rb +11 -2
  16. data/lib/rdf/repository.rb +1 -1
  17. data/lib/rdf/vocab.rb +396 -96
  18. data/lib/rdf/vocab/cc.rb +117 -25
  19. data/lib/rdf/vocab/cert.rb +230 -117
  20. data/lib/rdf/vocab/dc.rb +930 -233
  21. data/lib/rdf/vocab/dc11.rb +151 -37
  22. data/lib/rdf/vocab/doap.rb +326 -114
  23. data/lib/rdf/vocab/exif.rb +930 -533
  24. data/lib/rdf/vocab/foaf.rb +602 -346
  25. data/lib/rdf/vocab/geo.rb +139 -33
  26. data/lib/rdf/vocab/gr.rb +1551 -1084
  27. data/lib/rdf/vocab/ht.rb +319 -0
  28. data/lib/rdf/vocab/ical.rb +507 -349
  29. data/lib/rdf/vocab/ma.rb +504 -280
  30. data/lib/rdf/vocab/mo.rb +2425 -876
  31. data/lib/rdf/vocab/og.rb +178 -90
  32. data/lib/rdf/vocab/owl.rb +513 -219
  33. data/lib/rdf/vocab/prov.rb +1557 -479
  34. data/lib/rdf/vocab/rdfs.rb +107 -31
  35. data/lib/rdf/vocab/rdfv.rb +165 -0
  36. data/lib/rdf/vocab/rsa.rb +61 -18
  37. data/lib/rdf/vocab/rss.rb +55 -22
  38. data/lib/rdf/vocab/schema.rb +8590 -3995
  39. data/lib/rdf/vocab/sioc.rb +657 -218
  40. data/lib/rdf/vocab/skos.rb +227 -134
  41. data/lib/rdf/vocab/skosxl.rb +47 -33
  42. data/lib/rdf/vocab/vcard.rb +693 -327
  43. data/lib/rdf/vocab/void.rb +175 -132
  44. data/lib/rdf/vocab/vs.rb +27 -0
  45. data/lib/rdf/vocab/wdrs.rb +123 -119
  46. data/lib/rdf/vocab/wot.rb +155 -45
  47. data/lib/rdf/vocab/xhtml.rb +2 -1
  48. data/lib/rdf/vocab/xhv.rb +496 -231
  49. data/lib/rdf/vocab/xsd.rb +382 -53
  50. data/lib/rdf/writer.rb +8 -4
  51. metadata +5 -4
  52. data/lib/rdf/vocab/http.rb +0 -84
  53. data/lib/rdf/vocab/v.rb +0 -154
data/lib/rdf/vocab/ma.rb CHANGED
@@ -1,290 +1,514 @@
1
+ # -*- encoding: utf-8 -*-
1
2
  # This file generated automatically using vocab-fetch from http://www.w3.org/ns/ma-ont.rdf
2
3
  require 'rdf'
3
4
  module RDF
4
5
  class MA < StrictVocabulary("http://www.w3.org/ns/ma-ont#")
5
6
 
6
7
  # Class definitions
7
- property :Agent, :comment =>
8
- %(A person or organisation contributing to the media resource.)
9
- property :AudioTrack, :comment =>
10
- %(A specialisation of Track for Audio to provide a link to
11
- specific data properties such as sampleRate, etc.
12
- Specialisation is defined through object properties.)
13
- property :Collection, :comment =>
14
- %(Any group of media resource e.g. a series.)
15
- property :DataTrack, :comment =>
16
- %(Ancillary data track e.g. captioning in addition to video and
17
- audio tracks. Specialisation is made through the use of
18
- appropriate object properties.)
19
- property :Image, :comment =>
20
- %(A still image / thumbnail / key frame related to the media
21
- resource or being the media resource itself.)
22
- property :Location, :comment =>
23
- %(A location related to the media resource, e.g. depicted in the
24
- resource \(possibly fictional\) or where the resource was
25
- created \(shooting location\), etc.)
26
- property :MediaFragment, :comment =>
27
- %(A media fragment \(spatial, temporal, track...\) composing a
28
- media resource. In other ontologies fragment is sometimes
29
- referred to as a 'part' or 'segment'.)
30
- property :MediaResource, :comment =>
31
- %(An image or an audiovisual media resource, which can be
32
- composed of one or more fragment / track.)
33
- property :Organisation, :comment =>
34
- %(An organisation or moral agent.)
35
- property :Person, :comment =>
36
- %(A physical person.)
37
- property :Rating, :comment =>
38
- %(Information about the rating given to a media resource.)
39
- property :TargetAudience, :comment =>
40
- %(Information about The target audience \(target region, target
41
- audience category but also parental guidance recommendation\)
42
- for which a media resource is intended.)
43
- property :Track, :comment =>
44
- %(A specialisation of MediaFragment for audiovisual content.)
45
- property :VideoTrack, :comment =>
46
- %(A specialisation of Track for Video to provide a link to
47
- specific data properties such as frameRate, etc. Signing is
48
- another possible example of video track. Specialisation is
49
- defined through object properties.)
8
+ term :Agent,
9
+ comment: %(A person or organisation contributing to the media resource.).freeze,
10
+ label: "Agent".freeze,
11
+ "owl:disjointWith" => %(ma:Collection).freeze,
12
+ type: "owl:Class".freeze
13
+ term :AudioTrack,
14
+ comment: %(A specialisation of Track for Audio to provide a link to specific data properties such as sampleRate, etc. Specialisation is defined through object properties.).freeze,
15
+ label: "AudioTrack".freeze,
16
+ "owl:disjointWith" => %(ma:DataTrack).freeze,
17
+ subClassOf: "ma:Track".freeze,
18
+ type: "owl:Class".freeze
19
+ term :Collection,
20
+ comment: %(Any group of media resource e.g. a series.).freeze,
21
+ label: "Collection".freeze,
22
+ "owl:disjointWith" => %(ma:Location).freeze,
23
+ type: "owl:Class".freeze
24
+ term :DataTrack,
25
+ comment: %(Ancillary data track e.g. captioning in addition to video and audio tracks. Specialisation is made through the use of appropriate object properties.).freeze,
26
+ label: "DataTrack".freeze,
27
+ "owl:disjointWith" => %(ma:VideoTrack).freeze,
28
+ subClassOf: "ma:Track".freeze,
29
+ type: "owl:Class".freeze
30
+ term :Image,
31
+ comment: %(A still image / thumbnail / key frame related to the media resource or being the media resource itself.).freeze,
32
+ label: "Image".freeze,
33
+ subClassOf: "ma:MediaResource".freeze,
34
+ type: "owl:Class".freeze
35
+ term :Location,
36
+ comment: %(A location related to the media resource, e.g. depicted in the resource \(possibly fictional\) or where the resource was created \(shooting location\), etc.).freeze,
37
+ label: "Location".freeze,
38
+ "owl:disjointWith" => %(ma:MediaResource).freeze,
39
+ type: "owl:Class".freeze
40
+ term :MediaFragment,
41
+ comment: %(A media fragment \(spatial, temporal, track...\) composing a media resource. In other ontologies fragment is sometimes referred to as a 'part' or 'segment'.).freeze,
42
+ label: "MediaFragment".freeze,
43
+ subClassOf: "ma:MediaResource".freeze,
44
+ type: "owl:Class".freeze
45
+ term :MediaResource,
46
+ comment: %(An image or an audiovisual media resource, which can be composed of one or more fragment / track.).freeze,
47
+ label: "MediaResource".freeze,
48
+ "owl:disjointWith" => %(ma:Rating).freeze,
49
+ type: "owl:Class".freeze
50
+ term :Organisation,
51
+ comment: %(An organisation or moral agent.).freeze,
52
+ label: "Organisation".freeze,
53
+ "owl:disjointWith" => %(ma:Person).freeze,
54
+ subClassOf: "ma:Agent".freeze,
55
+ type: "owl:Class".freeze
56
+ term :Person,
57
+ comment: %(A physical person.).freeze,
58
+ label: "Person".freeze,
59
+ subClassOf: "ma:Agent".freeze,
60
+ type: "owl:Class".freeze
61
+ term :Rating,
62
+ comment: %(Information about the rating given to a media resource.).freeze,
63
+ label: "Rating".freeze,
64
+ "owl:disjointWith" => %(ma:TargetAudience).freeze,
65
+ type: "owl:Class".freeze
66
+ term :TargetAudience,
67
+ comment: %(Information about The target audience \(target region, target audience category but also parental guidance recommendation\) for which a media resource is intended.).freeze,
68
+ label: "TargetAudience".freeze,
69
+ type: "owl:Class".freeze
70
+ term :Track,
71
+ comment: %(A specialisation of MediaFragment for audiovisual content.).freeze,
72
+ label: "Track".freeze,
73
+ subClassOf: "ma:MediaFragment".freeze,
74
+ type: "owl:Class".freeze
75
+ term :VideoTrack,
76
+ comment: %(A specialisation of Track for Video to provide a link to specific data properties such as frameRate, etc. Signing is another possible example of video track. Specialisation is defined through object properties.).freeze,
77
+ label: "VideoTrack".freeze,
78
+ subClassOf: "ma:Track".freeze,
79
+ type: "owl:Class".freeze
50
80
 
51
81
  # Property definitions
52
- property :alternativeTitle, :comment =>
53
- %(Corresponds to 'title.title' in the Ontology for Media
54
- Resources with a 'title.type' meaning "alternative".)
55
- property :averageBitRate, :comment =>
56
- %(Corresponds to 'averageBitRate' in the Ontology for Media
57
- Resources, expressed in kilobits/second.)
58
- property :collectionName, :comment =>
59
- %(The name by which a collection \(e.g. series\) is known.)
60
- property :copyright, :comment =>
61
- %(Corresponds to 'copyright.copyright' in the Ontology for Media
62
- Resources.)
63
- property :creationDate, :comment =>
64
- %(Corresponds to 'date.date' in the Ontology for Media Resources
65
- with a 'date.type' meaning "creationDate".)
66
- property :date, :comment =>
67
- %(Corresponds to date.date in the ontology for Media Resources.
68
- Subproperties can be used to distinguish different values of
69
- 'date.type'. The recommended range is 'xsd:dateTime' \(for
70
- compliance with OWL2-QL and OWL2-RL\) but other time-related
71
- datatypes may be used \(e.g. 'xsd:gYear', 'xsd:date'...\).)
72
- property :description, :comment =>
73
- %(Corresponds to 'description' in the Ontology for Media
74
- Resources. This can be specialised by using sub-properties
75
- e.g. 'summary' or 'script'.)
76
- property :duration, :comment =>
77
- %(Corresponds to 'duration' in the Ontology for Media Resources.)
78
- property :editDate, :comment =>
79
- %(Corresponds to 'date.date' in the Ontology for Media Resources
80
- with a 'date.type' meaning "editDate".)
81
- property :fragmentName, :comment =>
82
- %(Corresponds to 'namedFragment.label' in the Ontology for Media
83
- Resources.)
84
- property :frameHeight, :comment =>
85
- %(Corresponds to 'frameSize.height' in the Ontology for Media
86
- Resources, measured in frameSizeUnit.)
87
- property :frameRate, :comment =>
88
- %(Corresponds to 'frameRate' in the Ontology for Media
89
- Resources, in frame per second.)
90
- property :frameSizeUnit, :comment =>
91
- %(Corresponds to 'frameSize.unit' in the Ontology for Media
92
- Resources.)
93
- property :frameWidth, :comment =>
94
- %(Corresponds to 'frameSize.width' in the Ontology for Media
95
- Resources measured in frameSizeUnit.)
96
- property :locationAltitude, :comment =>
97
- %(Corresponds to 'location.altitude' in the Ontology for Media
98
- Resources.)
99
- property :locationLatitude, :comment =>
100
- %(Corresponds to 'location.latitude' in the Ontology for Media
101
- Resources.)
102
- property :locationLongitude, :comment =>
103
- %(Corresponds to 'location.longitude' in the Ontology for Media
104
- Resources.)
105
- property :locationName, :comment =>
106
- %(Corresponds to 'location.name' in the Ontology for Media
107
- Resources.)
108
- property :locator, :comment =>
109
- %(Corresponds to 'locator' in the Ontology for Media Resources.)
110
- property :mainOriginalTitle, :comment =>
111
- %(Corresponds to 'title.title' in the Ontology for Media
112
- Resources with a 'title.type' meaning "original".)
113
- property :numberOfTracks, :comment =>
114
- %(Corresponds to 'numTracks.number' in the Ontology for Media
115
- Resources. Subproperties can be used to distinguish different
116
- values of 'numTracks.type'.)
117
- property :ratingScaleMax, :comment =>
118
- %(Corresponds to 'rating.max' in the Ontology for Media
119
- Resources.)
120
- property :ratingScaleMin, :comment =>
121
- %(Corresponds to 'rating.min' in the Ontology for Media
122
- Resources.)
123
- property :ratingValue, :comment =>
124
- %(Corresponds to 'rating.value' in the Ontology for Media
125
- Resources.)
126
- property :recordDate, :comment =>
127
- %(Corresponds to 'date.date' in the Ontology for Media Resources
128
- with a 'date.type' meaning "recordDate".)
129
- property :releaseDate, :comment =>
130
- %(Corresponds to 'date.date' in the Ontology for Media Resources
131
- with a 'date.type' meaning "releaseDate".)
132
- property :samplingRate, :comment =>
133
- %(Corresponds to 'samplingRate' in the Ontology for Media
134
- Resources, in samples per second.)
135
- property :title, :comment =>
136
- %(Corresponds to 'title.title' in the Ontology for Media
137
- Resources. Subproperties can be used to distinguish different
138
- values of 'title.type'.)
139
- property :trackName, :comment =>
140
- %(Corresponds to 'fragment.name' in the Ontology for Media
141
- Resources, for Track fragments.)
142
- property :createdIn, :comment =>
143
- %(A subproperty of 'hasRelatedLocation" used to specify where
144
- material shooting took place.)
145
- property :depictsFictionalLocation, :comment =>
146
- %(A subproperty of 'hasRelatedLocation' used to specify where
147
- the action depicted in the media is supposed to take place, as
148
- opposed to the location where shooting actually took place
149
- \(see 'createdIn'\).)
150
- property :features, :comment =>
151
- %(Corresponds to 'contributor.contributor' in the Ontology for
152
- Media Resources with a 'contributor.role' meaning "actor".)
153
- property :hasAccessConditions, :comment =>
154
- %(Corresponds to 'policy' in the Ontology for Media Resources
155
- with a 'policy.type' "access conditions".)
156
- property :hasAudioDescription, :comment =>
157
- %(Corresponds to 'fragment' in the Ontology for Media Resources
158
- with a 'fragment.role' meaning "audio-description".)
159
- property :hasCaptioning, :comment =>
160
- %(Corresponds to 'fragment' in the Ontology for Media Resources
161
- with a 'fragment.role' meaning "captioning". This property can
162
- for example point to a spatial fragment, a VideoTrack or a
163
- DataTrack. The language of the captioning track can be
164
- expressed by attaching a 'hasLanguage' property to the
165
- specific track.)
166
- property :hasChapter, :comment =>
167
- %(Corresponds to 'fragment' in the Ontology for Media Resources
168
- with a 'fragment.role' meaning "chapter".)
169
- property :hasClassification, :comment =>
170
- %(Corresponds to 'targetAudience.classification' in the Ontology
171
- for Media Resources. This property is used to provide a value
172
- characterising the target audience.)
173
- property :hasClassificationSystem, :comment =>
174
- %(Corresponds to 'targetAudience.identifier' in the Ontology for
175
- Media Resources. This is used to identify the reference sheme
176
- against which the target audience has been characterised.)
177
- property :hasCompression, :comment =>
178
- %(Corresponds to 'compression' in the Ontology for Media
179
- Resources.)
180
- property :hasContributedTo
181
- property :hasContributor, :comment =>
182
- %(Corresponds to 'contributor.contributor' in the Ontology for
183
- Media Resources. Subproperties can be used to distinguish
184
- different values of 'contributor.role'.)
185
- property :hasCopyrightOver
186
- property :hasCreated
187
- property :hasCreator, :comment =>
188
- %(Corresponds to 'creator.creator' in the Ontology for Media
189
- Resources. Subproperties can be used to distinguish different
190
- values of 'creator.role'. Note that this property is
191
- semantically a subproperty of 'hasContributor'.)
192
- property :hasFormat, :comment =>
193
- %(Corresponds to 'format' in the Ontology for Media Resources.)
194
- property :hasFragment, :comment =>
195
- %(Corresponds to 'fragment' in the Ontology for Media Resources.
196
- Subproperties can be used to distinguish different values of
197
- 'fragment.role'.)
198
- property :hasGenre, :comment =>
199
- %(Corresponds to 'genre' in the Ontology for Media Resources.)
200
- property :hasKeyword, :comment =>
201
- %(Corresponds to 'keyword' in the Ontology for Media Resources.)
202
- property :hasLanguage, :comment =>
203
- %(Corresponds to 'language' in the Ontology for Media Resources.
204
- The language used in the resource. A controlled vocabulary
205
- such as defined in BCP 47 SHOULD be used. This property can
206
- also be used to identify the presence of sign language \(RFC
207
- 5646\). By inheritance, the hasLanguage property applies
208
- indifferently at the media resource / fragment / track levels.
209
- Best practice recommends to use to best possible level of
210
- granularity fo describe the usage of language within a media
211
- resource including at fragment and track levels.)
212
- property :hasLocationCoordinateSystem, :comment =>
213
- %(Corresponds to 'location.coordinateSystem' in the Ontology for
214
- Media Resources.)
215
- property :hasMember
216
- property :hasNamedFragment, :comment =>
217
- %(Corresponds to 'namedFragment' in the Ontology for Media
218
- Resources.)
219
- property :hasPermissions, :comment =>
220
- %(Corresponds to 'policy' in the Ontology for Media Resources
221
- with a 'policy.type' meaning "permissions".)
222
- property :hasPolicy, :comment =>
223
- %(Corresponds to 'policy' in the Ontology for Media Resources.
224
- Subproperties can be used to distinguish different values of
225
- 'policy.type'.)
226
- property :hasPublished
227
- property :hasPublisher, :comment =>
228
- %(Corresponds to 'publisher' in the Ontology for Media
229
- Resources.)
230
- property :hasRating, :comment =>
231
- %(Corresponds to 'rating' in the Ontology for Media Resources.)
232
- property :hasRatingSystem, :comment =>
233
- %(Corresponds to 'rating.type' in the Ontology for Media
234
- Resources.)
235
- property :hasRelatedImage, :comment =>
236
- %(Corresponds to 'relation' and in the Ontology for Media
237
- Resources with a 'relation.type' meaning "related image".)
238
- property :hasRelatedLocation, :comment =>
239
- %(Corresponds to 'location' in the Ontology for Media Resources.
240
- Subproperties are provided to specify, when possible, the
241
- relation between the media resource and the location.)
242
- property :hasRelatedResource, :comment =>
243
- %(Corresponds to 'relation' and in the Ontology for Media
244
- Resources. Subproperties can be used to distinguish different
245
- values of 'relation.type'.)
246
- property :hasSigning, :comment =>
247
- %(Corresponds to 'fragment' in the Ontology for Media Resources
248
- with a 'fragment.role' meaning "signing". This property can
249
- for example point to a spatial fragment or a VideoTrack. The
250
- sign language of the captioning track can be expressed by
251
- attaching a 'hasLanguage' property to the specific track.)
252
- property :hasSource, :comment =>
253
- %(Corresponds to 'relation' and in the Ontology for Media
254
- Resources with a 'relation.type' meaning "source".)
255
- property :hasSubtitling, :comment =>
256
- %(Corresponds to 'fragment' in the Ontology for Media Resources
257
- with a 'fragment.role' meaning "subtitling".)
258
- property :hasTargetAudience, :comment =>
259
- %(Corresponds to 'targetAudience' in the Ontology for Media
260
- Resources.)
261
- property :hasTrack, :comment =>
262
- %(Corresponds to 'fragment' in the Ontology for Media Resources
263
- with a 'fragment.role' meaning "track".)
264
- property :isCaptioningOf
265
- property :isChapterOf
266
- property :isCopyrightedBy, :comment =>
267
- %(Corresponds to 'copyright.identifier' in the Ontology for
268
- Media Resources.)
269
- property :isCreationLocationOf
270
- property :isFictionalLocationDepictedIn
271
- property :isFragmentOf
272
- property :isImageRelatedTo
273
- property :isLocationRelatedTo
274
- property :isMemberOf, :comment =>
275
- %(Corresponds to 'collection' in the Ontology for Media
276
- Resources.)
277
- property :isNamedFragmentOf
278
- property :isProvidedBy, :comment =>
279
- %(Corresponds to 'rating.identifier' in the Ontology for Media
280
- Resources.)
281
- property :isRatingOf
282
- property :isRelatedTo
283
- property :isSigningOf
284
- property :isSourceOf
285
- property :isTargetAudienceOf
286
- property :isTrackOf
287
- property :playsIn
288
- property :provides
82
+ property :alternativeTitle,
83
+ comment: %(Corresponds to 'title.title' in the Ontology for Media Resources with a 'title.type' meaning "alternative".).freeze,
84
+ label: "alternativeTitle".freeze,
85
+ subPropertyOf: "ma:title".freeze,
86
+ type: "owl:DatatypeProperty".freeze
87
+ property :averageBitRate,
88
+ comment: %(Corresponds to 'averageBitRate' in the Ontology for Media Resources, expressed in kilobits/second.).freeze,
89
+ domain: "_:g2180057780".freeze,
90
+ label: "averageBitRate".freeze,
91
+ range: "xsd:decimal".freeze,
92
+ type: "owl:DatatypeProperty".freeze
93
+ property :collectionName,
94
+ comment: %(The name by which a collection \(e.g. series\) is known.).freeze,
95
+ domain: "ma:Collection".freeze,
96
+ label: "collectionName".freeze,
97
+ type: "owl:DatatypeProperty".freeze
98
+ property :copyright,
99
+ comment: %(Corresponds to 'copyright.copyright' in the Ontology for Media Resources.).freeze,
100
+ domain: "ma:MediaResource".freeze,
101
+ label: "copyright".freeze,
102
+ type: "owl:DatatypeProperty".freeze
103
+ property :createdIn,
104
+ comment: %(A subproperty of 'hasRelatedLocation" used to specify where material shooting took place.).freeze,
105
+ label: "createdIn".freeze,
106
+ "owl:inverseOf" => %(ma:isCreationLocationOf).freeze,
107
+ subPropertyOf: "ma:hasRelatedLocation".freeze,
108
+ type: "owl:ObjectProperty".freeze
109
+ property :creationDate,
110
+ comment: %(Corresponds to 'date.date' in the Ontology for Media Resources with a 'date.type' meaning "creationDate".).freeze,
111
+ label: "creationDate".freeze,
112
+ subPropertyOf: "ma:date".freeze,
113
+ type: "owl:DatatypeProperty".freeze
114
+ property :date,
115
+ comment: %(Corresponds to date.date in the ontology for Media Resources. Subproperties can be used to distinguish different values of 'date.type'. The recommended range is 'xsd:dateTime' \(for compliance with OWL2-QL and OWL2-RL\) but other time-related datatypes may be used \(e.g. 'xsd:gYear', 'xsd:date'...\).).freeze,
116
+ domain: "ma:MediaResource".freeze,
117
+ label: "date".freeze,
118
+ type: "owl:DatatypeProperty".freeze
119
+ property :depictsFictionalLocation,
120
+ comment: %(A subproperty of 'hasRelatedLocation' used to specify where the action depicted in the media is supposed to take place, as opposed to the location where shooting actually took place \(see 'createdIn'\).).freeze,
121
+ label: "depictsFictionalLocation".freeze,
122
+ "owl:inverseOf" => %(ma:isFictionalLocationDepictedIn).freeze,
123
+ subPropertyOf: "ma:hasRelatedLocation".freeze,
124
+ type: "owl:ObjectProperty".freeze
125
+ property :description,
126
+ comment: %(Corresponds to 'description' in the Ontology for Media Resources. This can be specialised by using sub-properties e.g. 'summary' or 'script'.).freeze,
127
+ domain: "ma:MediaResource".freeze,
128
+ label: "description".freeze,
129
+ type: "owl:DatatypeProperty".freeze
130
+ property :duration,
131
+ comment: %(Corresponds to 'duration' in the Ontology for Media Resources.).freeze,
132
+ domain: "_:g2179005900".freeze,
133
+ label: "duration".freeze,
134
+ range: "xsd:decimal".freeze,
135
+ type: "owl:DatatypeProperty".freeze
136
+ property :editDate,
137
+ comment: %(Corresponds to 'date.date' in the Ontology for Media Resources with a 'date.type' meaning "editDate".).freeze,
138
+ label: "editDate".freeze,
139
+ subPropertyOf: "ma:date".freeze,
140
+ type: "owl:DatatypeProperty".freeze
141
+ property :features,
142
+ comment: %(Corresponds to 'contributor.contributor' in the Ontology for Media Resources with a 'contributor.role' meaning "actor".).freeze,
143
+ label: "features".freeze,
144
+ "owl:inverseOf" => %(ma:playsIn).freeze,
145
+ range: "ma:Person".freeze,
146
+ subPropertyOf: "ma:hasContributor".freeze,
147
+ type: "owl:ObjectProperty".freeze
148
+ property :fragmentName,
149
+ comment: %(Corresponds to 'namedFragment.label' in the Ontology for Media Resources.).freeze,
150
+ domain: "ma:MediaFragment".freeze,
151
+ label: "fragmentName".freeze,
152
+ type: "owl:DatatypeProperty".freeze
153
+ property :frameHeight,
154
+ comment: %(Corresponds to 'frameSize.height' in the Ontology for Media Resources, measured in frameSizeUnit.).freeze,
155
+ domain: "ma:MediaResource".freeze,
156
+ label: "frameHeight".freeze,
157
+ range: "xsd:integer".freeze,
158
+ type: "owl:DatatypeProperty".freeze
159
+ property :frameRate,
160
+ comment: %(Corresponds to 'frameRate' in the Ontology for Media Resources, in frame per second.).freeze,
161
+ domain: "ma:MediaResource".freeze,
162
+ label: "frameRate".freeze,
163
+ range: "xsd:decimal".freeze,
164
+ type: "owl:DatatypeProperty".freeze
165
+ property :frameSizeUnit,
166
+ comment: %(Corresponds to 'frameSize.unit' in the Ontology for Media Resources.).freeze,
167
+ domain: "ma:MediaResource".freeze,
168
+ label: "frameSizeUnit".freeze,
169
+ type: "owl:DatatypeProperty".freeze
170
+ property :frameWidth,
171
+ comment: %(Corresponds to 'frameSize.width' in the Ontology for Media Resources measured in frameSizeUnit.).freeze,
172
+ domain: "ma:MediaResource".freeze,
173
+ label: "frameWidth".freeze,
174
+ range: "xsd:integer".freeze,
175
+ type: "owl:DatatypeProperty".freeze
176
+ property :hasAccessConditions,
177
+ comment: %(Corresponds to 'policy' in the Ontology for Media Resources with a 'policy.type' "access conditions".).freeze,
178
+ label: "hasAccessConditions".freeze,
179
+ subPropertyOf: "ma:hasPolicy".freeze,
180
+ type: "owl:ObjectProperty".freeze
181
+ property :hasAudioDescription,
182
+ comment: %(Corresponds to 'fragment' in the Ontology for Media Resources with a 'fragment.role' meaning "audio-description".).freeze,
183
+ label: "hasAudioDescription".freeze,
184
+ subPropertyOf: "ma:hasCaptioning".freeze,
185
+ type: "owl:ObjectProperty".freeze
186
+ property :hasCaptioning,
187
+ comment: %(Corresponds to 'fragment' in the Ontology for Media Resources with a 'fragment.role' meaning "captioning". This property can for example point to a spatial fragment, a VideoTrack or a DataTrack. The language of the captioning track can be expressed by attaching a 'hasLanguage' property to the specific track.).freeze,
188
+ label: "hasCaptioning".freeze,
189
+ "owl:inverseOf" => %(ma:isCaptioningOf).freeze,
190
+ subPropertyOf: "ma:hasFragment".freeze,
191
+ type: "owl:ObjectProperty".freeze
192
+ property :hasChapter,
193
+ comment: %(Corresponds to 'fragment' in the Ontology for Media Resources with a 'fragment.role' meaning "chapter".).freeze,
194
+ label: "hasChapter".freeze,
195
+ "owl:inverseOf" => %(ma:isChapterOf).freeze,
196
+ subPropertyOf: "ma:hasFragment".freeze,
197
+ type: "owl:ObjectProperty".freeze
198
+ property :hasClassification,
199
+ comment: %(Corresponds to 'targetAudience.classification' in the Ontology for Media Resources. This property is used to provide a value characterising the target audience.).freeze,
200
+ domain: "ma:TargetAudience".freeze,
201
+ label: "hasClassification".freeze,
202
+ type: "owl:ObjectProperty".freeze
203
+ property :hasClassificationSystem,
204
+ comment: %(Corresponds to 'targetAudience.identifier' in the Ontology for Media Resources. This is used to identify the reference sheme against which the target audience has been characterised.).freeze,
205
+ domain: "ma:TargetAudience".freeze,
206
+ label: "hasClassificationSystem".freeze,
207
+ type: "owl:ObjectProperty".freeze
208
+ property :hasCompression,
209
+ comment: %(Corresponds to 'compression' in the Ontology for Media Resources.).freeze,
210
+ domain: "ma:MediaResource".freeze,
211
+ label: "hasCompression".freeze,
212
+ type: "owl:ObjectProperty".freeze
213
+ property :hasContributedTo,
214
+ label: "hasContributedTo".freeze,
215
+ type: "owl:ObjectProperty".freeze
216
+ property :hasContributor,
217
+ comment: %(Corresponds to 'contributor.contributor' in the Ontology for Media Resources. Subproperties can be used to distinguish different values of 'contributor.role'.).freeze,
218
+ domain: "ma:MediaResource".freeze,
219
+ label: "hasContributor".freeze,
220
+ "owl:inverseOf" => %(ma:hasContributedTo).freeze,
221
+ range: "ma:Agent".freeze,
222
+ type: "owl:ObjectProperty".freeze
223
+ property :hasCopyrightOver,
224
+ label: "hasCopyrightOver".freeze,
225
+ type: "owl:ObjectProperty".freeze
226
+ property :hasCreated,
227
+ label: "hasCreated".freeze,
228
+ type: "owl:ObjectProperty".freeze
229
+ property :hasCreator,
230
+ comment: %(Corresponds to 'creator.creator' in the Ontology for Media Resources. Subproperties can be used to distinguish different values of 'creator.role'. Note that this property is semantically a subproperty of 'hasContributor'.).freeze,
231
+ label: "hasCreator".freeze,
232
+ "owl:inverseOf" => %(ma:hasCreated).freeze,
233
+ subPropertyOf: "ma:hasContributor".freeze,
234
+ type: "owl:ObjectProperty".freeze
235
+ property :hasFormat,
236
+ comment: %(Corresponds to 'format' in the Ontology for Media Resources.).freeze,
237
+ domain: "ma:MediaResource".freeze,
238
+ label: "hasFormat".freeze,
239
+ type: "owl:ObjectProperty".freeze
240
+ property :hasFragment,
241
+ comment: %(Corresponds to 'fragment' in the Ontology for Media Resources. Subproperties can be used to distinguish different values of 'fragment.role'.).freeze,
242
+ domain: "ma:MediaResource".freeze,
243
+ label: "hasFragment".freeze,
244
+ "owl:inverseOf" => %(ma:isFragmentOf).freeze,
245
+ range: "ma:MediaFragment".freeze,
246
+ type: "owl:ObjectProperty".freeze
247
+ property :hasGenre,
248
+ comment: %(Corresponds to 'genre' in the Ontology for Media Resources.).freeze,
249
+ domain: "ma:MediaResource".freeze,
250
+ label: "hasGenre".freeze,
251
+ type: "owl:ObjectProperty".freeze
252
+ property :hasKeyword,
253
+ comment: %(Corresponds to 'keyword' in the Ontology for Media Resources.).freeze,
254
+ domain: "ma:MediaResource".freeze,
255
+ label: "hasKeyword".freeze,
256
+ type: "owl:ObjectProperty".freeze
257
+ property :hasLanguage,
258
+ comment: %(Corresponds to 'language' in the Ontology for Media Resources. The language used in the resource. A controlled vocabulary such as defined in BCP 47 SHOULD be used. This property can also be used to identify the presence of sign language \(RFC 5646\). By inheritance, the hasLanguage property applies indifferently at the media resource / fragment / track levels. Best practice recommends to use to best possible level of granularity fo describe the usage of language within a media resource including at fragment and track levels.).freeze,
259
+ domain: "ma:MediaResource".freeze,
260
+ label: "hasLanguage".freeze,
261
+ type: "owl:ObjectProperty".freeze
262
+ property :hasLocationCoordinateSystem,
263
+ comment: %(Corresponds to 'location.coordinateSystem' in the Ontology for Media Resources.).freeze,
264
+ domain: "ma:Location".freeze,
265
+ label: "hasLocationCoordinateSystem".freeze,
266
+ type: "owl:ObjectProperty".freeze
267
+ property :hasMember,
268
+ label: "hasMember".freeze,
269
+ type: "owl:ObjectProperty".freeze
270
+ property :hasNamedFragment,
271
+ comment: %(Corresponds to 'namedFragment' in the Ontology for Media Resources.).freeze,
272
+ label: "hasNamedFragment".freeze,
273
+ "owl:inverseOf" => %(ma:isNamedFragmentOf).freeze,
274
+ subPropertyOf: "ma:hasFragment".freeze,
275
+ type: "owl:ObjectProperty".freeze
276
+ property :hasPermissions,
277
+ comment: %(Corresponds to 'policy' in the Ontology for Media Resources with a 'policy.type' meaning "permissions".).freeze,
278
+ label: "hasPermissions".freeze,
279
+ subPropertyOf: "ma:hasPolicy".freeze,
280
+ type: "owl:ObjectProperty".freeze
281
+ property :hasPolicy,
282
+ comment: %(Corresponds to 'policy' in the Ontology for Media Resources. Subproperties can be used to distinguish different values of 'policy.type'.).freeze,
283
+ domain: "ma:MediaResource".freeze,
284
+ label: "hasPolicy".freeze,
285
+ type: "owl:ObjectProperty".freeze
286
+ property :hasPublished,
287
+ label: "hasPublished".freeze,
288
+ type: "owl:ObjectProperty".freeze
289
+ property :hasPublisher,
290
+ comment: %(Corresponds to 'publisher' in the Ontology for Media Resources.).freeze,
291
+ label: "hasPublisher".freeze,
292
+ "owl:inverseOf" => %(ma:hasPublished).freeze,
293
+ subPropertyOf: "ma:hasContributor".freeze,
294
+ type: "owl:ObjectProperty".freeze
295
+ property :hasRating,
296
+ comment: %(Corresponds to 'rating' in the Ontology for Media Resources.).freeze,
297
+ domain: "ma:MediaResource".freeze,
298
+ label: "hasRating".freeze,
299
+ "owl:inverseOf" => %(ma:isRatingOf).freeze,
300
+ range: "ma:Rating".freeze,
301
+ type: "owl:ObjectProperty".freeze
302
+ property :hasRatingSystem,
303
+ comment: %(Corresponds to 'rating.type' in the Ontology for Media Resources.).freeze,
304
+ domain: "ma:Rating".freeze,
305
+ label: "hasRatingSystem".freeze,
306
+ type: "owl:ObjectProperty".freeze
307
+ property :hasRelatedImage,
308
+ comment: %(Corresponds to 'relation' and in the Ontology for Media Resources with a 'relation.type' meaning "related image".).freeze,
309
+ label: "hasRelatedImage".freeze,
310
+ "owl:inverseOf" => %(ma:isImageRelatedTo).freeze,
311
+ range: "ma:Image".freeze,
312
+ subPropertyOf: "ma:hasRelatedResource".freeze,
313
+ type: "owl:ObjectProperty".freeze
314
+ property :hasRelatedLocation,
315
+ comment: %(Corresponds to 'location' in the Ontology for Media Resources. Subproperties are provided to specify, when possible, the relation between the media resource and the location.).freeze,
316
+ domain: "ma:MediaResource".freeze,
317
+ label: "hasRelatedLocation".freeze,
318
+ "owl:inverseOf" => %(ma:isLocationRelatedTo).freeze,
319
+ range: "ma:Location".freeze,
320
+ type: "owl:ObjectProperty".freeze
321
+ property :hasRelatedResource,
322
+ comment: %(Corresponds to 'relation' and in the Ontology for Media Resources. Subproperties can be used to distinguish different values of 'relation.type'.).freeze,
323
+ domain: "ma:MediaResource".freeze,
324
+ label: "hasRelatedResource".freeze,
325
+ "owl:inverseOf" => %(ma:isRelatedTo).freeze,
326
+ type: "owl:ObjectProperty".freeze
327
+ property :hasSigning,
328
+ comment: %(Corresponds to 'fragment' in the Ontology for Media Resources with a 'fragment.role' meaning "signing". This property can for example point to a spatial fragment or a VideoTrack. The sign language of the captioning track can be expressed by attaching a 'hasLanguage' property to the specific track.).freeze,
329
+ label: "hasSigning".freeze,
330
+ "owl:inverseOf" => %(ma:isSigningOf).freeze,
331
+ subPropertyOf: "ma:hasFragment".freeze,
332
+ type: "owl:ObjectProperty".freeze
333
+ property :hasSource,
334
+ comment: %(Corresponds to 'relation' and in the Ontology for Media Resources with a 'relation.type' meaning "source".).freeze,
335
+ label: "hasSource".freeze,
336
+ "owl:inverseOf" => %(ma:isSourceOf).freeze,
337
+ subPropertyOf: "ma:hasRelatedResource".freeze,
338
+ type: "owl:ObjectProperty".freeze
339
+ property :hasSubtitling,
340
+ comment: %(Corresponds to 'fragment' in the Ontology for Media Resources with a 'fragment.role' meaning "subtitling".).freeze,
341
+ label: "hasSubtitling".freeze,
342
+ subPropertyOf: "ma:hasCaptioning".freeze,
343
+ type: "owl:ObjectProperty".freeze
344
+ property :hasTargetAudience,
345
+ comment: %(Corresponds to 'targetAudience' in the Ontology for Media Resources.).freeze,
346
+ domain: "ma:MediaResource".freeze,
347
+ label: "hasTargetAudience".freeze,
348
+ "owl:inverseOf" => %(ma:isTargetAudienceOf).freeze,
349
+ range: "ma:TargetAudience".freeze,
350
+ type: "owl:ObjectProperty".freeze
351
+ property :hasTrack,
352
+ comment: %(Corresponds to 'fragment' in the Ontology for Media Resources with a 'fragment.role' meaning "track".).freeze,
353
+ label: "hasTrack".freeze,
354
+ "owl:inverseOf" => %(ma:isTrackOf).freeze,
355
+ range: "ma:Track".freeze,
356
+ subPropertyOf: "ma:hasFragment".freeze,
357
+ type: "owl:ObjectProperty".freeze
358
+ property :isCaptioningOf,
359
+ label: "isCaptioningOf".freeze,
360
+ type: "owl:ObjectProperty".freeze
361
+ property :isChapterOf,
362
+ label: "isChapterOf".freeze,
363
+ type: "owl:ObjectProperty".freeze
364
+ property :isCopyrightedBy,
365
+ comment: %(Corresponds to 'copyright.identifier' in the Ontology for Media Resources.).freeze,
366
+ domain: "ma:MediaResource".freeze,
367
+ label: "isCopyrightedBy".freeze,
368
+ "owl:inverseOf" => %(ma:hasCopyrightOver).freeze,
369
+ range: "ma:Agent".freeze,
370
+ type: "owl:ObjectProperty".freeze
371
+ property :isCreationLocationOf,
372
+ label: "isCreationLocationOf".freeze,
373
+ type: "owl:ObjectProperty".freeze
374
+ property :isFictionalLocationDepictedIn,
375
+ label: "isFictionalLocationDepictedIn".freeze,
376
+ type: "owl:ObjectProperty".freeze
377
+ property :isFragmentOf,
378
+ label: "isFragmentOf".freeze,
379
+ type: "owl:ObjectProperty".freeze
380
+ property :isImageRelatedTo,
381
+ label: "isImageRelatedTo".freeze,
382
+ subPropertyOf: "ma:isRelatedTo".freeze,
383
+ type: "owl:ObjectProperty".freeze
384
+ property :isLocationRelatedTo,
385
+ label: "isLocationRelatedTo".freeze,
386
+ type: "owl:ObjectProperty".freeze
387
+ property :isMemberOf,
388
+ comment: %(Corresponds to 'collection' in the Ontology for Media Resources.).freeze,
389
+ domain: "ma:MediaResource".freeze,
390
+ label: "isMemberOf".freeze,
391
+ "owl:inverseOf" => %(ma:hasMember).freeze,
392
+ range: "ma:Collection".freeze,
393
+ type: "owl:ObjectProperty".freeze
394
+ property :isNamedFragmentOf,
395
+ label: "isNamedFragmentOf".freeze,
396
+ type: "owl:ObjectProperty".freeze
397
+ property :isProvidedBy,
398
+ comment: %(Corresponds to 'rating.identifier' in the Ontology for Media Resources.).freeze,
399
+ domain: "ma:Rating".freeze,
400
+ label: "isProvidedBy".freeze,
401
+ "owl:inverseOf" => %(ma:provides).freeze,
402
+ range: "ma:Agent".freeze,
403
+ type: "owl:ObjectProperty".freeze
404
+ property :isRatingOf,
405
+ label: "isRatingOf".freeze,
406
+ type: "owl:ObjectProperty".freeze
407
+ property :isRelatedTo,
408
+ label: "isRelatedTo".freeze,
409
+ type: "owl:ObjectProperty".freeze
410
+ property :isSigningOf,
411
+ label: "isSigningOf".freeze,
412
+ type: "owl:ObjectProperty".freeze
413
+ property :isSourceOf,
414
+ label: "isSourceOf".freeze,
415
+ type: "owl:ObjectProperty".freeze
416
+ property :isTargetAudienceOf,
417
+ label: "isTargetAudienceOf".freeze,
418
+ type: "owl:ObjectProperty".freeze
419
+ property :isTrackOf,
420
+ label: "isTrackOf".freeze,
421
+ type: "owl:ObjectProperty".freeze
422
+ property :locationAltitude,
423
+ comment: %(Corresponds to 'location.altitude' in the Ontology for Media Resources.).freeze,
424
+ domain: "ma:Location".freeze,
425
+ label: "locationAltitude".freeze,
426
+ range: "xsd:decimal".freeze,
427
+ type: "owl:DatatypeProperty".freeze
428
+ property :locationLatitude,
429
+ comment: %(Corresponds to 'location.latitude' in the Ontology for Media Resources.).freeze,
430
+ domain: "ma:Location".freeze,
431
+ label: "locationLatitude".freeze,
432
+ range: "xsd:decimal".freeze,
433
+ type: "owl:DatatypeProperty".freeze
434
+ property :locationLongitude,
435
+ comment: %(Corresponds to 'location.longitude' in the Ontology for Media Resources.).freeze,
436
+ domain: "ma:Location".freeze,
437
+ label: "locationLongitude".freeze,
438
+ range: "xsd:decimal".freeze,
439
+ type: "owl:DatatypeProperty".freeze
440
+ property :locationName,
441
+ comment: %(Corresponds to 'location.name' in the Ontology for Media Resources.).freeze,
442
+ domain: "ma:Location".freeze,
443
+ label: "locationName".freeze,
444
+ type: "owl:DatatypeProperty".freeze
445
+ property :locator,
446
+ comment: %(Corresponds to 'locator' in the Ontology for Media Resources.).freeze,
447
+ domain: "ma:MediaResource".freeze,
448
+ label: "locator".freeze,
449
+ range: "xsd:anyURI".freeze,
450
+ type: "owl:DatatypeProperty".freeze
451
+ property :mainOriginalTitle,
452
+ comment: %(Corresponds to 'title.title' in the Ontology for Media Resources with a 'title.type' meaning "original".).freeze,
453
+ label: "mainOriginalTitle".freeze,
454
+ subPropertyOf: "ma:title".freeze,
455
+ type: "owl:DatatypeProperty".freeze
456
+ property :numberOfTracks,
457
+ comment: %(Corresponds to 'numTracks.number' in the Ontology for Media Resources. Subproperties can be used to distinguish different values of 'numTracks.type'.).freeze,
458
+ domain: "ma:MediaResource".freeze,
459
+ label: "numberOfTracks".freeze,
460
+ range: "xsd:integer".freeze,
461
+ type: "owl:DatatypeProperty".freeze
462
+ property :playsIn,
463
+ label: "playsIn".freeze,
464
+ type: "owl:ObjectProperty".freeze
465
+ property :provides,
466
+ label: "provides".freeze,
467
+ type: "owl:ObjectProperty".freeze
468
+ property :ratingScaleMax,
469
+ comment: %(Corresponds to 'rating.max' in the Ontology for Media Resources.).freeze,
470
+ domain: "ma:Rating".freeze,
471
+ label: "ratingScaleMax".freeze,
472
+ range: "xsd:decimal".freeze,
473
+ type: "owl:DatatypeProperty".freeze
474
+ property :ratingScaleMin,
475
+ comment: %(Corresponds to 'rating.min' in the Ontology for Media Resources.).freeze,
476
+ domain: "ma:Rating".freeze,
477
+ label: "ratingScaleMin".freeze,
478
+ range: "xsd:decimal".freeze,
479
+ type: "owl:DatatypeProperty".freeze
480
+ property :ratingValue,
481
+ comment: %(Corresponds to 'rating.value' in the Ontology for Media Resources.).freeze,
482
+ domain: "ma:Rating".freeze,
483
+ label: "ratingValue".freeze,
484
+ range: "xsd:decimal".freeze,
485
+ type: "owl:DatatypeProperty".freeze
486
+ property :recordDate,
487
+ comment: %(Corresponds to 'date.date' in the Ontology for Media Resources with a 'date.type' meaning "recordDate".).freeze,
488
+ label: "recordDate".freeze,
489
+ subPropertyOf: "ma:date".freeze,
490
+ type: "owl:DatatypeProperty".freeze
491
+ property :releaseDate,
492
+ comment: %(Corresponds to 'date.date' in the Ontology for Media Resources with a 'date.type' meaning "releaseDate".).freeze,
493
+ label: "releaseDate".freeze,
494
+ subPropertyOf: "ma:date".freeze,
495
+ type: "owl:DatatypeProperty".freeze
496
+ property :samplingRate,
497
+ comment: %(Corresponds to 'samplingRate' in the Ontology for Media Resources, in samples per second.).freeze,
498
+ domain: "ma:MediaResource".freeze,
499
+ label: "samplingRate".freeze,
500
+ range: "xsd:decimal".freeze,
501
+ type: "owl:DatatypeProperty".freeze
502
+ property :title,
503
+ comment: %(Corresponds to 'title.title' in the Ontology for Media Resources. Subproperties can be used to distinguish different values of 'title.type'.).freeze,
504
+ domain: "ma:MediaResource".freeze,
505
+ label: "title".freeze,
506
+ type: "owl:DatatypeProperty".freeze
507
+ property :trackName,
508
+ comment: %(Corresponds to 'fragment.name' in the Ontology for Media Resources, for Track fragments.).freeze,
509
+ domain: "ma:Track".freeze,
510
+ label: "trackName".freeze,
511
+ subPropertyOf: "ma:fragmentName".freeze,
512
+ type: "owl:DatatypeProperty".freeze
289
513
  end
290
514
  end