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
@@ -1,142 +1,185 @@
1
+ # -*- encoding: utf-8 -*-
1
2
  # This file generated automatically using vocab-fetch from http://vocab.deri.ie/void.rdf
2
3
  require 'rdf'
3
4
  module RDF
4
5
  class VOID < StrictVocabulary("http://rdfs.org/ns/void#")
5
6
 
6
7
  # Class definitions
7
- property :Dataset, :label => 'dataset', :comment =>
8
- %(A set of RDF triples that are published, maintained or
9
- aggregated by a single provider.)
10
- property :Dataset, :label => 'dataset', :comment =>
11
- %(A set of RDF triples that are published, maintained or
12
- aggregated by a single provider.)
13
- property :DatasetDescription, :label => 'dataset description', :comment =>
14
- %(A web resource whose foaf:primaryTopic or foaf:topics include
15
- void:Datasets.)
16
- property :DatasetDescription, :label => 'dataset description', :comment =>
17
- %(A web resource whose foaf:primaryTopic or foaf:topics include
18
- void:Datasets.)
19
- property :Linkset, :label => 'linkset', :comment =>
20
- %(A collection of RDF links between two void:Datasets.)
21
- property :Linkset, :label => 'linkset', :comment =>
22
- %(A collection of RDF links between two void:Datasets.)
23
- property :TechnicalFeature, :label => 'technical feature', :comment =>
24
- %(A technical feature of a void:Dataset, such as a supported RDF
25
- serialization format.)
26
- property :TechnicalFeature, :label => 'technical feature', :comment =>
27
- %(A technical feature of a void:Dataset, such as a supported RDF
28
- serialization format.)
8
+ term :Dataset,
9
+ comment: %(A set of RDF triples that are published, maintained or aggregated by a single provider.).freeze,
10
+ label: "dataset".freeze,
11
+ type: "rdfs:Class".freeze
12
+ term :DatasetDescription,
13
+ comment: %(A web resource whose foaf:primaryTopic or foaf:topics include void:Datasets.).freeze,
14
+ label: "dataset description".freeze,
15
+ subClassOf: "foaf:Document".freeze,
16
+ type: "rdfs:Class".freeze
17
+ term :Linkset,
18
+ comment: %(A collection of RDF links between two void:Datasets.).freeze,
19
+ label: "linkset".freeze,
20
+ subClassOf: "void:Dataset".freeze,
21
+ type: "rdfs:Class".freeze
22
+ term :TechnicalFeature,
23
+ comment: %(A technical feature of a void:Dataset, such as a supported RDF serialization format.).freeze,
24
+ label: "technical feature".freeze,
25
+ type: "rdfs:Class".freeze
29
26
 
30
27
  # Property definitions
