rdf-vocab 0.8.5 → 0.8.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ef111f001c1bbdb83363c48ce7105cbc8a74ded7
4
- data.tar.gz: 6e6315ab6928e2be868da3aaa315f8d8b41721ae
3
+ metadata.gz: f7059535ff17c985b13642537aac9161ece87b16
4
+ data.tar.gz: 8e04deaf65addb4ce5cd6c38c4b8a219b537313d
5
5
  SHA512:
6
- metadata.gz: 66ed48631bd382541c97c8ff002acfa35339b3f82c70cf24ec9ba9f4e9a1e252c9d79947feaeccd241a2b351f8fae853a4a1eab4733d8402513869c2d95de100
7
- data.tar.gz: 95d808fcc7c0cbd70907db298893736c2c4c58a9dbbfd553a6f1e048f9156fa878d2a7e75b339afe772841bcf61ff687f3e20cd3947610b5fcde44032d118c09
6
+ metadata.gz: 45a8707e7e6ba4e9de88cc0606a092aa6cdbea934faa5165bb4d4bab2a658fed9ffdb995eee702fa4ec9cf748b87f2878c2bc2469811ac9148d9561cd3a40249
7
+ data.tar.gz: 23d98067ad67f8a5cd45fc54b185750f1433b5e051ce1539c94f16c358d5cc856e8adf54fcc9792a30967fb418377dcf58022b3da18cf959a26caa1a66767c8b
@@ -16,8 +16,7 @@ module RDF::Vocab
16
16
  subClassOf: "ebucore:Organisation".freeze,
17
17
  type: "rdfs:Class".freeze
18
18
  term :Agent,
19
- comment: %(A person / contact or organisation contributing
20
- to the media resource.).freeze,
19
+ comment: %(A person / contact or organisation.).freeze,
21
20
  label: "Agent".freeze,
22
21
  subClassOf: "foaf:Agent".freeze,
23
22
  type: "rdfs:Class".freeze
@@ -75,6 +74,11 @@ module RDF::Vocab
75
74
  label: "Audio content".freeze,
76
75
  subClassOf: "ebucore:AudioProgramme".freeze,
77
76
  type: "rdfs:Class".freeze
77
+ term :AudioDescription,
78
+ label: "Audio description".freeze,
79
+ "skos:prefLabel" => %(Audio description).freeze,
80
+ subClassOf: "ebucore:AudioTrack".freeze,
81
+ type: "rdfs:Class".freeze
78
82
  term :AudioEncodingFormat,
79
83
  comment: %(The encoding format for the audio.).freeze,
80
84
  label: "Audio encoding format".freeze,
@@ -124,6 +128,11 @@ module RDF::Vocab
124
128
  label: "Audio track format".freeze,
125
129
  subClassOf: "ebucore:AudioFormat".freeze,
126
130
  type: "rdfs:Class".freeze
131
+ term :BibliographicalObject,
132
+ label: "Bibliographical object".freeze,
133
+ "skos:prefLabel" => %(Bibliographical object).freeze,
134
+ subClassOf: "ebucore:BusinessObject".freeze,
135
+ type: "rdfs:Class".freeze
127
136
  term :Brand,
128
137
  comment: %(A group of EditorialObjects having a Brand as a
129
138
  common denominator).freeze,
@@ -154,13 +163,13 @@ module RDF::Vocab
154
163
  subClassOf: "ebucore:DataFormat".freeze,
155
164
  type: "rdfs:Class".freeze
156
165
  term :Cast,
