rdf-vocab 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +24 -200
  3. data/README.md +88 -33
  4. data/lib/{rdf-vocab → rdf}/vocab/acl.rb +19 -13
  5. data/lib/{rdf-vocab → rdf}/vocab/bibframe.rb +513 -510
  6. data/lib/rdf/vocab/cnt.rb +112 -0
  7. data/lib/{rdf-vocab → rdf}/vocab/crm.rb +799 -799
  8. data/lib/{rdf-vocab → rdf}/vocab/datacite.rb +53 -53
  9. data/lib/{rdf-vocab → rdf}/vocab/dwc.rb +459 -459
  10. data/lib/{rdf-vocab → rdf}/vocab/edm.rb +41 -41
  11. data/lib/rdf/vocab/extensions.rb +29 -0
  12. data/lib/{rdf-vocab → rdf}/vocab/fcrepo4.rb +38 -38
  13. data/lib/{rdf-vocab → rdf}/vocab/iana.rb +89 -166
  14. data/lib/{rdf-vocab → rdf}/vocab/identifiers.rb +58 -38
  15. data/lib/rdf/vocab/ldp.rb +218 -0
  16. data/lib/{rdf-vocab → rdf}/vocab/mads.rb +147 -147
  17. data/lib/{rdf-vocab → rdf}/vocab/marc_relators.rb +273 -269
  18. data/lib/{rdf-vocab → rdf}/vocab/mods.rb +178 -178
  19. data/lib/{rdf-vocab → rdf}/vocab/oa.rb +102 -102
  20. data/lib/{rdf-vocab → rdf}/vocab/ore.rb +32 -32
  21. data/lib/{rdf-vocab/vocab/premis/v1.rb → rdf/vocab/premis.rb} +147 -147
  22. data/lib/{rdf-vocab → rdf}/vocab/premis_event_type.rb +0 -0
  23. data/lib/rdf/vocab/version.rb +18 -0
  24. data/lib/rdf/vocab.rb +153 -0
  25. data/spec/spec_helper.rb +3 -84
  26. data/spec/vocab_spec.rb +64 -0
  27. metadata +109 -58
  28. data/.gitignore +0 -17
  29. data/.rspec +0 -2
  30. data/.travis.yml +0 -6
  31. data/CONTRIBUTING.md +0 -116
  32. data/CONTRIBUTORS.md +0 -6
  33. data/Gemfile +0 -4
  34. data/Rakefile +0 -8
  35. data/lib/rdf-vocab/config/vocab.yml +0 -109
  36. data/lib/rdf-vocab/tasks/vocab.rake +0 -44
  37. data/lib/rdf-vocab/version.rb +0 -5
  38. data/lib/rdf-vocab/vocab/fcrepo3.rb +0 -326
  39. data/lib/rdf-vocab/vocab/ldp.rb +0 -140
  40. data/lib/rdf-vocab/vocab/prov.rb +0 -1549
  41. data/lib/rdf-vocab.rb +0 -34
  42. data/rdf-vocab.gemspec +0 -26
  43. data/sources/dwcterms.rdf +0 -2679
  44. data/sources/iana-relation.rdf +0 -475
  45. data/sources/iana-relation.xsl +0 -65
  46. data/spec/fixtures/dcterms.rdf +0 -1077
  47. data/spec/unit/rdf_vocab_spec.rb +0 -27
