rdf 1.1.4 → 1.1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rdf/cli/vocab-loader.rb +1 -1
- data/lib/rdf/query/solution.rb +1 -1
- data/lib/rdf/reader.rb +1 -0
- data/lib/rdf/util/cache.rb +21 -0
- data/lib/rdf/util/file.rb +3 -2
- data/lib/rdf/vocab.rb +73 -34
- data/lib/rdf/vocab/cert.rb +6 -6
- data/lib/rdf/vocab/dc.rb +39 -34
- data/lib/rdf/vocab/dc11.rb +7 -0
- data/lib/rdf/vocab/doap.rb +12 -12
- data/lib/rdf/vocab/exif.rb +35 -35
- data/lib/rdf/vocab/foaf.rb +83 -82
- data/lib/rdf/vocab/geo.rb +9 -2
- data/lib/rdf/vocab/gr.rb +38 -99
- data/lib/rdf/vocab/ht.rb +29 -28
- data/lib/rdf/vocab/ical.rb +96 -88
- data/lib/rdf/vocab/ma.rb +5 -7
- data/lib/rdf/vocab/mo.rb +729 -753
- data/lib/rdf/vocab/og.rb +1 -1
- data/lib/rdf/vocab/owl.rb +3 -3
- data/lib/rdf/vocab/prov.rb +77 -95
- data/lib/rdf/vocab/rdfs.rb +1 -0
- data/lib/rdf/vocab/rsa.rb +2 -2
- data/lib/rdf/vocab/schema.rb +461 -335
- data/lib/rdf/vocab/sioc.rb +23 -22
- data/lib/rdf/vocab/skos.rb +36 -36
- data/lib/rdf/vocab/skosxl.rb +7 -8
- data/lib/rdf/vocab/v.rb +382 -0
- data/lib/rdf/vocab/vcard.rb +173 -36
- data/lib/rdf/vocab/vmd.rb +382 -0
- data/lib/rdf/vocab/void.rb +16 -16
- data/lib/rdf/vocab/vs.rb +9 -9
- data/lib/rdf/vocab/wdrs.rb +11 -11
- data/lib/rdf/vocab/wot.rb +13 -12
- data/lib/rdf/vocab/xhv.rb +9 -9
- metadata +20 -4
data/lib/rdf/vocab/vs.rb
CHANGED
@@ -7,21 +7,21 @@ module RDF
|
|
7
7
|
# Property definitions
|
8
8
|
property :moreinfo,
|
9
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
10
|
label: "more info".freeze,
|
12
|
-
"rdfs:isDefinedBy" => %(
|
13
|
-
type: "rdf:Property".freeze
|
11
|
+
"rdfs:isDefinedBy" => %(vs:).freeze,
|
12
|
+
type: "rdf:Property".freeze,
|
13
|
+
"vs:term_status" => %(unstable).freeze
|
14
14
|
property :term_status,
|
15
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
16
|
label: "term status".freeze,
|
18
|
-
"rdfs:isDefinedBy" => %(
|
19
|
-
type: "rdf:Property".freeze
|
17
|
+
"rdfs:isDefinedBy" => %(vs:).freeze,
|
18
|
+
type: "rdf:Property".freeze,
|
19
|
+
"vs:term_status" => %(unstable).freeze
|
20
20
|
property :userdocs,
|
21
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
22
|
label: "user docs".freeze,
|
24
|
-
"rdfs:isDefinedBy" => %(
|
25
|
-
type: "rdf:Property".freeze
|
23
|
+
"rdfs:isDefinedBy" => %(vs:).freeze,
|
24
|
+
type: "rdf:Property".freeze,
|
25
|
+
"vs:term_status" => %(unstable).freeze
|
26
26
|
end
|
27
27
|
end
|
data/lib/rdf/vocab/wdrs.rb
CHANGED
@@ -34,7 +34,7 @@ module RDF
|
|
34
34
|
comment: %(A property that links a resource to a POWDER document that certifies it.).freeze,
|
35
35
|
label: "certified by".freeze,
|
36
36
|
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#certification).freeze,
|
37
|
-
type: "rdf:Property".freeze
|
37
|
+
type: ["rdf:Property".freeze, "owl:AnnotationProperty".freeze]
|
38
38
|
property :data_error,
|
39
39
|
comment: %(A property denoting a description of the specific error found in a given POWDER document.).freeze,
|
40
40
|
domain: "wdrs:Document".freeze,
|
@@ -58,17 +58,17 @@ module RDF
|
|
58
58
|
label: "has IRI".freeze,
|
59
59
|
range: "xsd:anyURI".freeze,
|
60
60
|
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-formal/#oxRegexSemantics).freeze,
|
61
|
-
type: "rdf:Property".freeze
|
61
|
+
type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
|
62
62
|
property :issuedby,
|
63
63
|
comment: %(This property denotes the author of a POWDER document.).freeze,
|
64
64
|
label: "issued by".freeze,
|
65
65
|
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#line3).freeze,
|
66
|
-
type: "rdf:Property".freeze
|
66
|
+
type: ["rdf:Property".freeze, "owl:AnnotationProperty".freeze]
|
67
67
|
property :logo,
|
68
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
69
|
label: "logo".freeze,
|
70
70
|
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#line13).freeze,
|
71
|
-
type: "rdf:Property".freeze
|
71
|
+
type: ["rdf:Property".freeze, "owl:AnnotationProperty".freeze]
|
72
72
|
property :matchesregex,
|
73
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
74
|
domain: "rdfs:Resource".freeze,
|
@@ -76,7 +76,7 @@ module RDF
|
|
76
76
|
range: "xsd:string".freeze,
|
77
77
|
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-formal/#regexSemantics).freeze,
|
78
78
|
"rdfs:seeAlso" => %(http://www.w3.org/TR/xpath-functions/#regex-syntax).freeze,
|
79
|
-
type: "rdf:Property".freeze
|
79
|
+
type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
|
80
80
|
property :notknownto,
|
81
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
82
|
label: "not known to".freeze,
|
@@ -90,7 +90,7 @@ module RDF
|
|
90
90
|
range: "xsd:string".freeze,
|
91
91
|
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-formal/#regexSemantics).freeze,
|
92
92
|
"rdfs:seeAlso" => %(http://www.w3.org/TR/xpath-functions/#regex-syntax).freeze,
|
93
|
-
type: "rdf:Property".freeze
|
93
|
+
type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
|
94
94
|
property :proc_error,
|
95
95
|
comment: %(A property denoting a description of the specific software error.).freeze,
|
96
96
|
domain: "wdrs:Processor".freeze,
|
@@ -107,27 +107,27 @@ module RDF
|
|
107
107
|
comment: %(A property that links a POWDER document to some other data source that supports the descriptions provided.).freeze,
|
108
108
|
label: "supported by".freeze,
|
109
109
|
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#supportedBy).freeze,
|
110
|
-
type: "rdf:Property".freeze
|
110
|
+
type: ["rdf:Property".freeze, "owl:AnnotationProperty".freeze]
|
111
111
|
property :tag,
|
112
112
|
comment: %(Property linking to a free-text tag which may include spaces.).freeze,
|
113
113
|
label: "tag".freeze,
|
114
114
|
range: "xsd:token".freeze,
|
115
115
|
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#tags).freeze,
|
116
|
-
type: "rdf:Property".freeze
|
116
|
+
type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
|
117
117
|
property :text,
|
118
118
|
comment: %(This property provides a summary of the descriptorset that it annotates, suitable for display to end users.).freeze,
|
119
119
|
label: "text that may be displayed".freeze,
|
120
120
|
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#line13).freeze,
|
121
|
-
type: "rdf:Property".freeze
|
121
|
+
type: ["rdf:Property".freeze, "owl:AnnotationProperty".freeze]
|
122
122
|
property :validfrom,
|
123
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
124
|
label: "valid from".freeze,
|
125
125
|
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#certification).freeze,
|
126
|
-
type: "rdf:Property".freeze
|
126
|
+
type: ["rdf:Property".freeze, "owl:AnnotationProperty".freeze]
|
127
127
|
property :validuntil,
|
128
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
129
|
label: "valid until".freeze,
|
130
130
|
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#certification).freeze,
|
131
|
-
type: "rdf:Property".freeze
|
131
|
+
type: ["rdf:Property".freeze, "owl:AnnotationProperty".freeze]
|
132
132
|
end
|
133
133
|
end
|
data/lib/rdf/vocab/wot.rb
CHANGED
@@ -8,23 +8,23 @@ module RDF
|
|
8
8
|
term :EncryptedDocument,
|
9
9
|
comment: %(An encrypted document intended for a set of recipients.).freeze,
|
10
10
|
label: "Encrypted Document".freeze,
|
11
|
-
"owl:disjointWith" => %(wot:Endorsement).freeze,
|
11
|
+
"owl:disjointWith" => [%(wot:Endorsement).freeze, %(wot:PubKey).freeze, %(wot:SigEvent).freeze, %(wot:User).freeze],
|
12
12
|
"rdfs:isDefinedBy" => %(wot:).freeze,
|
13
|
-
subClassOf: "foaf:Document".freeze,
|
13
|
+
subClassOf: ["foaf:Document".freeze, "http://xmlns.com/wordnet/1.6/Endorsement-4".freeze],
|
14
14
|
type: "owl:Class".freeze,
|
15
15
|
"vs:term_status" => %(unstable).freeze
|
16
16
|
term :Endorsement,
|
17
17
|
comment: %(An endorsement resource containing a detached ascii signature.).freeze,
|
18
18
|
label: "Endorsement".freeze,
|
19
|
-
"owl:disjointWith" => %(wot:EncryptedDocument).freeze,
|
19
|
+
"owl:disjointWith" => [%(wot:EncryptedDocument).freeze, %(wot:PubKey).freeze, %(wot:SigEvent).freeze, %(wot:User).freeze],
|
20
20
|
"rdfs:isDefinedBy" => %(wot:).freeze,
|
21
|
-
subClassOf: "foaf:Document".freeze,
|
21
|
+
subClassOf: ["foaf:Document".freeze, "http://xmlns.com/wordnet/1.6/Endorsement-4".freeze],
|
22
22
|
type: "owl:Class".freeze,
|
23
23
|
"vs:term_status" => %(unstable).freeze
|
24
24
|
term :PubKey,
|
25
25
|
comment: %(A class used to represent a PGP/GPG public key for a user \(an agent, person, group or organization\).).freeze,
|
26
26
|
label: "Public Key".freeze,
|
27
|
-
"owl:disjointWith" => %(wot:EncryptedDocument).freeze,
|
27
|
+
"owl:disjointWith" => [%(wot:EncryptedDocument).freeze, %(wot:Endorsement).freeze, %(wot:SigEvent).freeze, %(wot:User).freeze],
|
28
28
|
"rdfs:isDefinedBy" => %(wot:).freeze,
|
29
29
|
subClassOf: "http://xmlns.com/wordnet/1.6/Credential".freeze,
|
30
30
|
type: "owl:Class".freeze,
|
@@ -32,15 +32,15 @@ module RDF
|
|
32
32
|
term :SigEvent,
|
33
33
|
comment: %(An event describing the action of a public key being signed by some other public key.).freeze,
|
34
34
|
label: "Key Signing Event".freeze,
|
35
|
-
"owl:disjointWith" => %(wot:EncryptedDocument).freeze,
|
35
|
+
"owl:disjointWith" => [%(wot:EncryptedDocument).freeze, %(wot:Endorsement).freeze, %(wot:PubKey).freeze, %(wot:User).freeze],
|
36
36
|
"rdfs:isDefinedBy" => %(wot:).freeze,
|
37
|
-
subClassOf: "http://www.w3.org/2002/12/cal/ical#Vevent".freeze,
|
37
|
+
subClassOf: ["http://www.w3.org/2002/12/cal/ical#Vevent".freeze, "http://xmlns.com/wordnet/1.6/Event".freeze],
|
38
38
|
type: "owl:Class".freeze,
|
39
39
|
"vs:term_status" => %(testing).freeze
|
40
40
|
term :User,
|
41
41
|
comment: %(A user \(agent, person, group or organization\) of a PGP/GPG public key.).freeze,
|
42
42
|
label: "Key User".freeze,
|
43
|
-
"owl:disjointWith" => %(wot:EncryptedDocument).freeze,
|
43
|
+
"owl:disjointWith" => [%(wot:EncryptedDocument).freeze, %(wot:Endorsement).freeze, %(wot:PubKey).freeze, %(wot:SigEvent).freeze],
|
44
44
|
"rdfs:isDefinedBy" => %(wot:).freeze,
|
45
45
|
subClassOf: "foaf:Agent".freeze,
|
46
46
|
type: "owl:Class".freeze,
|
@@ -69,7 +69,7 @@ module RDF
|
|
69
69
|
label: "Encrypted by".freeze,
|
70
70
|
range: "wot:PubKey".freeze,
|
71
71
|
"rdfs:isDefinedBy" => %(wot:).freeze,
|
72
|
-
type: "owl:FunctionalProperty".freeze,
|
72
|
+
type: ["owl:FunctionalProperty".freeze, "owl:ObjectProperty".freeze],
|
73
73
|
"vs:term_status" => %(unstable).freeze
|
74
74
|
property :fingerprint,
|
75
75
|
comment: %(A public key hex fingerprint string \(40 digits, white space insignificant\).).freeze,
|
@@ -77,7 +77,7 @@ module RDF
|
|
77
77
|
label: "Fingerprint".freeze,
|
78
78
|
range: "xsd:string".freeze,
|
79
79
|
"rdfs:isDefinedBy" => %(wot:).freeze,
|
80
|
-
type: "owl:DatatypeProperty".freeze,
|
80
|
+
type: ["owl:DatatypeProperty".freeze, "owl:InverseFunctionalProperty".freeze],
|
81
81
|
"vs:term_status" => %(testing).freeze
|
82
82
|
property :hasKey,
|
83
83
|
comment: %(A property to link a PubKey from a User).freeze,
|
@@ -102,7 +102,7 @@ module RDF
|
|
102
102
|
label: "Identity".freeze,
|
103
103
|
range: "wot:User".freeze,
|
104
104
|
"rdfs:isDefinedBy" => %(wot:).freeze,
|
105
|
-
type: "owl:FunctionalProperty".freeze,
|
105
|
+
type: ["owl:FunctionalProperty".freeze, "owl:ObjectProperty".freeze],
|
106
106
|
"vs:term_status" => %(testing).freeze
|
107
107
|
property :length,
|
108
108
|
comment: %(A numeric string representing the length, in bytes, of a public key.).freeze,
|
@@ -142,7 +142,7 @@ module RDF
|
|
142
142
|
label: "Signer".freeze,
|
143
143
|
range: "wot:PubKey".freeze,
|
144
144
|
"rdfs:isDefinedBy" => %(wot:).freeze,
|
145
|
-
type: "owl:FunctionalProperty".freeze,
|
145
|
+
type: ["owl:FunctionalProperty".freeze, "owl:ObjectProperty".freeze],
|
146
146
|
"vs:term_status" => %(unstable).freeze
|
147
147
|
property :sigtime,
|
148
148
|
comment: %(The time \(of day\) of a public key signature event.).freeze,
|
@@ -158,6 +158,7 @@ module RDF
|
|
158
158
|
"dc11:date" => %(2004-02-23).freeze,
|
159
159
|
"dc11:description" => %(Web Of Trust \(wot\) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language.).freeze,
|
160
160
|
"dc11:title" => %(Web Of Trust vocabulary).freeze,
|
161
|
+
label: "".freeze,
|
161
162
|
"owl:imports" => [%(http://www.w3.org/2000/01/rdf-schema).freeze, %(http://www.w3.org/2002/07/owl).freeze],
|
162
163
|
"rdfs:seeAlso" => %(foaf:).freeze,
|
163
164
|
type: "owl:Ontology".freeze
|
data/lib/rdf/vocab/xhv.rb
CHANGED
@@ -352,6 +352,14 @@ module RDF
|
|
352
352
|
should be included in a summary of page features.).freeze,
|
353
353
|
label: "region".freeze,
|
354
354
|
type: "rdf:Property".freeze
|
355
|
+
property :role,
|
356
|
+
comment: %(role indicates the purpose of the
|
357
|
+
resource. See the XHTML Role
|
358
|
+
Vocabulary for roles in this vocabulary space, and XHTMLROLE for information on extending the
|
359
|
+
collection of roles. ).freeze,
|
360
|
+
label: "role".freeze,
|
361
|
+
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
362
|
+
type: ["rdf:Bag".freeze, "rdf:Property".freeze]
|
355
363
|
property :row,
|
356
364
|
comment: %(A row of
|
357
365
|
cells in a grid.).freeze,
|
@@ -489,16 +497,8 @@ module RDF
|
|
489
497
|
label: "relrev-properties".freeze,
|
490
498
|
"rdfs:member" => %(xhv:role-properties).freeze,
|
491
499
|
type: "rdf:Bag".freeze
|
492
|
-
term :role,
|
493
|
-
comment: %(role indicates the purpose of the
|
494
|
-
resource. See the XHTML Role
|
495
|
-
Vocabulary for roles in this vocabulary space, and XHTMLROLE for information on extending the
|
496
|
-
collection of roles. ).freeze,
|
497
|
-
label: "role".freeze,
|
498
|
-
"rdfs:member" => %(xhv:relrev-properties).freeze,
|
499
|
-
type: "rdf:Bag".freeze
|
500
500
|
term :"role-properties",
|
501
501
|
label: "role-properties".freeze,
|
502
|
-
type: "rdf:Bag".freeze
|
502
|
+
type: ["rdf:Bag".freeze, "rdfs:member".freeze]
|
503
503
|
end
|
504
504
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.4
|
4
|
+
version: 1.1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arto Bendiken
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-06-
|
13
|
+
date: 2014-06-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rdf-spec
|
@@ -88,14 +88,28 @@ dependencies:
|
|
88
88
|
requirements:
|
89
89
|
- - "~>"
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: '
|
91
|
+
version: '3.0'
|
92
92
|
type: :development
|
93
93
|
prerelease: false
|
94
94
|
version_requirements: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
96
|
- - "~>"
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version: '
|
98
|
+
version: '3.0'
|
99
|
+
- !ruby/object:Gem::Dependency
|
100
|
+
name: rspec-its
|
101
|
+
requirement: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - "~>"
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '1.0'
|
106
|
+
type: :development
|
107
|
+
prerelease: false
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - "~>"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '1.0'
|
99
113
|
- !ruby/object:Gem::Dependency
|
100
114
|
name: webmock
|
101
115
|
requirement: !ruby/object:Gem::Requirement
|
@@ -217,7 +231,9 @@ files:
|
|
217
231
|
- lib/rdf/vocab/sioc.rb
|
218
232
|
- lib/rdf/vocab/skos.rb
|
219
233
|
- lib/rdf/vocab/skosxl.rb
|
234
|
+
- lib/rdf/vocab/v.rb
|
220
235
|
- lib/rdf/vocab/vcard.rb
|
236
|
+
- lib/rdf/vocab/vmd.rb
|
221
237
|
- lib/rdf/vocab/void.rb
|
222
238
|
- lib/rdf/vocab/vs.rb
|
223
239
|
- lib/rdf/vocab/wdrs.rb
|