rdf 1.1.0p4 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +6 -14
- data/README +33 -33
- data/VERSION +1 -1
- data/lib/rdf.rb +60 -12
- data/lib/rdf/cli.rb +7 -1
- data/lib/rdf/cli/vocab-loader.rb +240 -0
- data/lib/rdf/format.rb +2 -2
- data/lib/rdf/mixin/enumerable.rb +12 -4
- data/lib/rdf/mixin/queryable.rb +13 -13
- data/lib/rdf/model/graph.rb +5 -4
- data/lib/rdf/model/list.rb +15 -4
- data/lib/rdf/model/literal.rb +2 -1
- data/lib/rdf/model/statement.rb +10 -1
- data/lib/rdf/model/term.rb +8 -0
- data/lib/rdf/model/uri.rb +107 -2
- data/lib/rdf/model/value.rb +8 -0
- data/lib/rdf/ntriples/reader.rb +5 -4
- data/lib/rdf/query.rb +47 -12
- data/lib/rdf/query/solutions.rb +29 -29
- data/lib/rdf/reader.rb +13 -3
- data/lib/rdf/repository.rb +1 -0
- data/lib/rdf/util/file.rb +86 -6
- data/lib/rdf/vocab.rb +158 -58
- data/lib/rdf/vocab/cc.rb +28 -11
- data/lib/rdf/vocab/cert.rb +127 -9
- data/lib/rdf/vocab/dc.rb +242 -60
- data/lib/rdf/vocab/dc11.rb +42 -20
- data/lib/rdf/vocab/doap.rb +121 -42
- data/lib/rdf/vocab/exif.rb +540 -165
- data/lib/rdf/vocab/foaf.rb +353 -66
- data/lib/rdf/vocab/geo.rb +40 -10
- data/lib/rdf/vocab/gr.rb +1094 -0
- data/lib/rdf/vocab/http.rb +81 -23
- data/lib/rdf/vocab/ical.rb +361 -0
- data/lib/rdf/vocab/ma.rb +281 -69
- data/lib/rdf/vocab/og.rb +98 -0
- data/lib/rdf/vocab/owl.rb +226 -56
- data/lib/rdf/vocab/prov.rb +489 -0
- data/lib/rdf/vocab/rdfs.rb +38 -14
- data/lib/rdf/vocab/rsa.rb +25 -9
- data/lib/rdf/vocab/rss.rb +29 -11
- data/lib/rdf/vocab/schema.rb +3729 -647
- data/lib/rdf/vocab/sioc.rb +224 -89
- data/lib/rdf/vocab/skos.rb +141 -33
- data/lib/rdf/vocab/skosxl.rb +43 -0
- data/lib/rdf/vocab/v.rb +154 -0
- data/lib/rdf/vocab/vcard.rb +337 -0
- data/lib/rdf/vocab/void.rb +142 -0
- data/lib/rdf/vocab/wdrs.rb +129 -0
- data/lib/rdf/vocab/wot.rb +52 -18
- data/lib/rdf/vocab/xhtml.rb +3 -6
- data/lib/rdf/vocab/xhv.rb +239 -0
- data/lib/rdf/writer.rb +3 -3
- metadata +81 -14
data/lib/rdf/vocab/cc.rb
CHANGED
@@ -1,18 +1,35 @@
|
|
1
|
+
# This file generated automatically using vocab-fetch from http://creativecommons.org/ns#
|
2
|
+
require 'rdf'
|
1
3
|
module RDF
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
class CC < StrictVocabulary("http://creativecommons.org/ns#")
|
5
|
+
|
6
|
+
# Class definitions
|
7
|
+
property :Jurisdiction, :label => 'Jurisdiction', :comment =>
|
8
|
+
%(the legal jurisdiction of a license)
|
9
|
+
property :License, :label => 'License', :comment =>
|
10
|
+
%(a set of requests/permissions to users of a Work, e.g. a
|
11
|
+
copyright license, the public domain, information for
|
12
|
+
distributors)
|
13
|
+
property :Permission, :label => 'Permission', :comment =>
|
14
|
+
%(an action that may or may not be allowed or desired)
|
15
|
+
property :Prohibition, :label => 'Prohibition', :comment =>
|
16
|
+
%(something you may be asked not to do)
|
17
|
+
property :Requirement, :label => 'Requirement', :comment =>
|
18
|
+
%(an action that may or may not be requested of you)
|
19
|
+
property :Work, :label => 'Work', :comment =>
|
20
|
+
%(a potentially copyrightable work)
|
21
|
+
|
22
|
+
# Property definitions
|
23
|
+
property :deprecatedOn, :label => 'deprecated on'
|
24
|
+
property :license, :label => 'has license'
|
7
25
|
property :attributionName
|
8
26
|
property :attributionURL
|
9
|
-
property :deprecatedOn
|
10
|
-
property :jurisdiction
|
11
27
|
property :legalcode
|
12
|
-
property :license
|
13
28
|
property :morePermissions
|
14
|
-
property :
|
15
|
-
property :
|
16
|
-
property :
|
29
|
+
property :useGuidelines
|
30
|
+
property :jurisdiction, :label => 'jurisdiction'
|
31
|
+
property :permits, :label => 'permits'
|
32
|
+
property :prohibits, :label => 'prohibits'
|
33
|
+
property :requires, :label => 'requires'
|
17
34
|
end
|
18
35
|
end
|
data/lib/rdf/vocab/cert.rb
CHANGED
@@ -1,13 +1,131 @@
|
|
1
|
+
# This file generated automatically using vocab-fetch from http://www.w3.org/ns/auth/cert#
|
2
|
+
require 'rdf'
|
1
3
|
module RDF
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
4
|
+
class CERT < StrictVocabulary("http://www.w3.org/ns/auth/cert#")
|
5
|
+
|
6
|
+
# Class definitions
|
7
|
+
property :Certificate, :label => 'Certificate', :comment =>
|
8
|
+
%(A certificate is a Document that is signed. As explained here
|
9
|
+
http://www.pgpi.org/doc/pgpintro/#p16 'A digital certificate
|
10
|
+
consists of three things: * A public key. * Certificate
|
11
|
+
information. \('Identity' information about the user, such as
|
12
|
+
name, user ID, and so on.\) * One or more digital signatures.')
|
13
|
+
property :PGPCertificate, :label => 'PGPCertificate', :comment =>
|
14
|
+
%(the class of PGP Certificates)
|
15
|
+
property :PrivateKey, :label => 'PrivateKey', :comment =>
|
16
|
+
%(Private Key)
|
17
|
+
property :PublicKey, :label => 'PublicKey', :comment =>
|
18
|
+
%(Public Key)
|
19
|
+
property :RSAKey, :label => 'RSA Key', :comment =>
|
20
|
+
%(The union of the public and private components of an RSAKey.
|
21
|
+
Usually those pieces are not kept together)
|
22
|
+
property :RSAPublicKey, :label => 'RSA Public Key', :comment =>
|
23
|
+
%(The RSA public key. Padded message m are encrypted by applying
|
24
|
+
the function modulus\(power\(m,exponent\),modulus\))
|
25
|
+
property :Signature, :label => 'Signature', :comment =>
|
26
|
+
%(the class of signtatures)
|
27
|
+
property :X509Certificate, :label => 'X509Certificate', :comment =>
|
28
|
+
%(the class of X509 Certificates)
|
29
|
+
property :Key, :comment =>
|
30
|
+
%(the class of keys)
|
31
|
+
|
32
|
+
# Property definitions
|
33
|
+
property :identity, :label => 'identity', :comment =>
|
34
|
+
%(the identity of the public key. This is the entity that knows
|
35
|
+
the private key and so can decrypt messages encrypted with the
|
36
|
+
public key, or encrypt messages that can be decrypted with the
|
37
|
+
public key.)
|
38
|
+
property :key, :label => 'key', :comment =>
|
39
|
+
%(relates an agent to a key - most often the public key.)
|
40
|
+
property :exponent, :label => 'exponent', :comment =>
|
41
|
+
%(The exponent used to encrypt the message. Number chosen
|
42
|
+
between 1 and the totient\(p*q\). Often named 'e' .)
|
43
|
+
property :modulus, :label => 'modulus', :comment =>
|
44
|
+
%(<p>The modulus of an RSA public and private key. Or the
|
45
|
+
modulus of a DSA Key. The modulus is encoded as a hex binary.
|
46
|
+
The binary is the same as the one encoded in the <a
|
47
|
+
href="http://www.w3.org/TR/xmldsig-core/#sec-CryptoBinary">XML
|
48
|
+
DSIG CryptoBinary</a> </p> <blockquote> This specification
|
49
|
+
defines the ds:CryptoBinary simple type for representing
|
50
|
+
arbitrary-length integers \(e.g. "bignums"\) in XML as octet
|
51
|
+
strings. The integer value is first converted to a "big
|
52
|
+
endian" bitstring. The bitstring is then padded with leading
|
53
|
+
zero bits so that the total number of bits == 0 mod 8 \(so
|
54
|
+
that there are an integral number of octets\). If the
|
55
|
+
bitstring contains entire leading octets that are zero, these
|
56
|
+
are removed \(so the high-order octet is always non-zero\).
|
57
|
+
</blockquote> <p>The only difference is that the octet string
|
58
|
+
is then encoded using either xsd:base64Binary or
|
59
|
+
xsd:hexBinary. Currently for all usages of this relation, the
|
60
|
+
xsd:hexBinary datatype should be used until the SPARQL working
|
61
|
+
group specifies specifies in its <a
|
62
|
+
href="http://www.w3.org/TR/sparql11-entailment/#DEntRegime">D-Entailment</a>
|
63
|
+
that those two types are equivalent.</p> <p>It would have been
|
64
|
+
better had there been a hexInteger datatype that was standard
|
65
|
+
and supported by all tools.</p>)
|
66
|
+
property :privateExponent, :label => 'private', :comment =>
|
67
|
+
%(The exponent used to decrypt the message calculated as
|
68
|
+
public_exponent*private_exponent = 1 modulo totient\(p*q\) The
|
69
|
+
private exponent is often named 'd')
|
70
|
+
property :identity, :label => 'identity', :comment =>
|
71
|
+
%(the identity of the public key. This is the entity that knows
|
72
|
+
the private key and so can decrypt messages encrypted with the
|
73
|
+
public key, or encrypt messages that can be decrypted with the
|
74
|
+
public key.)
|
75
|
+
property :key, :label => 'key', :comment =>
|
76
|
+
%(relates an agent to a key - most often the public key.)
|
77
|
+
|
78
|
+
# Datatype definitions
|
79
|
+
property :hex, :label => 'hexadecimal', :comment =>
|
80
|
+
%(<span xmlns="http://www.w3.org/1999/xhtml"
|
81
|
+
xmlns:dc="http://purl.org/dc/terms/"
|
82
|
+
xmlns:foaf="http://xmlns.com/foaf/0.1/"
|
83
|
+
xmlns:owl="http://www.w3.org/2002/07/owl#"
|
84
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
85
|
+
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
|
86
|
+
xmlns:skos="http://www.w3.org/2004/02/skos/core#"
|
87
|
+
xmlns:vs="http://www.w3.org/2003/06/sw-vocab-status/ns#"><p>
|
88
|
+
An encoding of a positive integer \(from 0 to infinity\) as a
|
89
|
+
hexadecimal string that makes it easy to read and/or fun to
|
90
|
+
present on the web.</p> <p>The purpose of this way of
|
91
|
+
representing hexadecimals is to enable users to copy and paste
|
92
|
+
hexadecimal notations as shown by most browsers, keychains or
|
93
|
+
tools such as opensso, into their rdf representation of
|
94
|
+
choice. There are a wide variety of ways in which such strings
|
95
|
+
can be presented. One finds the following:</p> <pre> e1 dc d5
|
96
|
+
e1 00 8f 21 5e d5 cc 7c 7e c4 9c ad 86 64 aa dc 29 f2 8d d9 56
|
97
|
+
7f 31 b6 bd 1b fd b8 ee 51 0d 3c 84 59 a2 45 d2 13 59 2a 14 82
|
98
|
+
1a 0f 6e d3 d1 4a 2d a9 4c 7e db 90 07 fc f1 8d a3 8e 38 25 21
|
99
|
+
0a 32 c1 95 31 3c ba 56 cc 17 45 87 e1 eb fd 9f 0f 82 16 67 9f
|
100
|
+
67 fa 91 e4 0d 55 4e 52 c0 66 64 2f fe 98 8f ae f8 96 21 5e ea
|
101
|
+
38 9e 5c 4f 27 e2 48 ca ca f2 90 23 ad 99 4b cc 38 32 6d bf
|
102
|
+
</pre> <p> Or the same as the above, with ':' instead of
|
103
|
+
spaces. We can't guarantee that these are the only ways such
|
104
|
+
tools will present hexadecimals, so we are very lax.</p>
|
105
|
+
<p>The letters can be uppercase or lowercase, or mixed. </p>
|
106
|
+
<p>Some strings may start with initial 00's, and can be
|
107
|
+
stripped in this notation as they often are. Doing this could,
|
108
|
+
in complement of 2 notation turn a positive number into a
|
109
|
+
negative one, if the first hexadecimal character happens to be
|
110
|
+
one of the set {'8', '9', 'a', 'A', 'b', 'B', 'c', 'C', 'd',
|
111
|
+
'D', 'e', 'E', 'f', 'F'} . As we interpret this string as a
|
112
|
+
hexadecimal number leading 00s are not important \(Complement
|
113
|
+
of 2 notation and hexadecimal overlap for positive
|
114
|
+
numbers\)</p> <p> In order to make this fun, we allow any
|
115
|
+
unicode characters in the string. A parser should </p> <ol>
|
116
|
+
<li>remove all non hexadecimal characters</li> <li>treat the
|
117
|
+
resulting as a hexadecimal representation of a number</li>
|
118
|
+
</ol> <p> This will allow people to make an ascii - better yet
|
119
|
+
a UTF-8 - picture of their public key when publishing it on
|
120
|
+
the web. </p> <p> Cert hex is also a datatype property because
|
121
|
+
we used to write it out like this </p> <pre> [] a
|
122
|
+
rsa:RSAPublicKey; rsa:public_exponent [ cert:hex "e1 dc d5
|
123
|
+
..."] </pre> <p> The above notation is now deprecated. Now we
|
124
|
+
prefer the literal format below.</p> <pre> [] a
|
125
|
+
rsa:RSAPublicKey; rsa:public_exponent "e1 dc d5 ..."^^cert:hex
|
126
|
+
. </pre> </span>)
|
127
|
+
|
128
|
+
# Extra definitions
|
9
129
|
property :hex
|
10
|
-
property :identity
|
11
|
-
property :public_key
|
12
130
|
end
|
13
131
|
end
|
data/lib/rdf/vocab/dc.rb
CHANGED
@@ -1,63 +1,245 @@
|
|
1
|
+
# This file generated automatically using vocab-fetch from http://purl.org/dc/terms/
|
2
|
+
require 'rdf'
|
1
3
|
module RDF
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
property :
|
8
|
-
|
9
|
-
property :
|
10
|
-
|
11
|
-
property :
|
12
|
-
|
13
|
-
property :
|
14
|
-
|
15
|
-
property :
|
16
|
-
|
17
|
-
|
18
|
-
property :
|
19
|
-
|
20
|
-
|
21
|
-
property :
|
22
|
-
|
23
|
-
|
24
|
-
property :
|
25
|
-
|
26
|
-
property :
|
27
|
-
|
28
|
-
property :
|
29
|
-
|
30
|
-
property :
|
31
|
-
|
32
|
-
property :
|
33
|
-
|
34
|
-
property :
|
35
|
-
|
36
|
-
|
37
|
-
property :
|
38
|
-
|
39
|
-
|
40
|
-
property :
|
41
|
-
|
42
|
-
property :
|
43
|
-
|
44
|
-
property :
|
45
|
-
|
46
|
-
|
47
|
-
property :
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
property :
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
property :
|
57
|
-
|
58
|
-
property :
|
59
|
-
|
60
|
-
|
61
|
-
|
4
|
+
class DC < StrictVocabulary("http://purl.org/dc/terms/")
|
5
|
+
|
6
|
+
# Class definitions
|
7
|
+
property :Agent, :label => 'Agent', :comment =>
|
8
|
+
%(A resource that acts or has the power to act.)
|
9
|
+
property :AgentClass, :label => 'Agent Class', :comment =>
|
10
|
+
%(A group of agents.)
|
11
|
+
property :BibliographicResource, :label => 'Bibliographic Resource', :comment =>
|
12
|
+
%(A book, article, or other documentary resource.)
|
13
|
+
property :FileFormat, :label => 'File Format', :comment =>
|
14
|
+
%(A digital resource format.)
|
15
|
+
property :Frequency, :label => 'Frequency', :comment =>
|
16
|
+
%(A rate at which something recurs.)
|
17
|
+
property :Jurisdiction, :label => 'Jurisdiction', :comment =>
|
18
|
+
%(The extent or range of judicial, law enforcement, or other
|
19
|
+
authority.)
|
20
|
+
property :LicenseDocument, :label => 'License Document', :comment =>
|
21
|
+
%(A legal document giving official permission to do something
|
22
|
+
with a Resource.)
|
23
|
+
property :LinguisticSystem, :label => 'Linguistic System', :comment =>
|
24
|
+
%(A system of signs, symbols, sounds, gestures, or rules used in
|
25
|
+
communication.)
|
26
|
+
property :Location, :label => 'Location', :comment =>
|
27
|
+
%(A spatial region or named place.)
|
28
|
+
property :LocationPeriodOrJurisdiction, :label => 'Location, Period, or Jurisdiction', :comment =>
|
29
|
+
%(A location, period of time, or jurisdiction.)
|
30
|
+
property :MediaType, :label => 'Media Type', :comment =>
|
31
|
+
%(A file format or physical medium.)
|
32
|
+
property :MediaTypeOrExtent, :label => 'Media Type or Extent', :comment =>
|
33
|
+
%(A media type or extent.)
|
34
|
+
property :MethodOfAccrual, :label => 'Method of Accrual', :comment =>
|
35
|
+
%(A method by which resources are added to a collection.)
|
36
|
+
property :MethodOfInstruction, :label => 'Method of Instruction', :comment =>
|
37
|
+
%(A process that is used to engender knowledge, attitudes, and
|
38
|
+
skills.)
|
39
|
+
property :PeriodOfTime, :label => 'Period of Time', :comment =>
|
40
|
+
%(An interval of time that is named or defined by its start and
|
41
|
+
end dates.)
|
42
|
+
property :PhysicalMedium, :label => 'Physical Medium', :comment =>
|
43
|
+
%(A physical material or carrier.)
|
44
|
+
property :PhysicalResource, :label => 'Physical Resource', :comment =>
|
45
|
+
%(A material thing.)
|
46
|
+
property :Policy, :label => 'Policy', :comment =>
|
47
|
+
%(A plan or course of action by an authority, intended to
|
48
|
+
influence and determine decisions, actions, and other matters.)
|
49
|
+
property :ProvenanceStatement, :label => 'Provenance Statement', :comment =>
|
50
|
+
%(A statement of any changes in ownership and custody of a
|
51
|
+
resource since its creation that are significant for its
|
52
|
+
authenticity, integrity, and interpretation.)
|
53
|
+
property :RightsStatement, :label => 'Rights Statement', :comment =>
|
54
|
+
%(A statement about the intellectual property rights \(IPR\)
|
55
|
+
held in or over a Resource, a legal document giving official
|
56
|
+
permission to do something with a resource, or a statement
|
57
|
+
about access rights.)
|
58
|
+
property :SizeOrDuration, :label => 'Size or Duration', :comment =>
|
59
|
+
%(A dimension or extent, or a time taken to play or execute.)
|
60
|
+
property :Standard, :label => 'Standard', :comment =>
|
61
|
+
%(A basis for comparison; a reference point against which other
|
62
|
+
things can be evaluated.)
|
63
|
+
|
64
|
+
# Property definitions
|
65
|
+
property :abstract, :label => 'Abstract', :comment =>
|
66
|
+
%(A summary of the resource.)
|
67
|
+
property :accessRights, :label => 'Access Rights', :comment =>
|
68
|
+
%(Information about who can access the resource or an indication
|
69
|
+
of its security status.)
|
70
|
+
property :accrualMethod, :label => 'Accrual Method', :comment =>
|
71
|
+
%(The method by which items are added to a collection.)
|
72
|
+
property :accrualPeriodicity, :label => 'Accrual Periodicity', :comment =>
|
73
|
+
%(The frequency with which items are added to a collection.)
|
74
|
+
property :accrualPolicy, :label => 'Accrual Policy', :comment =>
|
75
|
+
%(The policy governing the addition of items to a collection.)
|
76
|
+
property :alternative, :label => 'Alternative Title', :comment =>
|
77
|
+
%(An alternative name for the resource.)
|
78
|
+
property :audience, :label => 'Audience', :comment =>
|
79
|
+
%(A class of entity for whom the resource is intended or useful.)
|
80
|
+
property :educationLevel, :label => 'Audience Education Level', :comment =>
|
81
|
+
%(A class of entity, defined in terms of progression through an
|
82
|
+
educational or training context, for which the described
|
83
|
+
resource is intended.)
|
84
|
+
property :bibliographicCitation, :label => 'Bibliographic Citation', :comment =>
|
85
|
+
%(A bibliographic reference for the resource.)
|
86
|
+
property :conformsTo, :label => 'Conforms To', :comment =>
|
87
|
+
%(An established standard to which the described resource
|
88
|
+
conforms.)
|
89
|
+
property :contributor, :label => 'Contributor', :comment =>
|
90
|
+
%(An entity responsible for making contributions to the
|
91
|
+
resource.)
|
92
|
+
property :coverage, :label => 'Coverage', :comment =>
|
93
|
+
%(The spatial or temporal topic of the resource, the spatial
|
94
|
+
applicability of the resource, or the jurisdiction under which
|
95
|
+
the resource is relevant.)
|
96
|
+
property :creator, :label => 'Creator', :comment =>
|
97
|
+
%(An entity primarily responsible for making the resource.)
|
98
|
+
property :date, :label => 'Date', :comment =>
|
99
|
+
%(A point or period of time associated with an event in the
|
100
|
+
lifecycle of the resource.)
|
101
|
+
property :dateAccepted, :label => 'Date Accepted', :comment =>
|
102
|
+
%(Date of acceptance of the resource.)
|
103
|
+
property :available, :label => 'Date Available', :comment =>
|
104
|
+
%(Date \(often a range\) that the resource became or will become
|
105
|
+
available.)
|
106
|
+
property :dateCopyrighted, :label => 'Date Copyrighted', :comment =>
|
107
|
+
%(Date of copyright.)
|
108
|
+
property :created, :label => 'Date Created', :comment =>
|
109
|
+
%(Date of creation of the resource.)
|
110
|
+
property :issued, :label => 'Date Issued', :comment =>
|
111
|
+
%(Date of formal issuance \(e.g., publication\) of the resource.)
|
112
|
+
property :modified, :label => 'Date Modified', :comment =>
|
113
|
+
%(Date on which the resource was changed.)
|
114
|
+
property :dateSubmitted, :label => 'Date Submitted', :comment =>
|
115
|
+
%(Date of submission of the resource.)
|
116
|
+
property :valid, :label => 'Date Valid', :comment =>
|
117
|
+
%(Date \(often a range\) of validity of a resource.)
|
118
|
+
property :description, :label => 'Description', :comment =>
|
119
|
+
%(An account of the resource.)
|
120
|
+
property :extent, :label => 'Extent', :comment =>
|
121
|
+
%(The size or duration of the resource.)
|
122
|
+
property :format, :label => 'Format', :comment =>
|
123
|
+
%(The file format, physical medium, or dimensions of the
|
124
|
+
resource.)
|
125
|
+
property :hasFormat, :label => 'Has Format', :comment =>
|
126
|
+
%(A related resource that is substantially the same as the
|
127
|
+
pre-existing described resource, but in another format.)
|
128
|
+
property :hasPart, :label => 'Has Part', :comment =>
|
129
|
+
%(A related resource that is included either physically or
|
130
|
+
logically in the described resource.)
|
131
|
+
property :hasVersion, :label => 'Has Version', :comment =>
|
132
|
+
%(A related resource that is a version, edition, or adaptation
|
133
|
+
of the described resource.)
|
134
|
+
property :identifier, :label => 'Identifier', :comment =>
|
135
|
+
%(An unambiguous reference to the resource within a given
|
136
|
+
context.)
|
137
|
+
property :instructionalMethod, :label => 'Instructional Method', :comment =>
|
138
|
+
%(A process, used to engender knowledge, attitudes and skills,
|
139
|
+
that the described resource is designed to support.)
|
140
|
+
property :isFormatOf, :label => 'Is Format Of', :comment =>
|
141
|
+
%(A related resource that is substantially the same as the
|
142
|
+
described resource, but in another format.)
|
143
|
+
property :isPartOf, :label => 'Is Part Of', :comment =>
|
144
|
+
%(A related resource in which the described resource is
|
145
|
+
physically or logically included.)
|
146
|
+
property :isReferencedBy, :label => 'Is Referenced By', :comment =>
|
147
|
+
%(A related resource that references, cites, or otherwise points
|
148
|
+
to the described resource.)
|
149
|
+
property :isReplacedBy, :label => 'Is Replaced By', :comment =>
|
150
|
+
%(A related resource that supplants, displaces, or supersedes
|
151
|
+
the described resource.)
|
152
|
+
property :isRequiredBy, :label => 'Is Required By', :comment =>
|
153
|
+
%(A related resource that requires the described resource to
|
154
|
+
support its function, delivery, or coherence.)
|
155
|
+
property :isVersionOf, :label => 'Is Version Of', :comment =>
|
156
|
+
%(A related resource of which the described resource is a
|
157
|
+
version, edition, or adaptation.)
|
158
|
+
property :language, :label => 'Language', :comment =>
|
159
|
+
%(A language of the resource.)
|
160
|
+
property :license, :label => 'License', :comment =>
|
161
|
+
%(A legal document giving official permission to do something
|
162
|
+
with the resource.)
|
163
|
+
property :mediator, :label => 'Mediator', :comment =>
|
164
|
+
%(An entity that mediates access to the resource and for whom
|
165
|
+
the resource is intended or useful.)
|
166
|
+
property :medium, :label => 'Medium', :comment =>
|
167
|
+
%(The material or physical carrier of the resource.)
|
168
|
+
property :provenance, :label => 'Provenance', :comment =>
|
169
|
+
%(A statement of any changes in ownership and custody of the
|
170
|
+
resource since its creation that are significant for its
|
171
|
+
authenticity, integrity, and interpretation.)
|
172
|
+
property :publisher, :label => 'Publisher', :comment =>
|
173
|
+
%(An entity responsible for making the resource available.)
|
174
|
+
property :references, :label => 'References', :comment =>
|
175
|
+
%(A related resource that is referenced, cited, or otherwise
|
176
|
+
pointed to by the described resource.)
|
177
|
+
property :relation, :label => 'Relation', :comment =>
|
178
|
+
%(A related resource.)
|
179
|
+
property :replaces, :label => 'Replaces', :comment =>
|
180
|
+
%(A related resource that is supplanted, displaced, or
|
181
|
+
superseded by the described resource.)
|
182
|
+
property :requires, :label => 'Requires', :comment =>
|
183
|
+
%(A related resource that is required by the described resource
|
184
|
+
to support its function, delivery, or coherence.)
|
185
|
+
property :rights, :label => 'Rights', :comment =>
|
186
|
+
%(Information about rights held in and over the resource.)
|
187
|
+
property :rightsHolder, :label => 'Rights Holder', :comment =>
|
188
|
+
%(A person or organization owning or managing rights over the
|
189
|
+
resource.)
|
190
|
+
property :source, :label => 'Source', :comment =>
|
191
|
+
%(A related resource from which the described resource is
|
192
|
+
derived.)
|
193
|
+
property :spatial, :label => 'Spatial Coverage', :comment =>
|
194
|
+
%(Spatial characteristics of the resource.)
|
195
|
+
property :subject, :label => 'Subject', :comment =>
|
196
|
+
%(The topic of the resource.)
|
197
|
+
property :tableOfContents, :label => 'Table Of Contents', :comment =>
|
198
|
+
%(A list of subunits of the resource.)
|
199
|
+
property :temporal, :label => 'Temporal Coverage', :comment =>
|
200
|
+
%(Temporal characteristics of the resource.)
|
201
|
+
property :title, :label => 'Title', :comment =>
|
202
|
+
%(A name given to the resource.)
|
203
|
+
property :type, :label => 'Type', :comment =>
|
204
|
+
%(The nature or genre of the resource.)
|
205
|
+
|
206
|
+
# Datatype definitions
|
207
|
+
property :Box, :label => 'DCMI Box', :comment =>
|
208
|
+
%(The set of regions in space defined by their geographic
|
209
|
+
coordinates according to the DCMI Box Encoding Scheme.)
|
210
|
+
property :Period, :label => 'DCMI Period', :comment =>
|
211
|
+
%(The set of time intervals defined by their limits according to
|
212
|
+
the DCMI Period Encoding Scheme.)
|
213
|
+
property :Point, :label => 'DCMI Point', :comment =>
|
214
|
+
%(The set of points in space defined by their geographic
|
215
|
+
coordinates according to the DCMI Point Encoding Scheme.)
|
216
|
+
property :ISO3166, :label => 'ISO 3166', :comment =>
|
217
|
+
%(The set of codes listed in ISO 3166-1 for the representation
|
218
|
+
of names of countries.)
|
219
|
+
property :"ISO639-2", :label => 'ISO 639-2', :comment =>
|
220
|
+
%(The three-letter alphabetic codes listed in ISO639-2 for the
|
221
|
+
representation of names of languages.)
|
222
|
+
property :"ISO639-3", :label => 'ISO 639-3', :comment =>
|
223
|
+
%(The set of three-letter codes listed in ISO 639-3 for the
|
224
|
+
representation of names of languages.)
|
225
|
+
property :RFC1766, :label => 'RFC 1766', :comment =>
|
226
|
+
%(The set of tags, constructed according to RFC 1766, for the
|
227
|
+
identification of languages.)
|
228
|
+
property :RFC3066, :label => 'RFC 3066', :comment =>
|
229
|
+
%(The set of tags constructed according to RFC 3066 for the
|
230
|
+
identification of languages.)
|
231
|
+
property :RFC4646, :label => 'RFC 4646', :comment =>
|
232
|
+
%(The set of tags constructed according to RFC 4646 for the
|
233
|
+
identification of languages.)
|
234
|
+
property :RFC5646, :label => 'RFC 5646', :comment =>
|
235
|
+
%(The set of tags constructed according to RFC 5646 for the
|
236
|
+
identification of languages.)
|
237
|
+
property :URI, :label => 'URI', :comment =>
|
238
|
+
%(The set of identifiers constructed according to the generic
|
239
|
+
syntax for Uniform Resource Identifiers as specified by the
|
240
|
+
Internet Engineering Task Force.)
|
241
|
+
property :W3CDTF, :label => 'W3C-DTF', :comment =>
|
242
|
+
%(The set of dates and times constructed according to the W3C
|
243
|
+
Date and Time Formats Specification.)
|
62
244
|
end
|
63
245
|
end
|