157
- comment: %(A member of the cast list \(a list of fictitious
166
+ comment: %(A member of the cast list \(a list of performers/actors and associated fictitious
158
167
  characters\).).freeze,
159
168
  label: "Cast member".freeze,
160
169
  subClassOf: "ebucore:Agent".freeze,
161
170
  type: "rdfs:Class".freeze
162
171
  term :Character,
163
- comment: %(A fictitious contact / person.).freeze,
172
+ comment: %(E.g. a fictitious contact / person.).freeze,
164
173
  label: "Character".freeze,
165
174
  subClassOf: "ebucore:Agent".freeze,
166
175
  type: "rdfs:Class".freeze
@@ -235,6 +244,11 @@ module RDF::Vocab
235
244
  label: "Coverage restrictions".freeze,
236
245
  subClassOf: "ebucore:Rights".freeze,
237
246
  type: "rdfs:Class".freeze
247
+ term :Crew,
248
+ comment: %(Crew member.).freeze,
249
+ label: "Crew member".freeze,
250
+ subClassOf: "ebucore:Agent".freeze,
251
+ type: "rdfs:Class".freeze
238
252
  term :DataFormat,
239
253
  comment: %(To provide addtional technical information on
240
254
  the characteristics of data streams in a MediaResource including but not limited to
@@ -328,6 +342,11 @@ module RDF::Vocab
328
342
  label: "Exploitation issues".freeze,
329
343
  subClassOf: "ebucore:Rights".freeze,
330
344
  type: "rdfs:Class".freeze
345
+ term :Feature,
346
+ label: "Feature".freeze,
347
+ "skos:prefLabel" => %(Feature).freeze,
348
+ subClassOf: "ebucore:EditorialObject".freeze,
349
+ type: "rdfs:Class".freeze
331
350
  term :FileFormat,
332
351
  comment: %(A file format for Resources other than
333
352
  audiovisual resources. The format is defined as free text or pointing at a term in a
@@ -344,6 +363,12 @@ module RDF::Vocab
344
363
  label: "Format".freeze,
345
364
  subClassOf: "skos:Concept".freeze,
346
365
  type: "rdfs:Class".freeze
366
+ term :Generation,
367
+ comment: %(Identifies the generation of a version of a resource, i.e. master, edit master, distribution copy, etc.).freeze,
368
+ label: "Generation".freeze,
369
+ "skos:prefLabel" => %(Generation).freeze,
370
+ subClassOf: "ebucore:Format".freeze,
371
+ type: "rdfs:Class".freeze
347
372
  term :Genre,
348
373
  comment: %(This class shall be used to provide information
349
374
  on the genre of the BusinessObject or Resource. This is provided as free text in an
@@ -633,10 +658,16 @@ module RDF::Vocab
633
658
  subClassOf: "ebucore:Item".freeze,
634
659
  type: "rdfs:Class".freeze
635
660
  term :Staff,
636
- comment: %(Staff or crew member.).freeze,
661
+ comment: %(Staff member.).freeze,
637
662
  label: "Staff member.".freeze,
638
663
  subClassOf: "ebucore:Agent".freeze,
639
664
  type: "rdfs:Class".freeze
665
+ term :Standard,
666
+ comment: %(identifies the technical video standard of a resource, i.e. NTSC or PAL.).freeze,
667
+ label: "Standard".freeze,
668
+ "skos:prefLabel" => %(Standard).freeze,
669
+ subClassOf: "ebucore:Format".freeze,
670
+ type: "rdfs:Class".freeze
640
671
  term :StorageType,
641
672
  comment: %(The type of storage used for the repository.
642
673
  This is provided as free text in an annotation label or as an identifier pointing to a
@@ -758,15 +789,6 @@ module RDF::Vocab
758
789
  type: "rdfs:Class".freeze
759
790
 
760
791
  # Property definitions
761
- property :AffiliationEndDate,
762
- comment: %(The date when a Contact left an Organisation).freeze,
763
- label: "Affiliation start date".freeze,
764
- range: "xsd:date".freeze,
765
- type: "rdf:Property".freeze
766
- property :AffiliationStartDate,
767
- label: "Affiliation start date".freeze,
768
- range: "xsd:date".freeze,
769
- type: "rdf:Property".freeze
770
792
  property :DID,
771
793
  comment: %(The Data Identifier word \(along with the SDID,
772
794
  if used\), indicates the type of ancillary data that the packet corresponds
@@ -788,11 +810,6 @@ module RDF::Vocab
788
810
  label: "Abridged title".freeze,
789
811
  subPropertyOf: "ebucore:alternativeTitle".freeze,
790
812
  type: "rdf:Property".freeze
791
- property :absoluteDistance,
792
- comment: %(To express an absolute distance in meters.).freeze,
793
- label: "Absolute distance (in meters)".freeze,
794
- range: "xsd:float".freeze,
795
- type: "rdf:Property".freeze
796
813
  property :abstract,
797
814
  comment: %(To provide a brief summary.).freeze,
798
815
  label: "Abstract".freeze,
@@ -802,6 +819,17 @@ module RDF::Vocab
802
819
  label: "adult content".freeze,
803
820
  range: "xsd:boolean".freeze,
804
821
  type: "rdf:Property".freeze
822
+ property :affiliationEndDate,
823
+ comment: %(The date when a Contact left an Organisation).freeze,
824
+ domain: "ebucore:Affiliation".freeze,
825
+ label: "Affiliation start date".freeze,
826
+ range: "xsd:date".freeze,
827
+ type: "rdf:Property".freeze
828
+ property :affiliationStartDate,
829
+ domain: "ebucore:Affiliation".freeze,
830
+ label: "Affiliation start date".freeze,
831
+ range: "xsd:date".freeze,
832
+ type: "rdf:Property".freeze
805
833
  property :agentAddress,
806
834
  comment: %(To provide the address of an Agent
807
835
  \(Contact/person or organisation\).).freeze,
@@ -878,12 +906,10 @@ module RDF::Vocab
878
906
  property :appliesOutOf,
879
907
  comment: %(To define the Location \(e.g. country, region\) to which Rating and TargetAudience do NOT apply.).freeze,
880
908
  label: "Exclusion area".freeze,
881
- range: "ebucore:Location".freeze,
882
909
  type: "rdf:Property".freeze
883
910
  property :appliesTo,
884
911
  comment: %(To define the location/region to which Rating and TargetAudience apply.).freeze,
885
912
  label: "Coverage".freeze,
886
- range: "ebucore:Location".freeze,
887
913
  type: "rdf:Property".freeze
888
914
  property :aspectRatio,
889
915
  comment: %(To provide the aspect ratio of a video frame or
@@ -899,11 +925,6 @@ module RDF::Vocab
899
925
  label: "Audio channel number".freeze,
900
926
  range: "xsd:nonNegativeInteger".freeze,
901
927
  type: "rdf:Property".freeze
902
- property :audioMXFLookup,
903
- comment: %(The parameters for MXF mapping.).freeze,
904
- label: "Audio MXFlookup".freeze,
905
- range: "rdfs:Literal".freeze,
906
- type: "rdf:Property".freeze
907
928
  property :audioTrackConfiguration,
908
929
  comment: %(To provide the configuration of an audio track
909
930
  \(e.g. stereo pair\) in a MediaResource.).freeze,
@@ -913,6 +934,7 @@ module RDF::Vocab
913
934
  type: "rdf:Property".freeze
914
935
  property :bitDepth,
915
936
  comment: %(To provide the audio encoding bit depth. Also called sample size.).freeze,
937
+ domain: "ebucore:MediaResource".freeze,
916
938
  label: "Bit depth".freeze,
917
939
  range: "xsd:integer".freeze,
918
940
  type: "rdf:Property".freeze
@@ -956,6 +978,12 @@ module RDF::Vocab
956
978
  label: "Captioning source".freeze,
957
979
  range: "xsd:string".freeze,
958
980
  type: "rdf:Property".freeze
981
+ property :clonedTo,
982
+ comment: %(Identifies relationship between a digital instantiation of a resource and its direct copy, with no generational loss.).freeze,
983
+ label: "Cloned to".freeze,
984
+ "owl:inverseOf" => %(ebucore:isClonedFrom).freeze,
985
+ subPropertyOf: "dc11:relation".freeze,
986
+ type: "rdf:Property".freeze
959
987
  property :codecFamily,
960
988
  comment: %(To provide information on the product family of the Codec.).freeze,
961
989
  domain: "ebucore:Codec".freeze,
@@ -1028,28 +1056,88 @@ module RDF::Vocab
1028
1056
  "owl:equivalentProperty" => %(foaf:nick).freeze,
1029
1057
  range: "xsd:string".freeze,
1030
1058
  type: "rdf:Property".freeze
1059
+ property :dateBroadcast,
1060
+ comment: %(The date when the resource was first broadcast publicly on television or radio.).freeze,
1061
+ label: "Broadcast date".freeze,
1062
+ "owl:equivalentProperty" => %(ma:creationDate).freeze,
1063
+ subPropertyOf: "dc11:date".freeze,
1064
+ type: "rdf:Property".freeze
1031
1065
  property :dateCreated,
1032
1066
  comment: %(The date of creation of the Resource.).freeze,
1033
1067
  label: "Creation date/time".freeze,
1034
1068
  "owl:equivalentProperty" => %(ma:creationDate).freeze,
1035
1069
  subPropertyOf: "dc11:date".freeze,
1036
1070
  type: "rdf:Property".freeze
1071
+ property :dateDeleted,
1072
+ comment: %(The date when the resource was removed from institutional holdings.).freeze,
1073
+ label: "Deletion date".freeze,
1074
+ "owl:equivalentProperty" => %(ma:creationDate).freeze,
1075
+ subPropertyOf: "dc11:date".freeze,
1076
+ type: "rdf:Property".freeze
1037
1077
  property :dateDigitised,
1038
1078
  comment: %(To provide the date of digitisation of the Resource.).freeze,
1039
1079
  label: "Digitisation date/time".freeze,
1040
1080
  subPropertyOf: "dc11:date".freeze,
1041
1081
  type: "rdf:Property".freeze
1082
+ property :dateDistributed,
1083
+ comment: %(The date when the resource was first made available to the public for purchase, download, or online access.).freeze,
1084
+ label: "Distribution date".freeze,
1085
+ "owl:equivalentProperty" => %(ma:creationDate).freeze,
1086
+ subPropertyOf: "dc11:date".freeze,
1087
+ type: "rdf:Property".freeze
1088
+ property :dateIngested,
1089
+ comment: %(The date when the resource was removed from institutional holdings.).freeze,
1090
+ label: "Ingest date".freeze,
1091
+ "owl:equivalentProperty" => %(ma:creationDate).freeze,
1092
+ subPropertyOf: "dc11:date".freeze,
1093
+ type: "rdf:Property".freeze
1042
1094
  property :dateIssued,
1043
1095
  comment: %(To provide the date of release of the Resource.).freeze,
1044
1096
  label: "Publication date/time".freeze,
1045
1097
  "owl:equivalentProperty" => %(ma:releaseDate).freeze,
1046
1098
  subPropertyOf: "dc:issued".freeze,
1047
1099
  type: "rdf:Property".freeze
1100
+ property :dateLicenced,
1101
+ comment: %(The date when the license for the resource begins.).freeze,
1102
+ label: "License start date".freeze,
1103
+ "owl:equivalentProperty" => %(ma:creationDate).freeze,
1104
+ subPropertyOf: "dc11:date".freeze,
1105
+ type: "rdf:Property".freeze
1106
+ property :dateMigrated,
1107
+ comment: %(The date when the resource was copied or converted from an obsolete or endangered original format to a more updated format for preservation.).freeze,
1108
+ label: "Migration date".freeze,
1109
+ "owl:equivalentProperty" => %(ma:creationDate).freeze,
1110
+ subPropertyOf: "dc11:date".freeze,
1111
+ type: "rdf:Property".freeze
1048
1112
  property :dateModified,
1049
1113
  comment: %(To indicate the date at which the Resource has been modified.).freeze,
1050
1114
  label: "Modification date/time".freeze,
1051
1115
  subPropertyOf: "dc:modified".freeze,
1052
1116
  type: "rdf:Property".freeze
1117
+ property :dateNormalized,
1118
+ comment: %(The date when the resource was converted from its original format into a format pre-selected by the institution for preservation.).freeze,
1119
+ label: "Normalization date".freeze,
1120
+ "owl:equivalentProperty" => %(ma:creationDate).freeze,
1121
+ subPropertyOf: "dc11:date".freeze,
1122
+ type: "rdf:Property".freeze
1123
+ property :dateTransferred,
1124
+ comment: %(The date when the resource was moved from one digital or physical location to another.).freeze,
1125
+ label: "Transfer date".freeze,
1126
+ "owl:equivalentProperty" => %(ma:creationDate).freeze,
1127
+ subPropertyOf: "dc11:date".freeze,
1128
+ type: "rdf:Property".freeze
1129
+ property :dateValidated,
1130
+ comment: %(The most recent date when the resource was confirmed to be valid through manual or digital QC.).freeze,
1131
+ label: "Validation date".freeze,
1132
+ "owl:equivalentProperty" => %(ma:creationDate).freeze,
1133
+ subPropertyOf: "dc11:date".freeze,
1134
+ type: "rdf:Property".freeze
1135
+ property :derivedTo,
1136
+ comment: %(Identifies a content-based relationship between two resources.).freeze,
1137
+ label: "Derived to".freeze,
1138
+ "owl:inverseOf" => %(ebucore:isDerivedFrom).freeze,
1139
+ subPropertyOf: "dc11:relation".freeze,
1140
+ type: "rdf:Property".freeze
1053
1141
  property :description,
1054
1142
  comment: %(This can be specialised by using sub-properties
1055
1143
  like defined in http://www.ebu.ch/metadata/cs/web/ebu_DescriptionTypeCodeCS_p.xml.htm
@@ -1058,18 +1146,26 @@ module RDF::Vocab
1058
1146
  domain: "ebucore:BusinessObject".freeze,
1059
1147
  label: "Description".freeze,
1060
1148
  "owl:equivalentProperty" => %(ma:description).freeze,
1149
+ range: "xsd:string".freeze,
1061
1150
  subPropertyOf: "dc11:description".freeze,
1062
1151
  type: "rdf:Property".freeze
1063
- property :dialogue,
1064
- comment: %(A flag to indicate the AudioContent or AudioObject contains a dialogue.).freeze,
1065
- label: "Dialog indicator".freeze,
1066
- range: "xsd:boolean".freeze,
1152
+ property :dimensions,
1153
+ comment: %(Describes the physical dimensions of a media resource, with units of measure concatenated to become part of the value.).freeze,
1154
+ domain: "ebucore:Resource".freeze,
1155
+ label: "Dimensions".freeze,
1156
+ range: "xsd:double".freeze,
1067
1157
  type: "rdf:Property".freeze
1068
1158
  property :dopesheet,
1069
1159
  comment: %(To provide a dopesheet with a title and brief description for news.).freeze,
1070
1160
  label: "Dopesheet".freeze,
1071
1161
  subPropertyOf: "ebucore:description".freeze,
1072
1162
  type: "rdf:Property".freeze
1163
+ property :dubbedTo,
1164
+ comment: %(Identifies relationship between a physical instantiation of a resource and a duplicate physical copy that may involve generational loss.).freeze,
1165
+ label: "Dubbed to".freeze,
1166
+ "owl:inverseOf" => %(ebucore:isDubbedFrom).freeze,
1167
+ subPropertyOf: "dc11:relation".freeze,
1168
+ type: "rdf:Property".freeze
1073
1169
  property :duration,
1074
1170
  comment: %(To provide information on the duration of a MediaResource. It corresponds to 'duration' in the
1075
1171
  Ontology for Media Resources.).freeze,
@@ -1151,6 +1247,12 @@ module RDF::Vocab
1151
1247
  label: "End time".freeze,
1152
1248
  range: "rdfs:Literal".freeze,
1153
1249
  type: "rdf:Property".freeze
1250
+ property :endLicenceDate,
1251
+ comment: %(The date on which the license for the resource expires.).freeze,
1252
+ label: "License expiration date".freeze,
1253
+ "owl:equivalentProperty" => %(ma:creationDate).freeze,
1254
+ subPropertyOf: "dc11:date".freeze,
1255
+ type: "rdf:Property".freeze
1154
1256
  property :endNormalPlayTime,
1155
1257
  comment: %(The start time expressed using a time
1156
1258
  expression.).freeze,
@@ -1197,6 +1299,12 @@ module RDF::Vocab
1197
1299
  label: "Event name".freeze,
1198
1300
  range: "xsd:string".freeze,
1199
1301
  type: "rdf:Property".freeze
1302
+ property :eventPeriod,
1303
+ comment: %(The period of time during which an Event has occured.).freeze,
1304
+ domain: "ebucore:Event".freeze,
1305
+ label: "Event period".freeze,
1306
+ range: "xsd:string".freeze,
1307
+ type: "rdf:Property".freeze
1200
1308
  property :eventStartDate,
1201
1309
  comment: %(The start date of an Event.).freeze,
1202
1310
  domain: "ebucore:Event".freeze,
@@ -1217,8 +1325,7 @@ module RDF::Vocab
1217
1325
  range: "xsd:boolean".freeze,
1218
1326
  type: "rdf:Property".freeze
1219
1327
  property :fileSize,
1220
- comment: %(to provide the size of a MediaResource in
1221
- bytes.).freeze,
1328
+ comment: %(Provides the size of a MediaResource in bytes.).freeze,
1222
1329
  domain: "ebucore:Resource".freeze,
1223
1330
  label: "File size".freeze,
1224
1331
  range: "xsd:double".freeze,
@@ -1230,14 +1337,17 @@ module RDF::Vocab
1230
1337
  label: "File name".freeze,
1231
1338
  range: "xsd:string".freeze,
1232
1339
  type: "rdf:Property".freeze
1340
+ property :folksonomy,
1341
+ comment: %(Provides a user/audience-generated description, tag, or label for resource content.).freeze,
1342
+ label: "Folksonomy".freeze,
1343
+ type: "rdf:Property".freeze
1233
1344
  property :followsInSequence,
1234
1345
  comment: %(A link to a an BusinessObject or a Resource preceding the current BusinessObject or Resource in an ordered sequence).freeze,
1235
1346
  label: "Previous".freeze,
1236
1347
  subPropertyOf: "dc11:relation".freeze,
1237
1348
  type: "rdf:Property".freeze
1238
1349
  property :frameRate,
1239
- comment: %(The frame rate of the video signal in frame per
1240
- second.).freeze,
1350
+ comment: %(The frame rate of the video signal in frame per second.).freeze,
1241
1351
  domain: "ebucore:VideoTrack".freeze,
1242
1352
  label: "Frame rate".freeze,
1243
1353
  "owl:equivalentProperty" => %(ma:frameRate).freeze,
@@ -1251,6 +1361,14 @@ module RDF::Vocab
1251
1361
  "owl:equivalentProperty" => %(ma:frameSizeUnit).freeze,
1252
1362
  range: "xsd:string".freeze,
1253
1363
  type: "rdf:Property".freeze
1364
+ property :framesPerSecond,
1365
+ comment: %(Identifies the frames per second at which a visual resource should be played back for human consumption.).freeze,
1366
+ domain: "ebucore:Resource".freeze,
1367
+ label: "Frames per second".freeze,
1368
+ "owl:equivalentProperty" => %(ma:frameRate).freeze,
1369
+ range: "xsd:double".freeze,
1370
+ subPropertyOf: "ebucore:playbackSpeed".freeze,
1371
+ type: "rdf:Property".freeze
1254
1372
  property :frequency,
1255
1373
  comment: %(To provide the frequency of an AudioChannel filter).freeze,
1256
1374
  domain: "ebucore:AudioChannel".freeze,
@@ -1281,7 +1399,7 @@ module RDF::Vocab
1281
1399
  Contact/person and an Organisation.).freeze,
1282
1400
  domain: "ebucore:Contact".freeze,
1283
1401
  label: "Affiliation".freeze,
1284
- range: "ebucore:Affiliation".freeze,
1402
+ range: "ebucore:Organisation".freeze,
1285
1403
  type: "rdf:Property".freeze
1286
1404
  property :hasAncillaryData,
1287
1405
  comment: %(A property to signal the presence of
@@ -1303,7 +1421,11 @@ module RDF::Vocab
1303
1421
  Organisation who has provided the Annotation.).freeze,
1304
1422
  domain: "ebucore:Annotation".freeze,
1305
1423
  label: "Annotation Source".freeze,
1306
- range: "ebucore:Agent".freeze,
1424
+ type: "rdf:Property".freeze
1425
+ property :hasAudioDescription,
1426
+ comment: %(To signal the presence of
1427
+ AudioDescription.).freeze,
1428
+ label: "Audio description".freeze,
1307
1429
  type: "rdf:Property".freeze
1308
1430
  property :hasAudioEncodingFormat,
1309
1431
  label: "Audio encoding format".freeze,
@@ -1317,17 +1439,20 @@ module RDF::Vocab
1317
1439
  comment: %(To signal the presence of
1318
1440
  Captioning.).freeze,
1319
1441
  label: "Captioning".freeze,
1320
- range: "ebucore:Captioning".freeze,
1321
1442
  type: "rdf:Property".freeze
1322
1443
  property :hasCaptioningFormat,
1323
1444
  label: "Captioning format".freeze,
1324
1445
  subPropertyOf: "ebucore:hasDataFormat".freeze,
1325
1446
  type: "rdf:Property".freeze
1326
- property :hasCastRole,
1327
- comment: %(To define the roles involved in the creation of or related to the BusinessObject. The Role acts as a link to the Agent fulfilling that function.).freeze,
1447
+ property :hasCastMember,
1328
1448
  domain: "ebucore:BusinessObject".freeze,
1329
- label: "Cast role".freeze,
1330
- range: "ebucore:Role".freeze,
1449
+ label: "Cast member".freeze,
1450
+ "skos:prefLabel" => %(Cast member).freeze,
1451
+ type: "rdf:Property".freeze
1452
+ property :hasCharacter,
1453
+ domain: "ebucore:BusinessObject".freeze,
1454
+ label: "Character".freeze,
1455
+ "skos:prefLabel" => %(Character).freeze,
1331
1456
  type: "rdf:Property".freeze
1332
1457
  property :hasCodec,
1333
1458
  comment: %(To identify the Codec with which the Resource has been encoded.).freeze,
@@ -1344,7 +1469,6 @@ module RDF::Vocab
1344
1469
  Organisation or a physical person \(e.g. the agent of an actor\).).freeze,
1345
1470
  domain: "ebucore:Agent".freeze,
1346
1471
  label: "Contact".freeze,
1347
- range: "ebucore:Contact".freeze,
1348
1472
  type: "rdf:Property".freeze
1349
1473
  property :hasContainerFormat,
1350
1474
  label: "Container format".freeze,
@@ -1372,7 +1496,6 @@ module RDF::Vocab
1372
1496
  property :hasCreationLocation,
1373
1497
  comment: %(The Location where content has been created.).freeze,
1374
1498
  label: "Creation location".freeze,
1375
- range: "ebucore:Location".freeze,
1376
1499
  subPropertyOf: "dc11:coverage".freeze,
1377
1500
  type: "rdf:Property".freeze
1378
1501
  property :hasCreator,
@@ -1381,6 +1504,11 @@ module RDF::Vocab
1381
1504
  "owl:equivalentProperty" => %(ma:hasCreator).freeze,
1382
1505
  subPropertyOf: "dc11:creator".freeze,
1383
1506
  type: "rdf:Property".freeze
1507
+ property :hasCrewMember,
1508
+ domain: "ebucore:BusinessObject".freeze,
1509
+ label: "Crew member".freeze,
1510
+ "skos:prefLabel" => %(Crew member).freeze,
1511
+ type: "rdf:Property".freeze
1384
1512
  property :hasDataFormat,
1385
1513
  label: "Data format".freeze,
1386
1514
  subPropertyOf: "ebucore:hasFormat".freeze,
@@ -1390,7 +1518,6 @@ module RDF::Vocab
1390
1518
  Organisation.).freeze,
1391
1519
  domain: "ebucore:Organisation".freeze,
1392
1520
  label: "Department".freeze,
1393
- range: "ebucore:Department".freeze,
1394
1521
  type: "rdf:Property".freeze
1395
1522
  property :hasDocumentFormat,
1396
1523
  label: "has document format".freeze,
@@ -1400,7 +1527,6 @@ module RDF::Vocab
1400
1527
  comment: %(To associate a Dopesheet with a NewsItem.).freeze,
1401
1528
  domain: "ebucore:NewsItem".freeze,
1402
1529
  label: "Dopesheet".freeze,
1403
- range: "ebucore:Dopesheet".freeze,
1404
1530
  type: "rdf:Property".freeze
1405
1531
  property :hasEncodingFormat,
1406
1532
  label: "Encoding format".freeze,
@@ -1419,7 +1545,6 @@ module RDF::Vocab
1419
1545
  Location.).freeze,
1420
1546
  domain: "ebucore:Location".freeze,
1421
1547
  label: "Event".freeze,
1422
- range: "ebucore:Event".freeze,
1423
1548
  subPropertyOf: "dc11:coverage".freeze,
1424
1549
  type: "rdf:Property".freeze
1425
1550
  property :hasFileFormat,
@@ -1432,6 +1557,11 @@ module RDF::Vocab
1432
1557
  "owl:equivalentProperty" => %(ma:hasFormat).freeze,
1433
1558
  subPropertyOf: "dc11:format".freeze,
1434
1559
  type: "rdf:Property".freeze
1560
+ property :hasGeneration,
1561
+ comment: %(Identifies the generation of a version of a resource, i.e. master, edit master, distribution copy, etc.).freeze,
1562
+ label: "Generation".freeze,
1563
+ subPropertyOf: "ebucore:hasFormat".freeze,
1564
+ type: "rdf:Property".freeze
1435
1565
  property :hasGenre,
1436
1566
  comment: %(To define a Genre/category associated to the
1437
1567
  BusinesssObject.).freeze,
@@ -1448,7 +1578,6 @@ module RDF::Vocab
1448
1578
  property :hasIdPicture,
1449
1579
  domain: "ebucore:Contact".freeze,
1450
1580
  label: "Id picture".freeze,
1451
- range: "ebucore:Picture".freeze,
1452
1581
  "skos:prefLabel" => %(Id picture).freeze,
1453
1582
  type: "rdf:Property".freeze
1454
1583
  property :hasImageFormat,
@@ -1495,7 +1624,6 @@ module RDF::Vocab
1495
1624
  comment: %(Logos can be used in a variety of contexts.
1496
1625
  Logo can be associated with an Organisation or a Service or a PublicationChannel.).freeze,
1497
1626
  label: "Logo".freeze,
1498
- range: "ebucore:Logo".freeze,
1499
1627
  type: "rdf:Property".freeze
1500
1628
  property :hasMediaFragment,
1501
1629
  comment: %(To define Parts \(segments, fragments, etc.\)
@@ -1521,7 +1649,6 @@ module RDF::Vocab
1521
1649
  Organisation\) who has created the metadata.).freeze,
1522
1650
  domain: "ebucore:Subject".freeze,
1523
1651
  label: "Metadata attributor".freeze,
1524
- range: "ebucore:Agent".freeze,
1525
1652
  type: "rdf:Property".freeze
1526
1653
  property :hasMimeType,
1527
1654
  label: "Mime type".freeze,
@@ -1549,7 +1676,6 @@ module RDF::Vocab
1549
1676
  property :hasPictogram,
1550
1677
  comment: %(To provide a visual representation of TargetAudience or Rating.).freeze,
1551
1678
  label: "Pictogram".freeze,
1552
- range: "ebucore:Pictogram".freeze,
1553
1679
  type: "rdf:Property".freeze
1554
1680
  property :hasPublicationChannel,
1555
1681
  comment: %(To associate a PublicationEvent with a
@@ -1579,14 +1705,12 @@ module RDF::Vocab
1579
1705
  to a Resource or BusinessObject.).freeze,
1580
1706
  label: "Rating".freeze,
1581
1707
  "owl:equivalentProperty" => %(ma:hasRating).freeze,
1582
- range: "ebucore:Rating".freeze,
1583
1708
  type: "rdf:Property".freeze
1584
1709
  property :hasRatingSource,
1585
1710
  comment: %(To identify an Agent \(Contact/person or
1586
1711
  Organisation\) who has proposed a Rating.).freeze,
1587
1712
  domain: "ebucore:Rating".freeze,
1588
1713
  label: "Rating provider".freeze,
1589
- range: "ebucore:Agent".freeze,
1590
1714
  type: "rdf:Property".freeze
1591
1715
  property :hasRelatedAudioChannel,
1592
1716
  comment: %(To associate an AudioChannel with an AudioPack or an AudioStream.).freeze,
@@ -1671,22 +1795,20 @@ module RDF::Vocab
1671
1795
  subPropertyOf: "dc11:relation".freeze,
1672
1796
  type: "rdf:Property".freeze
1673
1797
  property :hasRights,
1674
- label: "has rights".freeze,
1675
- "skos:prefLabel" => %(has rights).freeze,
1798
+ label: "Rights".freeze,
1799
+ "skos:prefLabel" => %(Rights).freeze,
1676
1800
  type: "rdf:Property".freeze
1677
1801
  property :hasRightsContact,
1678
1802
  comment: %(To identify a Contact/person who can provide
1679
1803
  assistance / guidance regarding the associated Rights.).freeze,
1680
1804
  domain: "ebucore:Rights".freeze,
1681
1805
  label: "Contact".freeze,
1682
- range: "ebucore:Contact".freeze,
1683
1806
  type: "rdf:Property".freeze
1684
1807
  property :hasRightsHolder,
1685
1808
  comment: %(To identify an Agent \(Contact/person or
1686
1809
  Organisation\) having/managing Rights.).freeze,
1687
1810
  domain: "ebucore:Rights".freeze,
1688
1811
  label: "Rights holder".freeze,
1689
- range: "ebucore:Agent".freeze,
1690
1812
  type: "rdf:Property".freeze
1691
1813
  property :hasRole,
1692
1814
  comment: %(To define the role of an Agent \(Contact/person
@@ -1707,7 +1829,6 @@ module RDF::Vocab
1707
1829
  to the BusinessObject/Resource.).freeze,
1708
1830
  label: "Accessibility - signing".freeze,
1709
1831
  "owl:equivalentProperty" => %(ma:hasSigning).freeze,
1710
- range: "ebucore:Signing".freeze,
1711
1832
  type: "rdf:Property".freeze
1712
1833
  property :hasSigningFormat,
1713
1834
  label: "Signing format".freeze,
@@ -1724,7 +1845,11 @@ module RDF::Vocab
1724
1845
  comment: %(To identify staff working within an Organisation.).freeze,
1725
1846
  domain: "ebucore:Organisation".freeze,
1726
1847
  label: "Staff".freeze,
1727
- range: "ebucore:Contact".freeze,
1848
+ type: "rdf:Property".freeze
1849
+ property :hasStandard,
1850
+ comment: %(Identifies the technical video standard of a resource, i.e. NTSC or PAL.).freeze,
1851
+ label: "Standard".freeze,
1852
+ subPropertyOf: "ebucore:hasFormat".freeze,
1728
1853
  type: "rdf:Property".freeze
1729
1854
  property :hasStorageType,
1730
1855
  comment: %(To define a particular type of storage /
@@ -1744,7 +1869,6 @@ module RDF::Vocab
1744
1869
  with the EditorialObject or MediaResource.).freeze,
1745
1870
  label: "Subtitling".freeze,
1746
1871
  "owl:equivalentProperty" => %(ma:hasSubtitling).freeze,
1747
- range: "ebucore:Subtitling".freeze,
1748
1872
  type: "rdf:Property".freeze
1749
1873
  property :hasSubtitlingFormat,
1750
1874
  label: "Subtitling format".freeze,
@@ -1846,10 +1970,13 @@ module RDF::Vocab
1846
1970
  label: "Identifier".freeze,
1847
1971
  subPropertyOf: "dc11:identifier".freeze,
1848
1972
  type: "rdf:Property".freeze
1849
- property :importance,
1850
- comment: %(To indicate the importance of an AudioObject or AudioPack.).freeze,
1851
- label: "Audio object importance".freeze,
1852
- range: "xsd:string".freeze,
1973
+ property :inchesPerSecond,
1974
+ comment: %(Identifies the inches per second at which an analog audio tape should be played back for human consumption.).freeze,
1975
+ domain: "ebucore:Resource".freeze,
1976
+ label: "Inches per second".freeze,
1977
+ "owl:equivalentProperty" => %(ma:frameRate).freeze,
1978
+ range: "xsd:double".freeze,
1979
+ subPropertyOf: "ebucore:playbackSpeed".freeze,
1853
1980
  type: "rdf:Property".freeze
1854
1981
  property :instantiates,
1855
1982
  comment: %(To link a particular manifestation of a
@@ -1859,11 +1986,6 @@ module RDF::Vocab
1859
1986
  range: "ebucore:BusinessObject".freeze,
1860
1987
  subPropertyOf: "ebucore:hasRelatedBusinessObject".freeze,
1861
1988
  type: "rdf:Property".freeze
1862
- property :interact,
1863
- comment: %(A flag to indicate if the user can interact woith the content.).freeze,
1864
- label: "Interaction flag".freeze,
1865
- range: "xsd:boolean".freeze,
1866
- type: "rdf:Property".freeze
1867
1989
  property :isAgent,
1868
1990
  comment: %(To identify a Contact/person or Organisation as part of a cast list.).freeze,
1869
1991
  domain: "ebucore:Cast".freeze,
@@ -1873,7 +1995,12 @@ module RDF::Vocab
1873
1995
  comment: %(To identify the character personified by a Cast individual.).freeze,
1874
1996
  domain: "ebucore:Cast".freeze,
1875
1997
  label: "Character".freeze,
1876
- range: "ebucore:Character".freeze,
1998
+ type: "rdf:Property".freeze
1999
+ property :isClonedFrom,
2000
+ comment: %(Identifies relationship between a digital instantiation of a resource and its direct copy, with no generational loss.).freeze,
2001
+ label: "Cloned from".freeze,
2002
+ "owl:inverseOf" => %(ebucore:clonedTo).freeze,
2003
+ subPropertyOf: "dc11:relation".freeze,
1877
2004
  type: "rdf:Property".freeze
1878
2005
  property :isCopyrightedBy,
1879
2006
  comment: %(Copyright statement.).freeze,
@@ -1888,6 +2015,18 @@ module RDF::Vocab
1888
2015
  "owl:equivalentProperty" => [%(ma:hasPolicy).freeze, %(ma:hasPermissions).freeze],
1889
2016
  subPropertyOf: "ebucore:hasRights".freeze,
1890
2017
  type: "rdf:Property".freeze
2018
+ property :isDerivedFrom,
2019
+ comment: %(Identifies a content-based relationship between two resources.).freeze,
2020
+ label: "Derived from".freeze,
2021
+ "owl:inverseOf" => %(ebucore:derivedTo).freeze,
2022
+ subPropertyOf: "dc11:relation".freeze,
2023
+ type: "rdf:Property".freeze
2024
+ property :isDubbedFrom,
2025
+ comment: %(Identifies relationship between a physical instantiation of a resource and a duplicate physical copy that may involve generational loss.).freeze,
2026
+ label: "Dubbed from".freeze,
2027
+ "owl:inverseOf" => %(ebucore:dubbedTo).freeze,
2028
+ subPropertyOf: "dc11:relation".freeze,
2029
+ type: "rdf:Property".freeze
1891
2030
  property :isEpisodeOf,
1892
2031
  comment: %(The Episode of a Series or a Season.).freeze,
1893
2032
  domain: "ebucore:Programme".freeze,
@@ -1899,7 +2038,6 @@ module RDF::Vocab
1899
2038
  comment: %(To identify Contact/persons being fictitious.).freeze,
1900
2039
  domain: "ebucore:Character".freeze,
1901
2040
  label: "Fictitious contact".freeze,
1902
- range: "ebucore:Contact".freeze,
1903
2041
  type: "rdf:Property".freeze
1904
2042
  property :isMediaFragmentOf,
1905
2043
  comment: %(To identify the MediaResource to which the MediaFragment belongs to.).freeze,
@@ -2140,21 +2278,6 @@ module RDF::Vocab
2140
2278
  label: "Main title".freeze,
2141
2279
  subPropertyOf: "ebucore:title".freeze,
2142
2280
  type: "rdf:Property".freeze
2143
- property :mxfChannelID,
2144
- comment: %(To identify an MXF channel.).freeze,
2145
- label: "MXF channel ID".freeze,
2146
- subPropertyOf: "ebucore:audioMXFLookup".freeze,
2147
- type: "rdf:Property".freeze
2148
- property :mxfPackageUID,
2149
- comment: %(To identify a MXF package.).freeze,
2150
- label: "MXF package UID".freeze,
2151
- subPropertyOf: "ebucore:audioMXFLookup".freeze,
2152
- type: "rdf:Property".freeze
2153
- property :mxfTrackID,
2154
- comment: %(To identify a MXF track.).freeze,
2155
- label: "MXF track ID".freeze,
2156
- subPropertyOf: "ebucore:audioMXFLookup".freeze,
2157
- type: "rdf:Property".freeze
2158
2281
  property :nameTitle,
2159
2282
  comment: %(To provide a salutation title e.g M. Ms, Dr, Pr.).freeze,
2160
2283
  label: "Salutation title".freeze,
@@ -2319,6 +2442,13 @@ module RDF::Vocab
2319
2442
  label: "Total number of parts".freeze,
2320
2443
  range: "xsd:integer".freeze,
2321
2444
  type: "rdf:Property".freeze
2445
+ property :playbackSpeed,
2446
+ comment: %(Identifies the rate of units against time at which the resource should be played back for human consumption. If the unit of measure is known, use sub-properties framesPerSecond or inchesPerSecond.).freeze,
2447
+ domain: "ebucore:Resource".freeze,
2448
+ label: "Playback speed".freeze,
2449
+ "owl:equivalentProperty" => %(ma:frameRate).freeze,
2450
+ range: "xsd:double".freeze,
2451
+ type: "rdf:Property".freeze
2322
2452
  property :playlist,
2323
2453
  comment: %(To describe a playlist.).freeze,
2324
2454
  label: "Playlist".freeze,
@@ -2538,6 +2668,7 @@ module RDF::Vocab
2538
2668
  'script'.).freeze,
2539
2669
  domain: "ebucore:MediaResource".freeze,
2540
2670
  label: "Resource description".freeze,
2671
+ range: "xsd:string".freeze,
2541
2672
  subPropertyOf: "dc11:description".freeze,
2542
2673
  type: "rdf:Property".freeze
2543
2674
  property :resourceName,
@@ -2603,6 +2734,11 @@ module RDF::Vocab
2603
2734
  label: "Script".freeze,
2604
2735
  subPropertyOf: "ebucore:description".freeze,
2605
2736
  type: "rdf:Property".freeze
2737
+ property :shotlog,
2738
+ comment: %(Provides a shot-by-shot description of resource content.).freeze,
2739
+ label: "Shot log".freeze,
2740
+ subPropertyOf: "ebucore:description".freeze,
2741
+ type: "rdf:Property".freeze
2606
2742
  property :signingSource,
2607
2743
  comment: %(To identify the source of the signing
2608
2744
  resource.).freeze,
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # This file generated automatically using vocab-fetch from http://fedora.info/definitions/v4/repository#
2
+ # This file generated automatically using vocab-fetch from http://fedora.info/definitions/v4/2015/07/24/repository
3
3
  require 'rdf'
4
4
  module RDF::Vocab
5
5
  class Fcrepo4 < RDF::StrictVocabulary("http://fedora.info/definitions/v4/repository#")
@@ -508,8 +508,8 @@ module RDF::Vocab
508
508
  term :"",
509
509
  comment: %(Ontology for the Fedora data model, intended primarily to make it possible to expose Fedora-curated RDF predicates via de-reference-able URIs.).freeze,
510
510
  label: "Fedora Commons Repository Ontology".freeze,
511
- "owl:priorVersion" => %(http://fedora.info/definitions/v4/2015/02/04/repository).freeze,
512
- "owl:versionInfo" => %(v4/2015/05/15).freeze,
511
+ "owl:priorVersion" => %(http://fedora.info/definitions/v4/2015/05/19/repository).freeze,
512
+ "owl:versionInfo" => %(v4/2015/07/24).freeze,
513
513
  type: "owl:Ontology".freeze
514
514
  end
515
515
  end
@@ -0,0 +1,192 @@
1
+ # -*- encoding: utf-8 -*-
2
+ # This file generated automatically using vocab-fetch from http://www.w3.org/2009/pointers#
3
+ require 'rdf'
4
+ module RDF::Vocab
5
+ class PTR < RDF::StrictVocabulary("http://www.w3.org/2009/pointers#")
6
+
7
+ # Class definitions
8
+ term :ByteOffsetCompoundPointer,
9
+ comment: %(Pointer to a byte range with a defined start and a byte offset from there.).freeze,
10
+ label: "Byte Offset Compound Pointer".freeze,
11
+ subClassOf: "ptr:CompoundPointer".freeze,
12
+ type: "rdfs:Class".freeze
13
+ term :ByteOffsetPointer,
14
+ comment: %(Single pointer using a byte offset from the start of the reference.).freeze,
15
+ label: "Byte Offset Pointer".freeze,
16
+ subClassOf: "ptr:OffsetPointer".freeze,
17
+ type: "rdfs:Class".freeze
18
+ term :ByteSnippetCompoundPointer,
19
+ comment: %(Pointer to a range with a defined start and a byte snippet from there.).freeze,
20
+ label: "Byte Snippet Compound Pointer".freeze,
21
+ subClassOf: "ptr:CompoundPointer".freeze,
22
+ type: "rdfs:Class".freeze
23
+ term :CSSSelectorPointer,
24
+ comment: %(Single pointer using a CSS selector.).freeze,
25
+ label: "CSS selector Pointer".freeze,
26
+ subClassOf: "ptr:ExpressionPointer".freeze,
27
+ type: "rdfs:Class".freeze
28
+ term :CharOffsetCompoundPointer,
29
+ comment: %(Pointer to a char range with a defined start and a char offset from there.).freeze,
30
+ label: "Char Offset Compound Pointer".freeze,
31
+ subClassOf: "ptr:CompoundPointer".freeze,
32
+ type: "rdfs:Class".freeze
33
+ term :CharOffsetPointer,
34
+ comment: %(Single pointer using a character offset from the start of the reference.).freeze,
35
+ label: "Char Offset Pointer".freeze,
36
+ subClassOf: "ptr:OffsetPointer".freeze,
37
+ type: "rdfs:Class".freeze
38
+ term :CharSnippetCompoundPointer,
39
+ comment: %(Pointer to a range with a defined start and a character snippet from there.).freeze,
40
+ label: "Char Snippet Compound Pointer".freeze,
41
+ subClassOf: "ptr:CompoundPointer".freeze,
42
+ type: "rdfs:Class".freeze
43
+ term :CompoundPointer,
44
+ comment: %(An abstract method made of a pair of pointers to a defined section to be subclassed for extensibility.).freeze,
45
+ label: "Compound Pointer".freeze,
46
+ subClassOf: "ptr:Pointer".freeze,
47
+ type: "rdfs:Class".freeze
48
+ term :EquivalentPointers,
49
+ comment: %(Group of equivalent pointers that point to the same places.).freeze,
50
+ label: "Equivalent Pointers".freeze,
51
+ subClassOf: "ptr:PointersGroup".freeze,
52
+ type: "rdfs:Class".freeze
53
+ term :ExpressionPointer,
54
+ comment: %(Generic single pointer that make use of an expression language such as xPath, CSS selectors, etc.).freeze,
55
+ label: "Expression Pointer".freeze,
56
+ subClassOf: "ptr:SinglePointer".freeze,
57
+ type: "rdfs:Class".freeze
58
+ term :LineCharPointer,
59
+ comment: %(Single pointer using line and char numbers.).freeze,
60
+ label: "Line-Char Pointer".freeze,
61
+ subClassOf: "ptr:SinglePointer".freeze,
62
+ type: "rdfs:Class".freeze
63
+ term :OffsetPointer,
64
+ comment: %(Generic single pointer based on an offset.).freeze,
65
+ label: "Offset Pointer".freeze,
66
+ subClassOf: "ptr:SinglePointer".freeze,
67
+ type: "rdfs:Class".freeze
68
+ term :Pointer,
69
+ comment: %(Abstract Pointer to be subclassed for extensibility.).freeze,
70
+ label: "Pointer".freeze,
71
+ type: "rdfs:Class".freeze
72
+ term :PointersGroup,
73
+ comment: %(Generic container for a group of Pointers).freeze,
74
+ label: "Pointers Group".freeze,
75
+ subClassOf: "ptr:Pointer".freeze,
76
+ type: "rdfs:Class".freeze
77
+ term :RelatedPointers,
78
+ comment: %(Group of related pointers you use together for some purpose.).freeze,
79
+ label: "Related Pointers".freeze,
80
+ subClassOf: "ptr:PointersGroup".freeze,
81
+ type: "rdfs:Class".freeze
82
+ term :SinglePointer,
83
+ comment: %(Abstract pointer to a single point to be subclassed for extensibility.).freeze,
84
+ label: "Single Pointer".freeze,
85
+ subClassOf: "ptr:Pointer".freeze,
86
+ type: "rdfs:Class".freeze
87
+ term :StartEndPointer,
88
+ comment: %(Compound pointer to a range with a start and an end point.).freeze,
89
+ label: "Start-End Pointer".freeze,
90
+ subClassOf: "ptr:CompoundPointer".freeze,
91
+ type: "rdfs:Class".freeze
92
+ term :XMLNamespace,
93
+ comment: %(An XML Namespace.).freeze,
94
+ label: "XMLNamespace".freeze,
95
+ type: "rdfs:Class".freeze
96
+ term :XPathPointer,
97
+ comment: %(Single pointer using an XPath expression.).freeze,
98
+ label: "XPath Pointer".freeze,
99
+ subClassOf: "ptr:ExpressionPointer".freeze,
100
+ type: "rdfs:Class".freeze
101
+ term :XPointerPointer,
102
+ comment: %(Single pointer using an XPointer expression.).freeze,
103
+ label: "XPointer Pointer".freeze,
104
+ subClassOf: "ptr:XPathPointer".freeze,
105
+ type: "rdfs:Class".freeze
106
+
107
+ # Property definitions
108
+ property :byteOffset,
109
+ comment: %(Number of bytes counting from the start point.).freeze,
110
+ domain: "ptr:ByteOffsetCompoundPointer".freeze,
111
+ label: "byte offset".freeze,
112
+ range: "xsd:positiveInteger".freeze,
113
+ type: "rdf:Property".freeze
114
+ property :charNumber,
115
+ comment: %(Char number within a line starting at one.
116
+ ).freeze,
117
+ domain: "ptr:LineCharPointer".freeze,
118
+ label: "char number".freeze,
119
+ range: "xsd:positiveInteger".freeze,
120
+ type: "rdf:Property".freeze
121
+ property :charOffset,
122
+ comment: %(Number of characters counting from the start point.).freeze,
123
+ domain: "ptr:CharOffsetCompoundPointer".freeze,
124
+ label: "char offset".freeze,
125
+ range: "xsd:positiveInteger".freeze,
126
+ type: "rdf:Property".freeze
127
+ property :endPointer,
128
+ comment: %(Pointer to the end point of the range.).freeze,
129
+ domain: "ptr:StartEndPointer".freeze,
130
+ label: "end pointer".freeze,
131
+ range: "ptr:SinglePointer".freeze,
132
+ type: "rdf:Property".freeze
133
+ property :expression,
134
+ comment: %(Expressions, such as xPath or CSS selectors, that identify points.).freeze,
135
+ domain: "ptr:ExpressionPointer".freeze,
136
+ label: "expression".freeze,
137
+ range: "rdfs:Literal".freeze,
138
+ type: "rdf:Property".freeze
139
+ property :groupPointer,
140
+ comment: %(A Pointer that is part of a Group).freeze,
141
+ domain: "ptr:PointersGroup".freeze,
142
+ label: "groupPointer".freeze,
143
+ range: "ptr:Pointer".freeze,
144
+ type: "rdf:Property".freeze
145
+ property :lineNumber,
146
+ comment: %(Line number within the reference starting at one.
147
+ ).freeze,
148
+ domain: "ptr:LineCharPointer".freeze,
149
+ label: "line number".freeze,
150
+ range: "xsd:positiveInteger".freeze,
151
+ type: "rdf:Property".freeze
152
+ property :namespace,
153
+ comment: %(The namespace being used for the XPath expression.).freeze,
154
+ domain: "ptr:XPathPointer".freeze,
155
+ label: "namespace".freeze,
156
+ range: "ptr:XMLNamespace".freeze,
157
+ type: "rdf:Property".freeze
158
+ property :namespaceName,
159
+ comment: %(The namespace name being used for an XML Namespace.).freeze,
160
+ domain: "ptr:XMLNamespace".freeze,
161
+ label: "namespace name".freeze,
162
+ type: "rdf:Property".freeze
163
+ property :offset,
164
+ comment: %(Offset from the start of the reference.).freeze,
165
+ domain: "ptr:OffsetPointer".freeze,
166
+ label: "offset".freeze,
167
+ range: "xsd:positiveInteger".freeze,
168
+ type: "rdf:Property".freeze
169
+ property :prefix,
170
+ comment: %(The namespace prefix being used for an XML Namespace.).freeze,
171
+ domain: "ptr:XMLNamespace".freeze,
172
+ label: "prefix".freeze,
173
+ type: "rdf:Property".freeze
174
+ property :reference,
175
+ comment: %(Scope within which a single pointer operates.).freeze,
176
+ domain: "ptr:SinglePointer".freeze,
177
+ label: "reference".freeze,
178
+ type: "rdf:Property".freeze
179
+ property :startPointer,
180
+ comment: %(Pointer to the start point of the range in a compound pointer.).freeze,
181
+ domain: "ptr:CompoundPointer".freeze,
182
+ label: "start pointer".freeze,
183
+ range: "ptr:SinglePointer".freeze,
184
+ type: "rdf:Property".freeze
185
+ property :version,
186
+ comment: %(Version for the expression language being used.).freeze,
187
+ domain: "ptr:ExpressionPointer".freeze,
188
+ label: "version".freeze,
189
+ range: "rdfs:Literal".freeze,
190
+ type: "rdf:Property".freeze
191
+ end
192
+ end
data/lib/rdf/vocab.rb CHANGED
@@ -46,7 +46,11 @@ module RDF
46
46
  source: "http://www.europeana.eu/schemas/edm/rdf/edm.owl"
47
47
  },
48
48
  exif: {uri: "http://www.w3.org/2003/12/exif/ns#", alias: true},
49
- fcrepo4: {uri: "http://fedora.info/definitions/v4/repository#", class_name: "Fcrepo4"},
49
+ fcrepo4: {
50
+ uri: "http://fedora.info/definitions/v4/repository#",
51
+ class_name: "Fcrepo4",
52
+ source: "http://fedora.info/definitions/v4/2015/07/24/repository"
53
+ },
50
54
  foaf: {uri: "http://xmlns.com/foaf/0.1/", alias: true},
51
55
  geo: {uri: "http://www.w3.org/2003/01/geo/wgs84_pos#", alias: true},
52
56
  geonames: {
@@ -116,6 +120,8 @@ module RDF
116
120
  class_name: "PremisEventType"
117
121
  },
118
122
  prov: {uri: "http://www.w3.org/ns/prov#", alias: true},
123
+ ptr: {uri: "http://www.w3.org/2009/pointers#"},
124
+ rdfs: {uri: "http://www.w3.org/2000/01/rdf-schema#", alias: true},
119
125
  rsa: {uri: "http://www.w3.org/ns/auth/rsa#", alias: true},
120
126
  rss: {uri: "http://purl.org/rss/1.0/", source: "http://purl.org/rss/1.0/schema.rdf", alias: true},
121
127
  schema: {uri: "http://schema.org/", source: "http://schema.org/docs/schema_org_rdfa.html", alias: true},
@@ -135,47 +141,23 @@ module RDF
135
141
  wot: {uri: "http://xmlns.com/wot/0.1/", source: "http://xmlns.com/wot/0.1/index.rdf", alias: true},
136
142
  xhtml: {uri: "http://www.w3.org/1999/xhtml#", strict: false, alias: true},
137
143
  xhv: {uri: "http://www.w3.org/1999/xhtml/vocab#", strict: false, alias: true},
144
+ xsd: {uri: "http://www.w3.org/2001/XMLSchema#", strict: false, alias: true},
138
145
  }.freeze
139
146
 
140
147
  # Autoload vocabularies
141
148
  VOCABS.each do |id, params|
142
149
  v = params.fetch(:class_name, id.to_s.upcase).to_sym
143
- autoload v, "rdf/vocab/#{id}"
150
+ autoload v, "rdf/vocab/#{id}" unless params[:alias]
144
151
  end
145
152
 
146
153
  # Aliases for vocabularies still defined directly in RDF.rb
147
- CC = ::RDF::CC if RDF.const_defined?(:CC)
148
- CERT = ::RDF::CERT if RDF.const_defined?(:CERT)
149
- DC = ::RDF::DC if RDF.const_defined?(:DC)
150
- DC11 = ::RDF::DC11 if RDF.const_defined?(:DC11)
151
- DCAT = ::RDF::DCAT if RDF.const_defined?(:DCAT)
152
- DOAP = ::RDF::DOAP if RDF.const_defined?(:DOAP)
153
- EXIF = ::RDF::EXIF if RDF.const_defined?(:EXIF)
154
- FOAF = ::RDF::FOAF if RDF.const_defined?(:FOAF)
155
- GEO = ::RDF::GEO if RDF.const_defined?(:GEO)
156
- GR = ::RDF::GR if RDF.const_defined?(:GR)
157
- HT = ::RDF::HT if RDF.const_defined?(:HT)
158
- ICAL = ::RDF::ICAL if RDF.const_defined?(:ICAL)
159
- MA = ::RDF::MA if RDF.const_defined?(:MA)
160
- MO = ::RDF::MO if RDF.const_defined?(:MO)
161
- OG = ::RDF::OG if RDF.const_defined?(:OG)
162
- OGC = ::RDF::OGC if RDF.const_defined?(:OGC)
163
- OWL = ::RDF::OWL if RDF.const_defined?(:OWL)
164
- PROV = ::RDF::PROV if RDF.const_defined?(:PROV)
165
- RSA = ::RDF::RSA if RDF.const_defined?(:RSA)
166
- RSS = ::RDF::RSS if RDF.const_defined?(:RSS)
167
- SCHEMA = ::RDF::SCHEMA if RDF.const_defined?(:SCHEMA)
168
- SIOC = ::RDF::SIOC if RDF.const_defined?(:SIOC)
169
- SKOS = ::RDF::SKOS if RDF.const_defined?(:SKOS)
170
- SKOSXL = ::RDF::SKOSXL if RDF.const_defined?(:SKOSXL)
171
- V = ::RDF::V if RDF.const_defined?(:V)
172
- VCARD = ::RDF::VCARD if RDF.const_defined?(:VCARD)
173
- VMD = ::RDF::VMD if RDF.const_defined?(:VMD)
174
- VOID = ::RDF::VOID if RDF.const_defined?(:VOID)
175
- VS = ::RDF::VS if RDF.const_defined?(:VS)
176
- WDRS = ::RDF::WDRS if RDF.const_defined?(:WDRS)
177
- WOT = ::RDF::WOT if RDF.const_defined?(:WOT)
178
- XHTML = ::RDF::XHTML if RDF.const_defined?(:XHTML)
179
- XHV = ::RDF::XHV if RDF.const_defined?(:XHV)
154
+ def self.const_missing(constant)
155
+ if VOCABS.fetch(constant.to_s.downcase.to_sym, {})[:alias]
156
+ require "rdf/vocab/#{constant.to_s.downcase}"
157
+ const_set(constant, RDF.const_get(constant))
158
+ else
159
+ super
160
+ end
161
+ end
180
162
  end
181
163
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf-vocab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Chandek-Stark
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-09-19 00:00:00.000000000 Z
13
+ date: 2015-10-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rdf
@@ -171,6 +171,7 @@ files:
171
171
  - lib/rdf/vocab/pplan.rb
172
172
  - lib/rdf/vocab/premis.rb
173
173
  - lib/rdf/vocab/premis_event_type.rb
174
+ - lib/rdf/vocab/ptr.rb
174
175
  - lib/rdf/vocab/sioc_services.rb
175
176
  - lib/rdf/vocab/version.rb
176
177
  - spec/spec_helper.rb