31
- property :dataDump, :label => 'Data Dump', :comment =>
32
- %(An RDF dump, partial or complete, of a void:Dataset.)
33
- property :objectsTarget, :label => 'Objects Target', :comment =>
34
- %(The dataset describing the objects of the triples contained in
35
- the Linkset.)
36
- property :subjectsTarget, :label => 'Subjects Target', :comment =>
37
- %(The dataset describing the subjects of triples contained in
38
- the Linkset.)
39
- property :target, :label => 'Target', :comment =>
40
- %(One of the two datasets linked by the Linkset.)
41
- property :uriSpace, :label => 'URI space', :comment =>
42
- %(A URI that is a common string prefix of all the entity URIs in
43
- a void:Dataset.)
44
- property :linkPredicate, :label => 'a link predicate'
45
- property :class, :label => 'class', :comment =>
46
- %(The rdfs:Class that is the rdf:type of all entities in a
47
- class-based partition.)
48
- property :classPartition, :label => 'class partition', :comment =>
49
- %(A subset of a void:Dataset that contains only the entities of
50
- a certain rdfs:Class.)
51
- property :classes, :label => 'classes', :comment =>
52
- %(The total number of distinct classes in a void:Dataset. In
53
- other words, the number of distinct resources occuring as
54
- objects of rdf:type triples in the dataset.)
55
- property :distinctObjects, :label => 'distinct objects', :comment =>
56
- %(The total number of distinct objects in a void:Dataset. In
57
- other words, the number of distinct resources that occur in
58
- the object position of triples in the dataset. Literals are
59
- included in this count.)
60
- property :distinctSubjects, :label => 'distinct subjects', :comment =>
61
- %(The total number of distinct subjects in a void:Dataset. In
62
- other words, the number of distinct resources that occur in
63
- the subject position of triples in the dataset.)
64
- property :exampleResource, :label => 'example resource of dataset'
65
- property :feature, :label => 'feature'
66
- property :uriRegexPattern, :label => 'has URI regular expression pattern', :comment =>
67
- %(Defines a regular expression pattern matching URIs in the
68
- dataset.)
69
- property :sparqlEndpoint, :label => 'has a SPARQL endpoint at'
70
- property :uriLookupEndpoint, :label => 'has an URI look-up endpoint at', :comment =>
71
- %(Defines a simple URI look-up protocol for accessing a dataset.)
72
- property :subset, :label => 'has subset'
73
- property :inDataset, :label => 'in dataset', :comment =>
74
- %(Points to the void:Dataset that a document is a part of.)
75
- property :documents, :label => 'number of documents', :comment =>
76
- %(The total number of documents, for datasets that are published
77
- as a set of individual documents, such as RDF/XML documents or
78
- RDFa-annotated web pages. Non-RDF documents, such as web pages
79
- in HTML or images, are usually not included in this count.
80
- This property is intended for datasets where the total number
81
- of triples or entities is hard to determine. void:triples or
82
- void:entities should be preferred where practical.)
83
- property :entities, :label => 'number of entities', :comment =>
84
- %(The total number of entities that are described in a
85
- void:Dataset.)
86
- property :properties, :label => 'number of properties', :comment =>
87
- %(The total number of distinct properties in a void:Dataset. In
88
- other words, the number of distinct resources that occur in
89
- the predicate position of triples in the dataset.)
90
- property :triples, :label => 'number of triples', :comment =>
91
- %(The total number of triples contained in a void:Dataset.)
92
- property :openSearchDescription, :label => 'open search description', :comment =>
93
- %(An OpenSearch description document for a free-text search
94
- service over a void:Dataset.)
95
- property :property, :label => 'property', :comment =>
96
- %(The rdf:Property that is the predicate of all triples in a
97
- property-based partition.)
98
- property :propertyPartition, :label => 'property partition', :comment =>
99
- %(A subset of a void:Dataset that contains only the triples of a
100
- certain rdf:Property.)
101
- property :rootResource, :label => 'root resource', :comment =>
102
- %(A top concept or entry point for a void:Dataset that is
103
- structured in a tree-like fashion. All resources in a dataset
104
- can be reached by following links from its root resources in a
105
- small number of steps.)
106
- property :vocabulary, :label => 'vocabulary', :comment =>
107
- %(A vocabulary that is used in the dataset.)
108
- property :uriSpace, :label => 'URI space', :comment =>
109
- %(A URI that is a common string prefix of all the entity URIs in
110
- a void:Dataset.)
111
- property :classes, :label => 'classes', :comment =>
112
- %(The total number of distinct classes in a void:Dataset. In
113
- other words, the number of distinct resources occuring as
114
- objects of rdf:type triples in the dataset.)
115
- property :distinctObjects, :label => 'distinct objects', :comment =>
116
- %(The total number of distinct objects in a void:Dataset. In
117
- other words, the number of distinct resources that occur in
118
- the object position of triples in the dataset. Literals are
119
- included in this count.)
120
- property :distinctSubjects, :label => 'distinct subjects', :comment =>
121
- %(The total number of distinct subjects in a void:Dataset. In
122
- other words, the number of distinct resources that occur in
123
- the subject position of triples in the dataset.)
124
- property :documents, :label => 'number of documents', :comment =>
125
- %(The total number of documents, for datasets that are published
126
- as a set of individual documents, such as RDF/XML documents or
127
- RDFa-annotated web pages. Non-RDF documents, such as web pages
128
- in HTML or images, are usually not included in this count.
129
- This property is intended for datasets where the total number
130
- of triples or entities is hard to determine. void:triples or
131
- void:entities should be preferred where practical.)
132
- property :entities, :label => 'number of entities', :comment =>
133
- %(The total number of entities that are described in a
134
- void:Dataset.)
135
- property :properties, :label => 'number of properties', :comment =>
136
- %(The total number of distinct properties in a void:Dataset. In
137
- other words, the number of distinct resources that occur in
138
- the predicate position of triples in the dataset.)
139
- property :triples, :label => 'number of triples', :comment =>
140
- %(The total number of triples contained in a void:Dataset.)
28
+ property :class,
29
+ comment: %(The rdfs:Class that is the rdf:type of all entities in a class-based partition.).freeze,
30
+ domain: "void:Dataset".freeze,
31
+ label: "class".freeze,
32
+ range: "rdfs:Class".freeze,
33
+ type: "rdf:Property".freeze
34
+ property :classPartition,
35
+ comment: %(A subset of a void:Dataset that contains only the entities of a certain rdfs:Class.).freeze,
36
+ domain: "void:Dataset".freeze,
37
+ label: "class partition".freeze,
38
+ range: "void:Dataset".freeze,
39
+ subPropertyOf: "void:subset".freeze,
40
+ type: "rdf:Property".freeze
41
+ property :classes,
42
+ comment: %(The total number of distinct classes in a void:Dataset. In other words, the number of distinct resources occuring as objects of rdf:type triples in the dataset.).freeze,
43
+ domain: "void:Dataset".freeze,
44
+ label: "classes".freeze,
45
+ range: "xsd:integer".freeze,
46
+ type: "rdf:Property".freeze
47
+ property :dataDump,
48
+ comment: %(An RDF dump, partial or complete, of a void:Dataset.).freeze,
49
+ domain: "void:Dataset".freeze,
50
+ label: "Data Dump".freeze,
51
+ range: "rdfs:Resource".freeze,
52
+ type: "rdf:Property".freeze
53
+ property :distinctObjects,
54
+ comment: %(The total number of distinct objects in a void:Dataset. In other words, the number of distinct resources that occur in the object position of triples in the dataset. Literals are included in this count.).freeze,
55
+ domain: "void:Dataset".freeze,
56
+ label: "distinct objects".freeze,
57
+ range: "xsd:integer".freeze,
58
+ type: "rdf:Property".freeze
59
+ property :distinctSubjects,
60
+ comment: %(The total number of distinct subjects in a void:Dataset. In other words, the number of distinct resources that occur in the subject position of triples in the dataset.).freeze,
61
+ domain: "void:Dataset".freeze,
62
+ label: "distinct subjects".freeze,
63
+ range: "xsd:integer".freeze,
64
+ type: "rdf:Property".freeze
65
+ property :documents,
66
+ comment: %(The total number of documents, for datasets that are published as a set of individual documents, such as RDF/XML documents or RDFa-annotated web pages. Non-RDF documents, such as web pages in HTML or images, are usually not included in this count. This property is intended for datasets where the total number of triples or entities is hard to determine. void:triples or void:entities should be preferred where practical.).freeze,
67
+ domain: "void:Dataset".freeze,
68
+ label: "number of documents".freeze,
69
+ range: "xsd:integer".freeze,
70
+ type: "rdf:Property".freeze
71
+ property :entities,
72
+ comment: %(The total number of entities that are described in a void:Dataset.).freeze,
73
+ domain: "void:Dataset".freeze,
74
+ label: "number of entities".freeze,
75
+ range: "xsd:integer".freeze,
76
+ type: "rdf:Property".freeze
77
+ property :exampleResource,
78
+ domain: "void:Dataset".freeze,
79
+ label: "example resource of dataset".freeze,
80
+ range: "rdfs:Resource".freeze,
81
+ type: "rdf:Property".freeze
82
+ property :feature,
83
+ domain: "void:Dataset".freeze,
84
+ label: "feature".freeze,
85
+ range: "void:TechnicalFeature".freeze,
86
+ type: "rdf:Property".freeze
87
+ property :inDataset,
88
+ comment: %(Points to the void:Dataset that a document is a part of.).freeze,
89
+ domain: "foaf:Document".freeze,
90
+ label: "in dataset".freeze,
91
+ range: "void:Dataset".freeze,
92
+ type: "rdf:Property".freeze
93
+ property :linkPredicate,
94
+ domain: "void:Linkset".freeze,
95
+ label: "a link predicate".freeze,
96
+ range: "rdf:Property".freeze,
97
+ type: "rdf:Property".freeze
98
+ property :objectsTarget,
99
+ comment: %(The dataset describing the objects of the triples contained in the Linkset.).freeze,
100
+ domain: "void:Linkset".freeze,
101
+ label: "Objects Target".freeze,
102
+ range: "void:Dataset".freeze,
103
+ subPropertyOf: "void:target".freeze,
104
+ type: "rdf:Property".freeze
105
+ property :openSearchDescription,
106
+ comment: %(An OpenSearch description document for a free-text search service over a void:Dataset.).freeze,
107
+ domain: "void:Dataset".freeze,
108
+ label: "open search description".freeze,
109
+ range: "foaf:Document".freeze,
110
+ type: "rdf:Property".freeze
111
+ property :properties,
112
+ comment: %(The total number of distinct properties in a void:Dataset. In other words, the number of distinct resources that occur in the predicate position of triples in the dataset.).freeze,
113
+ domain: "void:Dataset".freeze,
114
+ label: "number of properties".freeze,
115
+ range: "xsd:integer".freeze,
116
+ type: "rdf:Property".freeze
117
+ property :property,
118
+ comment: %(The rdf:Property that is the predicate of all triples in a property-based partition.).freeze,
119
+ domain: "void:Dataset".freeze,
120
+ label: "property".freeze,
121
+ range: "rdf:Property".freeze,
122
+ type: "rdf:Property".freeze
123
+ property :propertyPartition,
124
+ comment: %(A subset of a void:Dataset that contains only the triples of a certain rdf:Property.).freeze,
125
+ domain: "void:Dataset".freeze,
126
+ label: "property partition".freeze,
127
+ range: "void:Dataset".freeze,
128
+ subPropertyOf: "void:subset".freeze,
129
+ type: "rdf:Property".freeze
130
+ property :rootResource,
131
+ comment: %(A top concept or entry point for a void:Dataset that is structured in a tree-like fashion. All resources in a dataset can be reached by following links from its root resources in a small number of steps.).freeze,
132
+ domain: "void:Dataset".freeze,
133
+ label: "root resource".freeze,
134
+ type: "rdf:Property".freeze
135
+ property :sparqlEndpoint,
136
+ domain: "void:Dataset".freeze,
137
+ label: "has a SPARQL endpoint at".freeze,
138
+ type: "rdf:Property".freeze
139
+ property :subjectsTarget,
140
+ comment: %(The dataset describing the subjects of triples contained in the Linkset.).freeze,
141
+ domain: "void:Linkset".freeze,
142
+ label: "Subjects Target".freeze,
143
+ range: "void:Dataset".freeze,
144
+ subPropertyOf: "void:target".freeze,
145
+ type: "rdf:Property".freeze
146
+ property :subset,
147
+ domain: "void:Dataset".freeze,
148
+ label: "has subset".freeze,
149
+ range: "void:Dataset".freeze,
150
+ type: "rdf:Property".freeze
151
+ property :target,
152
+ comment: %(One of the two datasets linked by the Linkset.).freeze,
153
+ domain: "void:Linkset".freeze,
154
+ label: "Target".freeze,
155
+ range: "void:Dataset".freeze,
156
+ type: "rdf:Property".freeze
157
+ property :triples,
158
+ comment: %(The total number of triples contained in a void:Dataset.).freeze,
159
+ domain: "void:Dataset".freeze,
160
+ label: "number of triples".freeze,
161
+ range: "xsd:integer".freeze,
162
+ type: "rdf:Property".freeze
163
+ property :uriLookupEndpoint,
164
+ comment: %(Defines a simple URI look-up protocol for accessing a dataset.).freeze,
165
+ domain: "void:Dataset".freeze,
166
+ label: "has an URI look-up endpoint at".freeze,
167
+ type: "rdf:Property".freeze
168
+ property :uriRegexPattern,
169
+ comment: %(Defines a regular expression pattern matching URIs in the dataset.).freeze,
170
+ domain: "void:Dataset".freeze,
171
+ label: "has URI regular expression pattern".freeze,
172
+ type: "rdf:Property".freeze
173
+ property :uriSpace,
174
+ comment: %(A URI that is a common string prefix of all the entity URIs in a void:Dataset.).freeze,
175
+ domain: "void:Dataset".freeze,
176
+ label: "URI space".freeze,
177
+ range: "rdfs:Literal".freeze,
178
+ type: "rdf:Property".freeze
179
+ property :vocabulary,
180
+ comment: %(A vocabulary that is used in the dataset.).freeze,
181
+ domain: "void:Dataset".freeze,
182
+ label: "vocabulary".freeze,
183
+ type: "rdf:Property".freeze
141
184
  end