@@ -0,0 +1,112 @@
1
+ # -*- encoding: utf-8 -*-
2
+ # This file generated automatically using vocab-fetch from http://www.w3.org/2011/content#
3
+ require 'rdf'
4
+ module RDF::Vocab
5
+ class CNT < RDF::StrictVocabulary("http://www.w3.org/2011/content#")
6
+
7
+ # Class definitions
8
+ term :Content,
9
+ comment: %(The content.).freeze,
10
+ label: "Content".freeze,
11
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
12
+ term :ContentAsBase64,
13
+ comment: %(The base64 encoded content \(can be used for binary content\).).freeze,
14
+ label: "Base64 content".freeze,
15
+ subClassOf: "http://www.w3.org/2011/content#Content".freeze,
16
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
17
+ term :ContentAsText,
18
+ comment: %(The text content \(can be used for text content\).).freeze,
19
+ label: "Text content".freeze,
20
+ subClassOf: "http://www.w3.org/2011/content#Content".freeze,
21
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
22
+ term :ContentAsXML,
23
+ comment: %(The XML content \(can only be used for XML-wellformed content\).).freeze,
24
+ label: "XML content".freeze,
25
+ subClassOf: "http://www.w3.org/2011/content#Content".freeze,
26
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
27
+ term :DoctypeDecl,
28
+ comment: %(The document type declaration.).freeze,
29
+ label: "Document type declaration".freeze,
30
+ type: ["rdfs:Class".freeze, "owl:Class".freeze]
31
+
32
+ # Property definitions
33
+ property :bytes,
34
+ comment: %(The Base64 encoded byte sequence of the content.).freeze,
35
+ domain: "http://www.w3.org/2011/content#ContentAsBase64".freeze,
36
+ label: "Base64 encoded byte sequence".freeze,
37
+ range: "xsd:base64Binary".freeze,
38
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
39
+ property :characterEncoding,
40
+ comment: %(The character encoding used to create a character sequence from a byte sequence or vice versa.).freeze,
41
+ domain: "http://www.w3.org/2011/content#Content".freeze,
42
+ label: "Character encoding".freeze,
43
+ range: "rdfs:Literal".freeze,
44
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
45
+ property :chars,
46
+ comment: %(The character sequence of the text content.).freeze,
47
+ domain: "http://www.w3.org/2011/content#ContentAsText".freeze,
48
+ label: "Character sequence".freeze,
49
+ range: "rdfs:Literal".freeze,
50
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
51
+ property :declaredEncoding,
52
+ comment: %(The character encoding declared in the XML declaration.).freeze,
53
+ domain: "http://www.w3.org/2011/content#ContentAsXML".freeze,
54
+ label: "XML character encoding".freeze,
55
+ range: "rdfs:Literal".freeze,
56
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
57
+ property :doctypeName,
58
+ comment: %(The document type name.).freeze,
59
+ domain: "http://www.w3.org/2011/content#DoctypeDecl".freeze,
60
+ label: "Document type name".freeze,
61
+ range: "rdfs:Literal".freeze,
62
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
63
+ property :dtDecl,
64
+ comment: %(The document type declaration.).freeze,
65
+ domain: "http://www.w3.org/2011/content#ContentAsXML".freeze,
66
+ label: "Document type declaration".freeze,
67
+ range: "http://www.w3.org/2011/content#DoctypeDecl".freeze,
68
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
69
+ property :internalSubset,
70
+ comment: %(The internal document type definition subset within the document type declarations.).freeze,
71
+ domain: "http://www.w3.org/2011/content#DoctypeDecl".freeze,
72
+ label: "Internal DTD subset".freeze,
73
+ range: "rdfs:Literal".freeze,
74
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
75
+ property :leadingMisc,
76
+ comment: %(The XML content preceding the document type declaration.).freeze,
77
+ domain: "http://www.w3.org/2011/content#ContentAsXML".freeze,
78
+ label: "XML leading misc".freeze,
79
+ range: "rdf:XMLLiteral".freeze,
80
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
81
+ property :publicId,
82
+ comment: %(The document type declarations's public identifier.).freeze,
83
+ domain: "http://www.w3.org/2011/content#DoctypeDecl".freeze,
84
+ label: "Public ID".freeze,
85
+ range: "rdfs:Literal".freeze,
86
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
87
+ property :rest,
88
+ comment: %(The XML content following the document type declaration.).freeze,
89
+ domain: "http://www.w3.org/2011/content#ContentAsXML".freeze,
90
+ label: "XML rest".freeze,
91
+ range: "rdf:XMLLiteral".freeze,
92
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
93
+ property :standalone,
94
+ comment: %(The standalone declaration in the XML declaration.).freeze,
95
+ domain: "http://www.w3.org/2011/content#ContentAsXML".freeze,
96
+ label: "XML standalone document declaration".freeze,
97
+ range: "rdfs:Literal".freeze,
98
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
99
+ property :systemId,
100
+ comment: %(The document type declarations's system identifier \(typed: xsd:anyURI\)).freeze,
101
+ domain: "http://www.w3.org/2011/content#DoctypeDecl".freeze,
102
+ label: "System ID".freeze,
103
+ range: "xsd:anyURI".freeze,
104
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
105
+ property :version,
106
+ comment: %(The XML version declared in the XML declaration.).freeze,
107
+ domain: "http://www.w3.org/2011/content#ContentAsXML".freeze,
108
+ label: "XML version".freeze,
109
+ range: "rdfs:Literal".freeze,
110
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
111
+ end
112
+ end