rdf 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CREDITS +1 -0
- data/VERSION +1 -1
- data/lib/rdf.rb +10 -48
- data/lib/rdf/cli/vocab-loader.rb +78 -142
- data/lib/rdf/mixin/enumerable.rb +25 -0
- data/lib/rdf/mixin/mutable.rb +3 -0
- data/lib/rdf/model/graph.rb +1 -1
- data/lib/rdf/model/node.rb +25 -2
- data/lib/rdf/model/statement.rb +20 -12
- data/lib/rdf/model/uri.rb +11 -2
- data/lib/rdf/nquads.rb +8 -6
- data/lib/rdf/ntriples/writer.rb +14 -10
- data/lib/rdf/query/pattern.rb +10 -8
- data/lib/rdf/reader.rb +11 -2
- data/lib/rdf/repository.rb +1 -1
- data/lib/rdf/vocab.rb +396 -96
- data/lib/rdf/vocab/cc.rb +117 -25
- data/lib/rdf/vocab/cert.rb +230 -117
- data/lib/rdf/vocab/dc.rb +930 -233
- data/lib/rdf/vocab/dc11.rb +151 -37
- data/lib/rdf/vocab/doap.rb +326 -114
- data/lib/rdf/vocab/exif.rb +930 -533
- data/lib/rdf/vocab/foaf.rb +602 -346
- data/lib/rdf/vocab/geo.rb +139 -33
- data/lib/rdf/vocab/gr.rb +1551 -1084
- data/lib/rdf/vocab/ht.rb +319 -0
- data/lib/rdf/vocab/ical.rb +507 -349
- data/lib/rdf/vocab/ma.rb +504 -280
- data/lib/rdf/vocab/mo.rb +2425 -876
- data/lib/rdf/vocab/og.rb +178 -90
- data/lib/rdf/vocab/owl.rb +513 -219
- data/lib/rdf/vocab/prov.rb +1557 -479
- data/lib/rdf/vocab/rdfs.rb +107 -31
- data/lib/rdf/vocab/rdfv.rb +165 -0
- data/lib/rdf/vocab/rsa.rb +61 -18
- data/lib/rdf/vocab/rss.rb +55 -22
- data/lib/rdf/vocab/schema.rb +8590 -3995
- data/lib/rdf/vocab/sioc.rb +657 -218
- data/lib/rdf/vocab/skos.rb +227 -134
- data/lib/rdf/vocab/skosxl.rb +47 -33
- data/lib/rdf/vocab/vcard.rb +693 -327
- data/lib/rdf/vocab/void.rb +175 -132
- data/lib/rdf/vocab/vs.rb +27 -0
- data/lib/rdf/vocab/wdrs.rb +123 -119
- data/lib/rdf/vocab/wot.rb +155 -45
- data/lib/rdf/vocab/xhtml.rb +2 -1
- data/lib/rdf/vocab/xhv.rb +496 -231
- data/lib/rdf/vocab/xsd.rb +382 -53
- data/lib/rdf/writer.rb +8 -4
- metadata +5 -4
- data/lib/rdf/vocab/http.rb +0 -84
- data/lib/rdf/vocab/v.rb +0 -154
data/lib/rdf/vocab/void.rb
CHANGED
@@ -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
|
-
|
8
|
-
%(A set of RDF triples that are published, maintained or
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
%(A
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
%(A
|
23
|
-
|
24
|
-
|
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 :
|
32
|
-
%(
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
property :
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
property :
|
91
|
-
%(
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
property :
|
102
|
-
%(
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
property :
|
109
|
-
%(
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
property :
|
121
|
-
%(The
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
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
|
data/lib/rdf/vocab/vs.rb
ADDED
@@ -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
|
data/lib/rdf/vocab/wdrs.rb
CHANGED
@@ -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
|
-
|
8
|
-
%(A POWDER document.)
|
9
|
-
|
10
|
-
%(
|
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 :
|
14
|
-
%(
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
%(
|
23
|
-
|
24
|
-
property :certifiedby,
|
25
|
-
%(A property that links a resource to a POWDER document that
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
property :
|
47
|
-
%(This property denotes the
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
%(
|
76
|
-
|
77
|
-
property :
|
78
|
-
%(
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
%(
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
property :
|
92
|
-
%(
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
property :
|
109
|
-
%(
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
%(
|
117
|
-
|
118
|
-
property :
|
119
|
-
%(Provides a timestamp that a POWDER Processor may use when
|
120
|
-
|
121
|
-
|
122
|
-
|
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
|