142
185
  end
@@ -0,0 +1,27 @@
1
+ # -*- encoding: utf-8 -*-
2
+ # This file generated automatically using vocab-fetch from http://www.w3.org/2003/06/sw-vocab-status/ns#
3
+ require 'rdf'
4
+ module RDF
5
+ class VS < StrictVocabulary("http://www.w3.org/2003/06/sw-vocab-status/ns#")
6
+
7
+ # Property definitions
8
+ property :moreinfo,
9
+ comment: %(more information about the status etc of a term, typically human oriented).freeze,
10
+ "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" => %(unstable).freeze,
11
+ label: "more info".freeze,
12
+ "rdfs:isDefinedBy" => %(http://www.w3.org/2003/06/sw-vocab-status/ns#).freeze,
13
+ type: "rdf:Property".freeze
14
+ property :term_status,
15
+ comment: %(the status of a vocabulary term, expressed as a short symbolic string; known values include 'unstable','testing', 'stable' and 'archaic').freeze,
16
+ "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" => %(unstable).freeze,
17
+ label: "term status".freeze,
18
+ "rdfs:isDefinedBy" => %(http://www.w3.org/2003/06/sw-vocab-status/ns#).freeze,
19
+ type: "rdf:Property".freeze
20
+ property :userdocs,
21
+ comment: %(human-oriented documentation, examples etc for use of this term).freeze,
22
+ "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" => %(unstable).freeze,
23
+ label: "user docs".freeze,
24
+ "rdfs:isDefinedBy" => %(http://www.w3.org/2003/06/sw-vocab-status/ns#).freeze,
25
+ type: "rdf:Property".freeze
26
+ end
27
+ end
@@ -1,129 +1,133 @@
1
+ # -*- encoding: utf-8 -*-
1
2
  # This file generated automatically using vocab-fetch from http://www.w3.org/2007/05/powder-s#
2
3
  require 'rdf'
3
4
  module RDF
4
5
  class WDRS < StrictVocabulary("http://www.w3.org/2007/05/powder-s#")
5
6
 
6
7
  # Class definitions
7
- property :Document, :label => 'POWDER document', :comment =>
8
- %(A POWDER document.)
9
- property :Processor, :label => 'POWDER processor', :comment =>
10
- %(A software agent able to process POWDER documents.)
8
+ term :Document,
9
+ comment: %(A POWDER document.).freeze,
10
+ label: "POWDER document".freeze,
11
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#structure).freeze,
12
+ subClassOf: "owl:Ontology".freeze,
13
+ type: "rdfs:Class".freeze
14
+ term :Processor,
15
+ comment: %(A software agent able to process POWDER documents.).freeze,
16
+ label: "POWDER processor".freeze,
17
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#powderprocessor).freeze,
18
+ subClassOf: "dc:Agent".freeze,
19
+ type: "rdfs:Class".freeze
11
20
 
12
21
  # Property definitions
13
- property :sha1sum, :label => 'SHA-1 sum', :comment =>
14
- %(Links to a Base64-encoded binary SHA-1 hash of the described
15
- resource. May be used by POWDER Processors when assessing
16
- trustworthiness of a DR.)
17
- property :authenticate, :label => 'authenticate', :comment =>
18
- %(A pointer to a document that describes how Description
19
- Resources created by a FOAF Agent or a DC Terms Agent may be
20
- authenticated)
21
- property :certified, :label => 'certified', :comment =>
22
- %(A property that takes a Boolean value to declare whether the
23
- author of the data certifies the described resource.)
24
- property :certifiedby, :label => 'certified by', :comment =>
25
- %(A property that links a resource to a POWDER document that
26
- certifies it.)
27
- property :data_error, :label => 'data error', :comment =>
28
- %(A property denoting a description of the specific error found
29
- in a given POWDER document.)
30
- property :describedby, :label => 'described by', :comment =>
31
- %(An RDF property to exactly match the describedby relationship
32
- type introduced in
33
- http://www.w3.org/TR/powder-dr/#assoc-linking and formally
34
- defined in appendix D of the same document, i.e. the
35
- relationship A 'describedby' B asserts that resource B
36
- provides a description of resource A. There are no constraints
37
- on the format or representation of either A or B, neither are
38
- there any further constraints on either resource.)
39
- property :error_code, :label => 'error code', :comment =>
40
- %(A property denoting the code of any error encountered by the
41
- POWDER processor.)
42
- property :hasIRI, :label => 'has IRI', :comment =>
43
- %(This property is meant to be used in OWL2 instead of
44
- wdrs:matchesregex. It denotes the string data range
45
- corresponding to a set of IRIs.)
46
- property :issuedby, :label => 'issued by', :comment =>
47
- %(This property denotes the author of a POWDER document.)
48
- property :logo, :label => 'logo', :comment =>
49
- %(Points to a graphic summary for the resources in a given
50
- class. Typically, it is a logo denoting conformance of a given
51
- \(set of\) resource\(s\) to a given set of criteria.)
52
- property :notmatchesregex, :label => 'matches regular expression', :comment =>
53
- %(This is the key 'exclude' property for IRI set definitions in
54
- POWDER-S. It is necessary to take account of the POWDER
55
- Semantic Extension to process this fully. The value is a
56
- regular expression that is matched against an IRI.)
57
- property :matchesregex, :label => 'matches regular expression', :comment =>
58
- %(This is the key 'include' property for IRI set definitions in
59
- POWDER-S. It is necessary to take account of the POWDER
60
- Semantic Extension to process this fully. The value is a
61
- regular expression that is matched against an IRI.)
62
- property :notknownto, :label => 'not known to', :comment =>
63
- %(Property used in results returned from a POWDER Processor that
64
- has no data about the candidate resource. The value is the IRI
65
- of the processor.)
66
- property :proc_error, :label => 'processing error', :comment =>
67
- %(A property denoting a description of the specific software
68
- error.)
69
- property :supportedby, :label => 'supported by', :comment =>
70
- %(A property that links a POWDER document to some other data
71
- source that supports the descriptions provided.)
72
- property :tag, :label => 'tag', :comment =>
73
- %(Property linking to a free-text tag which may include spaces.)
74
- property :text, :label => 'text that may be displayed', :comment =>
75
- %(This property provides a summary of the descriptorset that it
76
- annotates, suitable for display to end users.)
77
- property :validfrom, :label => 'valid from', :comment =>
78
- %(Provides a timestamp that a POWDER Processor may use when
79
- assessing trustworthiness of a POWDER document. Informally, a
80
- POWDER Processor should normally ignore data in the document
81
- before the given date.)
82
- property :validuntil, :label => 'valid until', :comment =>
83
- %(Provides a timestamp that a POWDER Processor may use when
84
- assessing trustworthiness of a POWDER document. Informally, a
85
- POWDER Processor should normally ignore data in the document
86
- after the given date.)
87
- property :hasIRI, :label => 'has IRI', :comment =>
88
- %(This property is meant to be used in OWL2 instead of
89
- wdrs:matchesregex. It denotes the string data range
90
- corresponding to a set of IRIs.)
91
- property :matchesregex, :label => 'matches regular expression', :comment =>
92
- %(This is the key 'include' property for IRI set definitions in
93
- POWDER-S. It is necessary to take account of the POWDER
94
- Semantic Extension to process this fully. The value is a
95
- regular expression that is matched against an IRI.)
96
- property :notmatchesregex, :label => 'matches regular expression', :comment =>
97
- %(This is the key 'exclude' property for IRI set definitions in
98
- POWDER-S. It is necessary to take account of the POWDER
99
- Semantic Extension to process this fully. The value is a
100
- regular expression that is matched against an IRI.)
101
- property :tag, :label => 'tag', :comment =>
102
- %(Property linking to a free-text tag which may include spaces.)
103
- property :certifiedby, :label => 'certified by', :comment =>
104
- %(A property that links a resource to a POWDER document that
105
- certifies it.)
106
- property :issuedby, :label => 'issued by', :comment =>
107
- %(This property denotes the author of a POWDER document.)
108
- property :logo, :label => 'logo', :comment =>
109
- %(Points to a graphic summary for the resources in a given
110
- class. Typically, it is a logo denoting conformance of a given
111
- \(set of\) resource\(s\) to a given set of criteria.)
112
- property :supportedby, :label => 'supported by', :comment =>
113
- %(A property that links a POWDER document to some other data
114
- source that supports the descriptions provided.)
115
- property :text, :label => 'text that may be displayed', :comment =>
116
- %(This property provides a summary of the descriptorset that it
117
- annotates, suitable for display to end users.)
118
- property :validfrom, :label => 'valid from', :comment =>
119
- %(Provides a timestamp that a POWDER Processor may use when
120
- assessing trustworthiness of a POWDER document. Informally, a
121
- POWDER Processor should normally ignore data in the document
122
- before the given date.)
123
- property :validuntil, :label => 'valid until', :comment =>
124
- %(Provides a timestamp that a POWDER Processor may use when
125
- assessing trustworthiness of a POWDER document. Informally, a
126
- POWDER Processor should normally ignore data in the document
127
- after the given date.)
22
+ property :authenticate,
23
+ comment: %(A pointer to a document that describes how Description Resources created by a FOAF Agent or a DC Terms Agent may be authenticated).freeze,
24
+ label: "authenticate".freeze,
25
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#discover).freeze,
26
+ type: "rdf:Property".freeze
27
+ property :certified,
28
+ comment: %(A property that takes a Boolean value to declare whether the author of the data certifies the described resource.).freeze,
29
+ label: "certified".freeze,
30
+ range: "xsd:boolean".freeze,
31
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#certification).freeze,
32
+ type: "rdf:Property".freeze
33
+ property :certifiedby,
34
+ comment: %(A property that links a resource to a POWDER document that certifies it.).freeze,
35
+ label: "certified by".freeze,
36
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#certification).freeze,
37
+ type: "rdf:Property".freeze
38
+ property :data_error,
39
+ comment: %(A property denoting a description of the specific error found in a given POWDER document.).freeze,
40
+ domain: "wdrs:Document".freeze,
41
+ label: "data error".freeze,
42
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#ppErrorhandling).freeze,
43
+ type: "rdf:Property".freeze
44
+ property :describedby,
45
+ comment: %(An RDF property to exactly match the describedby relationship type introduced in http://www.w3.org/TR/powder-dr/#assoc-linking and formally defined in appendix D of the same document, i.e. the relationship A 'describedby' B asserts that resource B provides a description of resource A. There are no constraints on the format or representation of either A or B, neither are there any further constraints on either resource.).freeze,
46
+ label: "described by".freeze,
47
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#semlink).freeze,
48
+ type: "rdf:Property".freeze
49
+ property :error_code,
50
+ comment: %(A property denoting the code of any error encountered by the POWDER processor.).freeze,
51
+ label: "error code".freeze,
52
+ range: "xsd:nonNegativeInteger".freeze,
53
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#ppErrorhandling).freeze,
54
+ type: "rdf:Property".freeze
55
+ property :hasIRI,
56
+ comment: %(This property is meant to be used in OWL2 instead of wdrs:matchesregex. It denotes the string data range corresponding to a set of IRIs.).freeze,
57
+ domain: "rdfs:Resource".freeze,
58
+ label: "has IRI".freeze,
59
+ range: "xsd:anyURI".freeze,
60
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-formal/#oxRegexSemantics).freeze,
61
+ type: "rdf:Property".freeze
62
+ property :issuedby,
63
+ comment: %(This property denotes the author of a POWDER document.).freeze,
64
+ label: "issued by".freeze,
65
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#line3).freeze,
66
+ type: "rdf:Property".freeze
67
+ property :logo,
68
+ comment: %(Points to a graphic summary for the resources in a given class. Typically, it is a logo denoting conformance of a given \(set of\) resource\(s\) to a given set of criteria.).freeze,
69
+ label: "logo".freeze,
70
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#line13).freeze,
71
+ type: "rdf:Property".freeze
72
+ property :matchesregex,
73
+ comment: %(This is the key 'include' property for IRI set definitions in POWDER-S. It is necessary to take account of the POWDER Semantic Extension to process this fully. The value is a regular expression that is matched against an IRI.).freeze,
74
+ domain: "rdfs:Resource".freeze,
75
+ label: "matches regular expression".freeze,
76
+ range: "xsd:string".freeze,
77
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-formal/#regexSemantics).freeze,
78
+ "rdfs:seeAlso" => %(http://www.w3.org/TR/xpath-functions/#regex-syntax).freeze,
79
+ type: "rdf:Property".freeze
80
+ property :notknownto,
81
+ comment: %(Property used in results returned from a POWDER Processor that has no data about the candidate resource. The value is the IRI of the processor.).freeze,
82
+ label: "not known to".freeze,
83
+ range: "wdrs:Processor".freeze,
84
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#powderprocessor).freeze,
85
+ type: "rdf:Property".freeze
86
+ property :notmatchesregex,
87
+ comment: %(This is the key 'exclude' property for IRI set definitions in POWDER-S. It is necessary to take account of the POWDER Semantic Extension to process this fully. The value is a regular expression that is matched against an IRI.).freeze,
88
+ domain: "rdfs:Resource".freeze,
89
+ label: "matches regular expression".freeze,
90
+ range: "xsd:string".freeze,
91
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-formal/#regexSemantics).freeze,
92
+ "rdfs:seeAlso" => %(http://www.w3.org/TR/xpath-functions/#regex-syntax).freeze,
93
+ type: "rdf:Property".freeze
94
+ property :proc_error,
95
+ comment: %(A property denoting a description of the specific software error.).freeze,
96
+ domain: "wdrs:Processor".freeze,
97
+ label: "processing error".freeze,
98
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#ppErrorhandling).freeze,
99
+ type: "rdf:Property".freeze
100
+ property :sha1sum,
101
+ comment: %(Links to a Base64-encoded binary SHA-1 hash of the described resource. May be used by POWDER Processors when assessing trustworthiness of a DR.).freeze,
102
+ label: "SHA-1 sum".freeze,
103
+ range: "xsd:base64Binary".freeze,
104
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#certification).freeze,
105
+ type: "rdf:Property".freeze
106
+ property :supportedby,
107
+ comment: %(A property that links a POWDER document to some other data source that supports the descriptions provided.).freeze,
108
+ label: "supported by".freeze,
109
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#supportedBy).freeze,
110
+ type: "rdf:Property".freeze
111
+ property :tag,
112
+ comment: %(Property linking to a free-text tag which may include spaces.).freeze,
113
+ label: "tag".freeze,
114
+ range: "xsd:token".freeze,
115
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#tags).freeze,
116
+ type: "rdf:Property".freeze
117
+ property :text,
118
+ comment: %(This property provides a summary of the descriptorset that it annotates, suitable for display to end users.).freeze,
119
+ label: "text that may be displayed".freeze,
120
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#line13).freeze,
121
+ type: "rdf:Property".freeze
122
+ property :validfrom,
123
+ comment: %(Provides a timestamp that a POWDER Processor may use when assessing trustworthiness of a POWDER document. Informally, a POWDER Processor should normally ignore data in the document before the given date.).freeze,
124
+ label: "valid from".freeze,
125
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#certification).freeze,
126
+ type: "rdf:Property".freeze
127
+ property :validuntil,
128
+ comment: %(Provides a timestamp that a POWDER Processor may use when assessing trustworthiness of a POWDER document. Informally, a POWDER Processor should normally ignore data in the document after the given date.).freeze,
129
+ label: "valid until".freeze,
130
+ "rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#certification).freeze,
131
+ type: "rdf:Property".freeze
128
132
  end
129
133
  end