rdf-vocab 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -4
- data/VERSION +1 -1
- data/lib/rdf/vocab/acl.rb +91 -89
- data/lib/rdf/vocab/as.rb +624 -622
- data/lib/rdf/vocab/bf2.rb +2241 -2239
- data/lib/rdf/vocab/bibframe.rb +2241 -2239
- data/lib/rdf/vocab/bibo.rb +943 -941
- data/lib/rdf/vocab/cc.rb +102 -100
- data/lib/rdf/vocab/cert.rb +107 -105
- data/lib/rdf/vocab/cnt.rb +92 -90
- data/lib/rdf/vocab/crm.rb +1793 -1791
- data/lib/rdf/vocab/datacite.rb +261 -263
- data/lib/rdf/vocab/dbo.rb +4307 -4305
- data/lib/rdf/vocab/dc.rb +665 -663
- data/lib/rdf/vocab/dc11.rb +109 -107
- data/lib/rdf/vocab/dcat.rb +373 -356
- data/lib/rdf/vocab/dcmitype.rb +91 -89
- data/lib/rdf/vocab/disco.rb +348 -346
- data/lib/rdf/vocab/doap.rb +304 -302
- data/lib/rdf/vocab/dwc.rb +2244 -2242
- data/lib/rdf/vocab/earl.rb +146 -144
- data/lib/rdf/vocab/ebucore.rb +4945 -4941
- data/lib/rdf/vocab/edm.rb +310 -308
- data/lib/rdf/vocab/exif.rb +777 -775
- data/lib/rdf/vocab/extensions.rb +2 -2
- data/lib/rdf/vocab/fcrepo4.rb +307 -305
- data/lib/rdf/vocab/foaf.rb +525 -523
- data/lib/rdf/vocab/geo.rb +34 -32
- data/lib/rdf/vocab/geojson.rb +66 -64
- data/lib/rdf/vocab/geonames.rb +3656 -3654
- data/lib/rdf/vocab/gr.rb +1204 -1202
- data/lib/rdf/vocab/gs1.rb +5881 -5879
- data/lib/rdf/vocab/ht.rb +194 -192
- data/lib/rdf/vocab/hydra.rb +439 -437
- data/lib/rdf/vocab/iana.rb +215 -213
- data/lib/rdf/vocab/ical.rb +726 -724
- data/lib/rdf/vocab/identifiers.rb +219 -217
- data/lib/rdf/vocab/iiif.rb +132 -130
- data/lib/rdf/vocab/jsonld.rb +205 -203
- data/lib/rdf/vocab/ldp.rb +193 -191
- data/lib/rdf/vocab/lrmi.rb +188 -186
- data/lib/rdf/vocab/ma.rb +318 -316
- data/lib/rdf/vocab/mads.rb +670 -668
- data/lib/rdf/vocab/marcrelators.rb +543 -541
- data/lib/rdf/vocab/mo.rb +1823 -1821
- data/lib/rdf/vocab/mods.rb +636 -634
- data/lib/rdf/vocab/nfo.rb +482 -480
- data/lib/rdf/vocab/oa.rb +333 -331
- data/lib/rdf/vocab/og.rb +198 -196
- data/lib/rdf/vocab/ogc.rb +43 -41
- data/lib/rdf/vocab/ore.rb +79 -77
- data/lib/rdf/vocab/org.rb +322 -320
- data/lib/rdf/vocab/pcdm.rb +73 -71
- data/lib/rdf/vocab/pplan.rb +97 -95
- data/lib/rdf/vocab/premis.rb +903 -901
- data/lib/rdf/vocab/premiseventtype.rb +143 -141
- data/lib/rdf/vocab/prov.rb +1360 -1358
- data/lib/rdf/vocab/ptr.rb +147 -145
- data/lib/rdf/vocab/rdau.rb +9447 -9438
- data/lib/rdf/vocab/rightsstatements.rb +123 -121
- data/lib/rdf/vocab/rsa.rb +44 -42
- data/lib/rdf/vocab/rss.rb +46 -44
- data/lib/rdf/vocab/schema.rb +14700 -14698
- data/lib/rdf/vocab/schemas.rb +14700 -14698
- data/lib/rdf/vocab/sd.rb +165 -163
- data/lib/rdf/vocab/sh.rb +1096 -1094
- data/lib/rdf/vocab/sioc.rb +615 -613
- data/lib/rdf/vocab/siocservices.rb +49 -47
- data/lib/rdf/vocab/sioctypes.rb +224 -222
- data/lib/rdf/vocab/skos.rb +202 -200
- data/lib/rdf/vocab/skosxl.rb +51 -49
- data/lib/rdf/vocab/v.rb +233 -231
- data/lib/rdf/vocab/vcard.rb +776 -774
- data/lib/rdf/vocab/vmd.rb +233 -231
- data/lib/rdf/vocab/void.rb +145 -143
- data/lib/rdf/vocab/vs.rb +27 -25
- data/lib/rdf/vocab/wdrs.rb +112 -110
- data/lib/rdf/vocab/wot.rb +135 -133
- data/lib/rdf/vocab/xhtml.rb +4 -2
- data/lib/rdf/vocab/xhv.rb +208 -206
- data/lib/rdf/vocab/xkos.rb +220 -218
- data/lib/rdf/vocab.rb +2 -0
- metadata +14 -3
data/lib/rdf/vocab/cc.rb
CHANGED
@@ -3,144 +3,146 @@
|
|
3
3
|
# This file generated automatically using rdf vocabulary format from http://creativecommons.org/ns#
|
4
4
|
require 'rdf'
|
5
5
|
module RDF::Vocab
|
6
|
+
# Vocabulary for <http://creativecommons.org/ns#>
|
7
|
+
# @!visibility private
|
6
8
|
CC = Class.new(RDF::StrictVocabulary("http://creativecommons.org/ns#")) do
|
7
9
|
|
8
10
|
# Ontology definition
|
9
11
|
ontology :"http://creativecommons.org/ns#",
|
10
|
-
"http://www.w3.org/1999/xhtml/vocab#license": "https://creativecommons.org/licenses/by/4.0/"
|
11
|
-
"http://www.w3.org/1999/xhtml/vocab#stylesheet": "https://creativecommons.org/includes/bootstrap.min.css"
|
12
|
+
"http://www.w3.org/1999/xhtml/vocab#license": "https://creativecommons.org/licenses/by/4.0/",
|
13
|
+
"http://www.w3.org/1999/xhtml/vocab#stylesheet": "https://creativecommons.org/includes/bootstrap.min.css"
|
12
14
|
|
13
15
|
# Class definitions
|
14
16
|
term :Jurisdiction,
|
15
|
-
comment: "the legal jurisdiction\nof a license"
|
16
|
-
label: "Jurisdiction"
|
17
|
-
type: "http://www.w3.org/2000/01/rdf-schema#Class"
|
17
|
+
comment: {"en-us": "the legal jurisdiction\nof a license"},
|
18
|
+
label: {"en-us": "Jurisdiction"},
|
19
|
+
type: "http://www.w3.org/2000/01/rdf-schema#Class"
|
18
20
|
term :License,
|
19
|
-
comment: "a set of\nrequests/permissions to users of a Work, e.g. a\ncopyright license, the public domain, information\nfor distributors"
|
20
|
-
label: "License"
|
21
|
-
subClassOf: "http://purl.org/dc/terms/LicenseDocument"
|
22
|
-
type: "http://www.w3.org/2000/01/rdf-schema#Class"
|
21
|
+
comment: {"en-us": "a set of\nrequests/permissions to users of a Work, e.g. a\ncopyright license, the public domain, information\nfor distributors"},
|
22
|
+
label: {"en-us": "License"},
|
23
|
+
subClassOf: "http://purl.org/dc/terms/LicenseDocument",
|
24
|
+
type: "http://www.w3.org/2000/01/rdf-schema#Class"
|
23
25
|
term :Permission,
|
24
|
-
comment: "an action that may or\nmay not be allowed or desired"
|
25
|
-
label: "Permission"
|
26
|
-
type: "http://www.w3.org/2000/01/rdf-schema#Class"
|
26
|
+
comment: {"en-us": "an action that may or\nmay not be allowed or desired"},
|
27
|
+
label: {"en-us": "Permission"},
|
28
|
+
type: "http://www.w3.org/2000/01/rdf-schema#Class"
|
27
29
|
term :Prohibition,
|
28
|
-
comment: "something you may be\nasked not to do"
|
29
|
-
label: "Prohibition"
|
30
|
-
type: "http://www.w3.org/2000/01/rdf-schema#Class"
|
30
|
+
comment: {"en-us": "something you may be\nasked not to do"},
|
31
|
+
label: {"en-us": "Prohibition"},
|
32
|
+
type: "http://www.w3.org/2000/01/rdf-schema#Class"
|
31
33
|
term :Requirement,
|
32
|
-
comment: "an action that may or\nmay not be requested of you"
|
33
|
-
label: "Requirement"
|
34
|
-
type: "http://www.w3.org/2000/01/rdf-schema#Class"
|
34
|
+
comment: {"en-us": "an action that may or\nmay not be requested of you"},
|
35
|
+
label: {"en-us": "Requirement"},
|
36
|
+
type: "http://www.w3.org/2000/01/rdf-schema#Class"
|
35
37
|
term :Work,
|
36
|
-
comment: "a potentially\ncopyrightable work"
|
37
|
-
label: "Work"
|
38
|
-
type: "http://www.w3.org/2000/01/rdf-schema#Class"
|
38
|
+
comment: {"en-us": "a potentially\ncopyrightable work"},
|
39
|
+
label: {"en-us": "Work"},
|
40
|
+
type: "http://www.w3.org/2000/01/rdf-schema#Class"
|
39
41
|
|
40
42
|
# Property definitions
|
41
43
|
property :attributionName,
|
42
|
-
domain: "http://creativecommons.org/ns#Work"
|
43
|
-
range: "http://www.w3.org/2000/01/rdf-schema#Literal"
|
44
|
-
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
44
|
+
domain: "http://creativecommons.org/ns#Work",
|
45
|
+
range: "http://www.w3.org/2000/01/rdf-schema#Literal",
|
46
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
45
47
|
property :attributionURL,
|
46
|
-
domain: "http://creativecommons.org/ns#Work"
|
47
|
-
range: "http://www.w3.org/2000/01/rdf-schema#Resource"
|
48
|
-
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
48
|
+
domain: "http://creativecommons.org/ns#Work",
|
49
|
+
range: "http://www.w3.org/2000/01/rdf-schema#Resource",
|
50
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
49
51
|
property :deprecatedOn,
|
50
|
-
domain: "http://creativecommons.org/ns#License"
|
51
|
-
label: "deprecated\non"
|
52
|
-
range: "http://www.w3.org/2001/XMLSchema-datatypes#date"
|
53
|
-
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
52
|
+
domain: "http://creativecommons.org/ns#License",
|
53
|
+
label: {"en-us": "deprecated\non"},
|
54
|
+
range: "http://www.w3.org/2001/XMLSchema-datatypes#date",
|
55
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
54
56
|
property :jurisdiction,
|
55
|
-
domain: "http://creativecommons.org/ns#License"
|
56
|
-
label: "jurisdiction"
|
57
|
-
range: "http://creativecommons.org/ns#Jurisdiction"
|
58
|
-
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
57
|
+
domain: "http://creativecommons.org/ns#License",
|
58
|
+
label: {"en-us": "jurisdiction"},
|
59
|
+
range: "http://creativecommons.org/ns#Jurisdiction",
|
60
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
59
61
|
property :legalcode,
|
60
|
-
domain: "http://creativecommons.org/ns#License"
|
61
|
-
range: "http://www.w3.org/2000/01/rdf-schema#Resource"
|
62
|
-
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
62
|
+
domain: "http://creativecommons.org/ns#License",
|
63
|
+
range: "http://www.w3.org/2000/01/rdf-schema#Resource",
|
64
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
63
65
|
property :license,
|
64
|
-
domain: "http://creativecommons.org/ns#Work"
|
65
|
-
"http://www.w3.org/2002/07/owl#sameAs": "http://www.w3.org/1999/xhtml/vocab#license"
|
66
|
-
label: "has\nlicense"
|
67
|
-
range: "http://creativecommons.org/ns#License"
|
68
|
-
subPropertyOf: "http://purl.org/dc/terms/license"
|
69
|
-
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
66
|
+
domain: "http://creativecommons.org/ns#Work",
|
67
|
+
"http://www.w3.org/2002/07/owl#sameAs": "http://www.w3.org/1999/xhtml/vocab#license",
|
68
|
+
label: {"en-us": "has\nlicense"},
|
69
|
+
range: "http://creativecommons.org/ns#License",
|
70
|
+
subPropertyOf: "http://purl.org/dc/terms/license",
|
71
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
70
72
|
property :morePermissions,
|
71
|
-
domain: "http://creativecommons.org/ns#Work"
|
72
|
-
range: "http://www.w3.org/2000/01/rdf-schema#Resource"
|
73
|
-
subPropertyOf: "http://purl.org/dc/terms/relation"
|
74
|
-
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
73
|
+
domain: "http://creativecommons.org/ns#Work",
|
74
|
+
range: "http://www.w3.org/2000/01/rdf-schema#Resource",
|
75
|
+
subPropertyOf: "http://purl.org/dc/terms/relation",
|
76
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
75
77
|
property :permits,
|
76
|
-
domain: "http://creativecommons.org/ns#License"
|
77
|
-
label: "permits"
|
78
|
-
range: "http://creativecommons.org/ns#Permission"
|
79
|
-
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
78
|
+
domain: "http://creativecommons.org/ns#License",
|
79
|
+
label: {"en-us": "permits"},
|
80
|
+
range: "http://creativecommons.org/ns#Permission",
|
81
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
80
82
|
property :prohibits,
|
81
|
-
domain: "http://creativecommons.org/ns#License"
|
82
|
-
label: "prohibits"
|
83
|
-
range: "http://creativecommons.org/ns#Prohibition"
|
84
|
-
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
83
|
+
domain: "http://creativecommons.org/ns#License",
|
84
|
+
label: {"en-us": "prohibits"},
|
85
|
+
range: "http://creativecommons.org/ns#Prohibition",
|
86
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
85
87
|
property :requires,
|
86
|
-
domain: "http://creativecommons.org/ns#License"
|
87
|
-
label: "requires"
|
88
|
-
range: "http://creativecommons.org/ns#Requirement"
|
89
|
-
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
88
|
+
domain: "http://creativecommons.org/ns#License",
|
89
|
+
label: {"en-us": "requires"},
|
90
|
+
range: "http://creativecommons.org/ns#Requirement",
|
91
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
90
92
|
property :useGuidelines,
|
91
|
-
domain: "http://creativecommons.org/ns#Work"
|
92
|
-
range: "http://www.w3.org/2000/01/rdf-schema#Resource"
|
93
|
-
subPropertyOf: "http://purl.org/dc/terms/relation"
|
94
|
-
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
93
|
+
domain: "http://creativecommons.org/ns#Work",
|
94
|
+
range: "http://www.w3.org/2000/01/rdf-schema#Resource",
|
95
|
+
subPropertyOf: "http://purl.org/dc/terms/relation",
|
96
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
95
97
|
|
96
98
|
# Extra definitions
|
97
99
|
term :Attribution,
|
98
|
-
comment: "credit be given to\ncopyright holder and/or author"
|
99
|
-
label: "Attribution"
|
100
|
-
type: "http://creativecommons.org/ns#Requirement"
|
100
|
+
comment: {"en-us": "credit be given to\ncopyright holder and/or author"},
|
101
|
+
label: {"en-us": "Attribution"},
|
102
|
+
type: "http://creativecommons.org/ns#Requirement"
|
101
103
|
term :CommercialUse,
|
102
|
-
comment: "exercising rights for\ncommercial purposes"
|
103
|
-
label: "Commercial Use"
|
104
|
-
type: "http://creativecommons.org/ns#Prohibition"
|
104
|
+
comment: {"en-us": "exercising rights for\ncommercial purposes"},
|
105
|
+
label: {"en-us": "Commercial Use"},
|
106
|
+
type: "http://creativecommons.org/ns#Prohibition"
|
105
107
|
term :Copyleft,
|
106
|
-
comment: "derivative and\ncombined works must be licensed under specified\nterms, similar to those on the original\nwork"
|
107
|
-
label: "Copyleft"
|
108
|
-
type: "http://creativecommons.org/ns#Requirement"
|
108
|
+
comment: {"en-us": "derivative and\ncombined works must be licensed under specified\nterms, similar to those on the original\nwork"},
|
109
|
+
label: {"en-us": "Copyleft"},
|
110
|
+
type: "http://creativecommons.org/ns#Requirement"
|
109
111
|
term :DerivativeWorks,
|
110
|
-
comment: "distribution of\nderivative works"
|
111
|
-
label: "Derivative Works"
|
112
|
-
type: "http://creativecommons.org/ns#Permission"
|
112
|
+
comment: {"en-us": "distribution of\nderivative works"},
|
113
|
+
label: {"en-us": "Derivative Works"},
|
114
|
+
type: "http://creativecommons.org/ns#Permission"
|
113
115
|
term :Distribution,
|
114
|
-
comment: "distribution, public\ndisplay, and publicly performance"
|
115
|
-
label: "Distribution"
|
116
|
-
type: "http://creativecommons.org/ns#Permission"
|
116
|
+
comment: {"en-us": "distribution, public\ndisplay, and publicly performance"},
|
117
|
+
label: {"en-us": "Distribution"},
|
118
|
+
type: "http://creativecommons.org/ns#Permission"
|
117
119
|
term :HighIncomeNationUse,
|
118
|
-
comment: "use in a\nnon-developing country"
|
119
|
-
label: "High Income Nation Use"
|
120
|
-
type: "http://creativecommons.org/ns#Prohibition"
|
120
|
+
comment: {"en-us": "use in a\nnon-developing country"},
|
121
|
+
label: {"en-us": "High Income Nation Use"},
|
122
|
+
type: "http://creativecommons.org/ns#Prohibition"
|
121
123
|
term :LesserCopyleft,
|
122
|
-
comment: "derivative works must\nbe licensed under specified terms, with at least\nthe same conditions as the original work;\ncombinations with the work may be licensed under\ndifferent terms"
|
123
|
-
label: "Lesser Copyleft"
|
124
|
-
type: "http://creativecommons.org/ns#Requirement"
|
124
|
+
comment: {"en-us": "derivative works must\nbe licensed under specified terms, with at least\nthe same conditions as the original work;\ncombinations with the work may be licensed under\ndifferent terms"},
|
125
|
+
label: {"en-us": "Lesser Copyleft"},
|
126
|
+
type: "http://creativecommons.org/ns#Requirement"
|
125
127
|
term :Notice,
|
126
|
-
comment: "copyright and license\nnotices be kept intact"
|
127
|
-
label: "Notice"
|
128
|
-
type: "http://creativecommons.org/ns#Requirement"
|
128
|
+
comment: {"en-us": "copyright and license\nnotices be kept intact"},
|
129
|
+
label: {"en-us": "Notice"},
|
130
|
+
type: "http://creativecommons.org/ns#Requirement"
|
129
131
|
term :Reproduction,
|
130
|
-
comment: "making multiple\ncopies"
|
131
|
-
label: "Reproduction"
|
132
|
-
type: "http://creativecommons.org/ns#Permission"
|
132
|
+
comment: {"en-us": "making multiple\ncopies"},
|
133
|
+
label: {"en-us": "Reproduction"},
|
134
|
+
type: "http://creativecommons.org/ns#Permission"
|
133
135
|
term :ShareAlike,
|
134
|
-
comment: "derivative works be\nlicensed under the same terms or compatible terms\nas the original work"
|
135
|
-
label: "Share Alike"
|
136
|
-
type: "http://creativecommons.org/ns#Requirement"
|
136
|
+
comment: {"en-us": "derivative works be\nlicensed under the same terms or compatible terms\nas the original work"},
|
137
|
+
label: {"en-us": "Share Alike"},
|
138
|
+
type: "http://creativecommons.org/ns#Requirement"
|
137
139
|
term :Sharing,
|
138
|
-
comment: "permits commercial\nderivatives, but only non-commercial\ndistribution"
|
139
|
-
label: "Sharing"
|
140
|
-
type: "http://creativecommons.org/ns#Permission"
|
140
|
+
comment: {"en-us": "permits commercial\nderivatives, but only non-commercial\ndistribution"},
|
141
|
+
label: {"en-us": "Sharing"},
|
142
|
+
type: "http://creativecommons.org/ns#Permission"
|
141
143
|
term :SourceCode,
|
142
|
-
comment: "source code (the\npreferred form for making modifications) must be\nprovided when exercising some rights granted by\nthe license."
|
143
|
-
label: "Source Code"
|
144
|
-
type: "http://creativecommons.org/ns#Requirement"
|
144
|
+
comment: {"en-us": "source code (the\npreferred form for making modifications) must be\nprovided when exercising some rights granted by\nthe license."},
|
145
|
+
label: {"en-us": "Source Code"},
|
146
|
+
type: "http://creativecommons.org/ns#Requirement"
|
145
147
|
end
|
146
148
|
end
|
data/lib/rdf/vocab/cert.rb
CHANGED
@@ -3,135 +3,137 @@
|
|
3
3
|
# This file generated automatically using rdf vocabulary format from http://www.w3.org/ns/auth/cert#
|
4
4
|
require 'rdf'
|
5
5
|
module RDF::Vocab
|
6
|
+
# Vocabulary for <http://www.w3.org/ns/auth/cert#>
|
7
|
+
# @!visibility private
|
6
8
|
CERT = Class.new(RDF::StrictVocabulary("http://www.w3.org/ns/auth/cert#")) do
|
7
9
|
|
8
10
|
# Ontology definition
|
9
11
|
ontology :"http://www.w3.org/ns/auth/cert#",
|
10
|
-
comment: "\n Ontology for Certificates and crypto stuff.\n This is in development. \n Some other ontologies to look at:\n * http://www.w3.org/2000/10/swap/crypto\n + has cwm builtins: http://www.w3.org/2000/10/swap/doc/Trust\n - a bit old perhaps. It imports daml+oil\n - would help to be more completely specified\n - uses literals as subjects a little liberally, which makes this a \n bit difficult to work with frameworks that don't permit this\n * http://xmlns.com/wot/0.1/\n - limited very much to PGP (though on can map PGP to X509)\n - a little coarse grained, mixes up the PGP certificate with the PGP\n public key\n *\n Todo: \n - add some classes and relations for DSA\n - should this all be in one file? Or should this be cut up a little? Say one file for the general CERT ontology, and then files for RSA, DSA, PGP, etc... Or perhaps it does not really matter?\n - expand more on the certification side of things\n - verify this by security experts\n - owl2 has some constructs for combined inverse functional properties. \n This may be useful to use in defining an RSA key which is identified\n by two numbers.\n - also create html version of the spec by using this as a template.\n - should comments such as this be in html?\n "
|
11
|
-
"http://purl.org/dc/terms/created": "2008-11-13"
|
12
|
-
"http://www.w3.org/2000/01/rdf-schema#seeAlso": ["http://lists.foaf-project.org/mailman/listinfo/foaf-protocols"
|
13
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable"
|
14
|
-
"http://xmlns.com/foaf/0.1/maker": "http://bblfish.net/people/henry/card#me"
|
15
|
-
label: "Ontology for Certificates and crypto stuff."
|
16
|
-
type: "http://www.w3.org/2002/07/owl#Ontology"
|
12
|
+
comment: {en: "\n Ontology for Certificates and crypto stuff.\n This is in development. \n Some other ontologies to look at:\n * http://www.w3.org/2000/10/swap/crypto\n + has cwm builtins: http://www.w3.org/2000/10/swap/doc/Trust\n - a bit old perhaps. It imports daml+oil\n - would help to be more completely specified\n - uses literals as subjects a little liberally, which makes this a \n bit difficult to work with frameworks that don't permit this\n * http://xmlns.com/wot/0.1/\n - limited very much to PGP (though on can map PGP to X509)\n - a little coarse grained, mixes up the PGP certificate with the PGP\n public key\n *\n Todo: \n - add some classes and relations for DSA\n - should this all be in one file? Or should this be cut up a little? Say one file for the general CERT ontology, and then files for RSA, DSA, PGP, etc... Or perhaps it does not really matter?\n - expand more on the certification side of things\n - verify this by security experts\n - owl2 has some constructs for combined inverse functional properties. \n This may be useful to use in defining an RSA key which is identified\n by two numbers.\n - also create html version of the spec by using this as a template.\n - should comments such as this be in html?\n "},
|
13
|
+
"http://purl.org/dc/terms/created": "2008-11-13",
|
14
|
+
"http://www.w3.org/2000/01/rdf-schema#seeAlso": ["http://lists.foaf-project.org/mailman/listinfo/foaf-protocols", "http://www.w3.org/ns/auth/X509Uml.svg", "http://www.w3.org/ns/auth/rsa"],
|
15
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable",
|
16
|
+
"http://xmlns.com/foaf/0.1/maker": "http://bblfish.net/people/henry/card#me",
|
17
|
+
label: "Ontology for Certificates and crypto stuff.",
|
18
|
+
type: "http://www.w3.org/2002/07/owl#Ontology"
|
17
19
|
|
18
20
|
# Class definitions
|
19
21
|
term :Certificate,
|
20
|
-
comment: "A certificate is a Document that is signed.\n As explained here http://www.pgpi.org/doc/pgpintro/#p16\n 'A digital certificate consists of three things:\n * A public key.\n * Certificate information. ('Identity' information about the \n user, such as name, user ID, and so on.)\n * One or more digital signatures.'\n "
|
21
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable"
|
22
|
-
isDefinedBy: "http://www.w3.org/ns/auth/cert#"
|
23
|
-
label: "Certificate"
|
24
|
-
subClassOf: "http://xmlns.com/foaf/0.1/Document"
|
25
|
-
type: "http://www.w3.org/2002/07/owl#Class"
|
22
|
+
comment: {en: "A certificate is a Document that is signed.\n As explained here http://www.pgpi.org/doc/pgpintro/#p16\n 'A digital certificate consists of three things:\n * A public key.\n * Certificate information. ('Identity' information about the \n user, such as name, user ID, and so on.)\n * One or more digital signatures.'\n "},
|
23
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable",
|
24
|
+
isDefinedBy: "http://www.w3.org/ns/auth/cert#",
|
25
|
+
label: {en: "Certificate"},
|
26
|
+
subClassOf: "http://xmlns.com/foaf/0.1/Document",
|
27
|
+
type: "http://www.w3.org/2002/07/owl#Class"
|
26
28
|
term :Key,
|
27
|
-
comment: "the class of keys"
|
28
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable"
|
29
|
-
isDefinedBy: "http://www.w3.org/ns/auth/cert#"
|
30
|
-
type: "http://www.w3.org/2002/07/owl#Class"
|
29
|
+
comment: {en: "the class of keys"},
|
30
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable",
|
31
|
+
isDefinedBy: "http://www.w3.org/ns/auth/cert#",
|
32
|
+
type: "http://www.w3.org/2002/07/owl#Class"
|
31
33
|
term :PGPCertificate,
|
32
|
-
comment: "the class of PGP Certificates"
|
33
|
-
equivalentClass: "http://xmlns.com/wot/0.1/PubKey"
|
34
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable"
|
35
|
-
isDefinedBy: "http://www.w3.org/ns/auth/cert#"
|
36
|
-
label: "PGPCertificate"
|
37
|
-
subClassOf: "http://www.w3.org/ns/auth/cert#Certificate"
|
38
|
-
type: "http://www.w3.org/2002/07/owl#Class"
|
34
|
+
comment: {en: "the class of PGP Certificates"},
|
35
|
+
equivalentClass: "http://xmlns.com/wot/0.1/PubKey",
|
36
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable",
|
37
|
+
isDefinedBy: "http://www.w3.org/ns/auth/cert#",
|
38
|
+
label: "PGPCertificate",
|
39
|
+
subClassOf: "http://www.w3.org/ns/auth/cert#Certificate",
|
40
|
+
type: "http://www.w3.org/2002/07/owl#Class"
|
39
41
|
term :PrivateKey,
|
40
|
-
comment: "Private Key"
|
41
|
-
isDefinedBy: "http://www.w3.org/ns/auth/cert#"
|
42
|
-
label: "PrivateKey"
|
43
|
-
subClassOf: "http://www.w3.org/ns/auth/cert#Key"
|
44
|
-
type: "http://www.w3.org/2002/07/owl#Class"
|
42
|
+
comment: {en: "Private Key"},
|
43
|
+
isDefinedBy: "http://www.w3.org/ns/auth/cert#",
|
44
|
+
label: "PrivateKey",
|
45
|
+
subClassOf: "http://www.w3.org/ns/auth/cert#Key",
|
46
|
+
type: "http://www.w3.org/2002/07/owl#Class"
|
45
47
|
term :PublicKey,
|
46
|
-
comment: "Public Key"
|
47
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable"
|
48
|
-
isDefinedBy: "http://www.w3.org/ns/auth/cert#"
|
49
|
-
label: "PublicKey"
|
50
|
-
subClassOf: "http://www.w3.org/ns/auth/cert#Key"
|
51
|
-
type: "http://www.w3.org/2002/07/owl#Class"
|
48
|
+
comment: "Public Key",
|
49
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable",
|
50
|
+
isDefinedBy: "http://www.w3.org/ns/auth/cert#",
|
51
|
+
label: "PublicKey",
|
52
|
+
subClassOf: "http://www.w3.org/ns/auth/cert#Key",
|
53
|
+
type: "http://www.w3.org/2002/07/owl#Class"
|
52
54
|
term :RSAKey,
|
53
|
-
comment: "\n The union of the public and private components of an RSAKey.\n Usually those pieces are not kept together\n "
|
54
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable"
|
55
|
-
isDefinedBy: "http://www.w3.org/ns/auth/cert#"
|
56
|
-
label: "RSA Key"
|
57
|
-
subClassOf: "http://www.w3.org/ns/auth/cert#Key"
|
58
|
-
type: "http://www.w3.org/2002/07/owl#Class"
|
55
|
+
comment: {en: "\n The union of the public and private components of an RSAKey.\n Usually those pieces are not kept together\n "},
|
56
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable",
|
57
|
+
isDefinedBy: "http://www.w3.org/ns/auth/cert#",
|
58
|
+
label: {en: "RSA Key"},
|
59
|
+
subClassOf: "http://www.w3.org/ns/auth/cert#Key",
|
60
|
+
type: "http://www.w3.org/2002/07/owl#Class"
|
59
61
|
term :RSAPublicKey,
|
60
|
-
comment: "\n The RSA public key. Padded message m are encrypted by applying the function\n modulus(power(m,exponent),modulus)\n "
|
61
|
-
"http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://en.wikipedia.org/wiki/RSA"
|
62
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable"
|
63
|
-
isDefinedBy: "http://www.w3.org/ns/auth/cert#"
|
64
|
-
label: "RSA Public Key"
|
65
|
-
subClassOf: ["http://www.w3.org/ns/auth/cert#PublicKey"
|
66
|
-
type: "http://www.w3.org/2002/07/owl#Class"
|
62
|
+
comment: {en: "\n The RSA public key. Padded message m are encrypted by applying the function\n modulus(power(m,exponent),modulus)\n "},
|
63
|
+
"http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://en.wikipedia.org/wiki/RSA",
|
64
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable",
|
65
|
+
isDefinedBy: "http://www.w3.org/ns/auth/cert#",
|
66
|
+
label: {en: "RSA Public Key"},
|
67
|
+
subClassOf: ["http://www.w3.org/ns/auth/cert#PublicKey", "http://www.w3.org/ns/auth/cert#RSAKey"],
|
68
|
+
type: "http://www.w3.org/2002/07/owl#Class"
|
67
69
|
term :Signature,
|
68
|
-
comment: "the class of signtatures"
|
69
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable"
|
70
|
-
isDefinedBy: "http://www.w3.org/ns/auth/cert#"
|
71
|
-
label: "Signature"
|
72
|
-
type: "http://www.w3.org/2002/07/owl#Class"
|
70
|
+
comment: {en: "the class of signtatures"},
|
71
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable",
|
72
|
+
isDefinedBy: "http://www.w3.org/ns/auth/cert#",
|
73
|
+
label: "Signature",
|
74
|
+
type: "http://www.w3.org/2002/07/owl#Class"
|
73
75
|
term :X509Certificate,
|
74
|
-
comment: "the class of X509 Certificates"
|
75
|
-
"http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://en.wikipedia.org/wiki/X509"
|
76
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable"
|
77
|
-
isDefinedBy: "http://www.w3.org/ns/auth/cert#"
|
78
|
-
label: "X509Certificate"
|
79
|
-
subClassOf: "http://www.w3.org/ns/auth/cert#Certificate"
|
80
|
-
type: "http://www.w3.org/2002/07/owl#Class"
|
76
|
+
comment: {en: "the class of X509 Certificates"},
|
77
|
+
"http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://en.wikipedia.org/wiki/X509",
|
78
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable",
|
79
|
+
isDefinedBy: "http://www.w3.org/ns/auth/cert#",
|
80
|
+
label: "X509Certificate",
|
81
|
+
subClassOf: "http://www.w3.org/ns/auth/cert#Certificate",
|
82
|
+
type: "http://www.w3.org/2002/07/owl#Class"
|
81
83
|
|
82
84
|
# Property definitions
|
83
85
|
property :exponent,
|
84
|
-
comment: "\n The exponent used to encrypt the message. Number chosen between\n 1 and the totient(p*q). Often named 'e' .\n "
|
85
|
-
domain: "http://www.w3.org/ns/auth/cert#RSAPublicKey"
|
86
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable"
|
87
|
-
isDefinedBy: "http://www.w3.org/ns/auth/cert#"
|
88
|
-
label: "exponent"
|
89
|
-
range: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
|
90
|
-
type: "http://www.w3.org/2002/07/owl#DatatypeProperty"
|
86
|
+
comment: {en: "\n The exponent used to encrypt the message. Number chosen between\n 1 and the totient(p*q). Often named 'e' .\n "},
|
87
|
+
domain: "http://www.w3.org/ns/auth/cert#RSAPublicKey",
|
88
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable",
|
89
|
+
isDefinedBy: "http://www.w3.org/ns/auth/cert#",
|
90
|
+
label: {en: "exponent"},
|
91
|
+
range: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger",
|
92
|
+
type: "http://www.w3.org/2002/07/owl#DatatypeProperty"
|
91
93
|
property :identity,
|
92
|
-
comment: "\n the identity of the public key. This is the entity that knows the private key and \n so can decrypt messages encrypted with the public key, or encrypt messages that can \n be decrypted with the public key. \n "
|
93
|
-
domain: "http://www.w3.org/ns/auth/cert#PublicKey"
|
94
|
-
editorialNote: "\n It turns out that this relation is unintuitive to write out and to name.\n One should instead use cert:key\n "
|
95
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "archaic"
|
96
|
-
inverseOf: "http://www.w3.org/ns/auth/cert#key"
|
97
|
-
isDefinedBy: "http://www.w3.org/ns/auth/cert#"
|
98
|
-
label: "identity"
|
99
|
-
type: ["http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
94
|
+
comment: {en: "\n the identity of the public key. This is the entity that knows the private key and \n so can decrypt messages encrypted with the public key, or encrypt messages that can \n be decrypted with the public key. \n "},
|
95
|
+
domain: "http://www.w3.org/ns/auth/cert#PublicKey",
|
96
|
+
editorialNote: {en: "\n It turns out that this relation is unintuitive to write out and to name.\n One should instead use cert:key\n "},
|
97
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "archaic",
|
98
|
+
inverseOf: "http://www.w3.org/ns/auth/cert#key",
|
99
|
+
isDefinedBy: "http://www.w3.org/ns/auth/cert#",
|
100
|
+
label: {en: "identity"},
|
101
|
+
type: ["http://www.w3.org/1999/02/22-rdf-syntax-ns#Property", "http://www.w3.org/2002/07/owl#ObjectProperty"]
|
100
102
|
property :key,
|
101
|
-
comment: "relates an agent to a key - most often the public key."
|
102
|
-
domain: "http://xmlns.com/foaf/0.1/Agent"
|
103
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable"
|
104
|
-
inverseOf: "http://www.w3.org/ns/auth/cert#identity"
|
105
|
-
isDefinedBy: "http://www.w3.org/ns/auth/cert#"
|
106
|
-
label: "key"
|
107
|
-
range: ["http://www.w3.org/ns/auth/cert#Key"
|
108
|
-
type: ["http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
|
103
|
+
comment: {en: "relates an agent to a key - most often the public key."},
|
104
|
+
domain: "http://xmlns.com/foaf/0.1/Agent",
|
105
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable",
|
106
|
+
inverseOf: "http://www.w3.org/ns/auth/cert#identity",
|
107
|
+
isDefinedBy: "http://www.w3.org/ns/auth/cert#",
|
108
|
+
label: {en: "key"},
|
109
|
+
range: ["http://www.w3.org/ns/auth/cert#Key", "http://www.w3.org/ns/auth/cert#PublicKey"],
|
110
|
+
type: ["http://www.w3.org/1999/02/22-rdf-syntax-ns#Property", "http://www.w3.org/2002/07/owl#InverseFunctionalProperty", "http://www.w3.org/2002/07/owl#ObjectProperty"]
|
109
111
|
property :modulus,
|
110
|
-
comment: " \n <p>The modulus of an RSA public and private key. \n Or the modulus of a DSA Key.\n The modulus is encoded as a hex binary. The binary is the same as the one encoded in the \n <a href=\"http://www.w3.org/TR/xmldsig-core/#sec-CryptoBinary\">XML DSIG CryptoBinary</a>\n </p>\n <blockquote>\n This specification defines the ds:CryptoBinary simple type for representing arbitrary-length integers (e.g. \"bignums\") in XML as octet strings. The integer value is first converted to a \"big endian\" bitstring. The bitstring is then padded with leading zero bits so that the total number of bits == 0 mod 8 (so that there are an integral number of octets). If the bitstring contains entire leading octets that are zero, these are removed (so the high-order octet is always non-zero).\n </blockquote>\n <p>The only difference is that the octet string is then encoded using either xsd:base64Binary or xsd:hexBinary. Currently for all usages of this relation, the xsd:hexBinary datatype should be used until the SPARQL working group specifies specifies in its <a href=\"http://www.w3.org/TR/sparql11-entailment/#DEntRegime\">D-Entailment</a> that those two types are equivalent.</p>\n <p>It would have been better had there been a hexInteger datatype that was standard and supported by all tools.</p>\n "
|
111
|
-
domain: "http://www.w3.org/ns/auth/cert#RSAKey"
|
112
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable"
|
113
|
-
isDefinedBy: "http://www.w3.org/ns/auth/cert#"
|
114
|
-
label: "modulus"
|
115
|
-
range: ["http://www.w3.org/2001/XMLSchema#base64Binary"
|
116
|
-
type: "http://www.w3.org/2002/07/owl#DatatypeProperty"
|
112
|
+
comment: {en: " \n <p>The modulus of an RSA public and private key. \n Or the modulus of a DSA Key.\n The modulus is encoded as a hex binary. The binary is the same as the one encoded in the \n <a href=\"http://www.w3.org/TR/xmldsig-core/#sec-CryptoBinary\">XML DSIG CryptoBinary</a>\n </p>\n <blockquote>\n This specification defines the ds:CryptoBinary simple type for representing arbitrary-length integers (e.g. \"bignums\") in XML as octet strings. The integer value is first converted to a \"big endian\" bitstring. The bitstring is then padded with leading zero bits so that the total number of bits == 0 mod 8 (so that there are an integral number of octets). If the bitstring contains entire leading octets that are zero, these are removed (so the high-order octet is always non-zero).\n </blockquote>\n <p>The only difference is that the octet string is then encoded using either xsd:base64Binary or xsd:hexBinary. Currently for all usages of this relation, the xsd:hexBinary datatype should be used until the SPARQL working group specifies specifies in its <a href=\"http://www.w3.org/TR/sparql11-entailment/#DEntRegime\">D-Entailment</a> that those two types are equivalent.</p>\n <p>It would have been better had there been a hexInteger datatype that was standard and supported by all tools.</p>\n "},
|
113
|
+
domain: "http://www.w3.org/ns/auth/cert#RSAKey",
|
114
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable",
|
115
|
+
isDefinedBy: "http://www.w3.org/ns/auth/cert#",
|
116
|
+
label: {en: "modulus"},
|
117
|
+
range: ["http://www.w3.org/2001/XMLSchema#base64Binary", "http://www.w3.org/2001/XMLSchema#hexBinary"],
|
118
|
+
type: "http://www.w3.org/2002/07/owl#DatatypeProperty"
|
117
119
|
property :privateExponent,
|
118
|
-
comment: "\n The exponent used to decrypt the message\n calculated as \n public_exponent*private_exponent = 1 modulo totient(p*q)\n The private exponent is often named 'd'\n "
|
119
|
-
domain: "http://www.w3.org/ns/auth/cert#PrivateKey"
|
120
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable"
|
121
|
-
isDefinedBy: "http://www.w3.org/ns/auth/cert#"
|
122
|
-
label: "private"
|
123
|
-
range: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
|
124
|
-
type: "http://www.w3.org/2002/07/owl#DatatypeProperty"
|
120
|
+
comment: {en: "\n The exponent used to decrypt the message\n calculated as \n public_exponent*private_exponent = 1 modulo totient(p*q)\n The private exponent is often named 'd'\n "},
|
121
|
+
domain: "http://www.w3.org/ns/auth/cert#PrivateKey",
|
122
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "unstable",
|
123
|
+
isDefinedBy: "http://www.w3.org/ns/auth/cert#",
|
124
|
+
label: {en: "private"},
|
125
|
+
range: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger",
|
126
|
+
type: "http://www.w3.org/2002/07/owl#DatatypeProperty"
|
125
127
|
|
126
128
|
# Datatype definitions
|
127
129
|
term :hex,
|
128
|
-
comment: "<span xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:dc=\"http://purl.org/dc/terms/\" xmlns:foaf=\"http://xmlns.com/foaf/0.1/\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:skos=\"http://www.w3.org/2004/02/skos/core#\" xmlns:vs=\"http://www.w3.org/2003/06/sw-vocab-status/ns#\"><p>\n An encoding of a positive integer (from 0 to infinity) as a hexadecimal string that makes it easy to read and/or fun to present on the web.</p>\n <p>The purpose of this way of representing hexadecimals is to enable users to copy and paste hexadecimal notations as shown by most browsers, keychains or tools such as opensso, into their rdf representation of choice. There are a wide variety of ways in which such strings can be presented. One finds the following:</p>\n<pre>\n e1 dc d5 e1 00 8f 21 5e d5 cc 7c 7e c4 9c ad 86 \n 64 aa dc 29 f2 8d d9 56 7f 31 b6 bd 1b fd b8 ee \n 51 0d 3c 84 59 a2 45 d2 13 59 2a 14 82 1a 0f 6e \n d3 d1 4a 2d a9 4c 7e db 90 07 fc f1 8d a3 8e 38 \n 25 21 0a 32 c1 95 31 3c ba 56 cc 17 45 87 e1 eb \n fd 9f 0f 82 16 67 9f 67 fa 91 e4 0d 55 4e 52 c0 \n 66 64 2f fe 98 8f ae f8 96 21 5e ea 38 9e 5c 4f \n 27 e2 48 ca ca f2 90 23 ad 99 4b cc 38 32 6d bf \n</pre>\n<p>\n Or the same as the above, with ':' instead of spaces. We can't guarantee that these are the only ways such tools will present hexadecimals, so we are very lax.</p>\n <p>The letters can be uppercase or lowercase, or mixed. </p>\n <p>Some strings may start with initial 00's, and can be stripped in this notation as they often are. Doing this could, in complement of 2 notation turn a positive number into a negative one, if the first hexadecimal character happens to be one of the set {'8', '9', 'a', 'A', 'b', 'B', 'c', 'C', 'd', 'D', 'e', 'E', 'f', 'F'} . As we interpret this string as a hexadecimal number leading 00s are not important (Complement of 2 notation and hexadecimal overlap for positive numbers)</p>\n<p> In order to make this fun, we allow any unicode characters in the string. A parser should </p>\n <ol>\n<li>remove all non hexadecimal characters</li>\n<li>treat the resulting as a hexadecimal representation of a number</li>\n</ol>\n<p>\n This will allow people to make an ascii - better yet a UTF-8 - picture of their public key when publishing it on the web.\n</p>\n<p>\n Cert hex is also a datatype property because we used to write it out like this\n</p>\n <pre>\n [] a rsa:RSAPublicKey;\n rsa:public_exponent [ cert:hex \"e1 dc d5 ...\"] \n </pre> \n<p> The above notation is now deprecated. Now we prefer the literal format below.</p>\n <pre>\n [] a rsa:RSAPublicKey;\n rsa:public_exponent \"e1 dc d5 ...\"^^cert:hex .\n </pre> \n </span>\n "
|
129
|
-
editorialNote: "<span xmlns=\"http://www.w3.org/1999/xhtml\"><p> \n This relation should slowly be transited to just being a datatype.</p>\n <p>Being a datatype and a property is legal as explained here\n <a href=\"http://lists.w3.org/Archives/Public/semantic-web/2010Mar/0037.html\">on the semantic web mailing list in March 2010</a>. \n But it may be somewhat confusing, especially if it goes against a pattern - still to be set - by the xsd datatypes as the follow up email makes clear. </p></span>\n "
|
130
|
-
equivalentClass: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
|
131
|
-
"http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://en.wikipedia.org/wiki/Hexadecimal"
|
132
|
-
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "archaic"
|
133
|
-
isDefinedBy: "http://www.w3.org/ns/auth/cert#"
|
134
|
-
label: "hexadecimal"
|
135
|
-
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
130
|
+
comment: "<span xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:dc=\"http://purl.org/dc/terms/\" xmlns:foaf=\"http://xmlns.com/foaf/0.1/\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\" xmlns:skos=\"http://www.w3.org/2004/02/skos/core#\" xmlns:vs=\"http://www.w3.org/2003/06/sw-vocab-status/ns#\"><p>\n An encoding of a positive integer (from 0 to infinity) as a hexadecimal string that makes it easy to read and/or fun to present on the web.</p>\n <p>The purpose of this way of representing hexadecimals is to enable users to copy and paste hexadecimal notations as shown by most browsers, keychains or tools such as opensso, into their rdf representation of choice. There are a wide variety of ways in which such strings can be presented. One finds the following:</p>\n<pre>\n e1 dc d5 e1 00 8f 21 5e d5 cc 7c 7e c4 9c ad 86 \n 64 aa dc 29 f2 8d d9 56 7f 31 b6 bd 1b fd b8 ee \n 51 0d 3c 84 59 a2 45 d2 13 59 2a 14 82 1a 0f 6e \n d3 d1 4a 2d a9 4c 7e db 90 07 fc f1 8d a3 8e 38 \n 25 21 0a 32 c1 95 31 3c ba 56 cc 17 45 87 e1 eb \n fd 9f 0f 82 16 67 9f 67 fa 91 e4 0d 55 4e 52 c0 \n 66 64 2f fe 98 8f ae f8 96 21 5e ea 38 9e 5c 4f \n 27 e2 48 ca ca f2 90 23 ad 99 4b cc 38 32 6d bf \n</pre>\n<p>\n Or the same as the above, with ':' instead of spaces. We can't guarantee that these are the only ways such tools will present hexadecimals, so we are very lax.</p>\n <p>The letters can be uppercase or lowercase, or mixed. </p>\n <p>Some strings may start with initial 00's, and can be stripped in this notation as they often are. Doing this could, in complement of 2 notation turn a positive number into a negative one, if the first hexadecimal character happens to be one of the set {'8', '9', 'a', 'A', 'b', 'B', 'c', 'C', 'd', 'D', 'e', 'E', 'f', 'F'} . As we interpret this string as a hexadecimal number leading 00s are not important (Complement of 2 notation and hexadecimal overlap for positive numbers)</p>\n<p> In order to make this fun, we allow any unicode characters in the string. A parser should </p>\n <ol>\n<li>remove all non hexadecimal characters</li>\n<li>treat the resulting as a hexadecimal representation of a number</li>\n</ol>\n<p>\n This will allow people to make an ascii - better yet a UTF-8 - picture of their public key when publishing it on the web.\n</p>\n<p>\n Cert hex is also a datatype property because we used to write it out like this\n</p>\n <pre>\n [] a rsa:RSAPublicKey;\n rsa:public_exponent [ cert:hex \"e1 dc d5 ...\"] \n </pre> \n<p> The above notation is now deprecated. Now we prefer the literal format below.</p>\n <pre>\n [] a rsa:RSAPublicKey;\n rsa:public_exponent \"e1 dc d5 ...\"^^cert:hex .\n </pre> \n </span>\n ",
|
131
|
+
editorialNote: {en: "<span xmlns=\"http://www.w3.org/1999/xhtml\"><p> \n This relation should slowly be transited to just being a datatype.</p>\n <p>Being a datatype and a property is legal as explained here\n <a href=\"http://lists.w3.org/Archives/Public/semantic-web/2010Mar/0037.html\">on the semantic web mailing list in March 2010</a>. \n But it may be somewhat confusing, especially if it goes against a pattern - still to be set - by the xsd datatypes as the follow up email makes clear. </p></span>\n "},
|
132
|
+
equivalentClass: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger",
|
133
|
+
"http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://en.wikipedia.org/wiki/Hexadecimal",
|
134
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "archaic",
|
135
|
+
isDefinedBy: "http://www.w3.org/ns/auth/cert#",
|
136
|
+
label: {en: "hexadecimal"},
|
137
|
+
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
136
138
|
end
|
137
139
|
end
|