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/dc11.rb
CHANGED
@@ -1,45 +1,159 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
1
2
|
# This file generated automatically using vocab-fetch from http://purl.org/dc/elements/1.1/
|
2
3
|
require 'rdf'
|
3
4
|
module RDF
|
4
5
|
class DC11 < StrictVocabulary("http://purl.org/dc/elements/1.1/")
|
5
6
|
|
6
7
|
# Property definitions
|
7
|
-
property :contributor,
|
8
|
-
%(An entity responsible for making contributions to the
|
9
|
-
|
10
|
-
|
11
|
-
%(
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
%(
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
%(
|
21
|
-
|
22
|
-
%(
|
23
|
-
|
24
|
-
|
25
|
-
%(
|
26
|
-
|
27
|
-
property :
|
28
|
-
%(
|
29
|
-
|
30
|
-
%(
|
31
|
-
|
32
|
-
%(
|
33
|
-
|
34
|
-
%(
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
%(
|
40
|
-
|
41
|
-
%(
|
42
|
-
|
43
|
-
|
8
|
+
property :contributor,
|
9
|
+
comment: %(An entity responsible for making contributions to the resource.).freeze,
|
10
|
+
"dc:description" => %(Examples of a Contributor include a person, an organization, or a service. Typically, the name of a Contributor should be used to indicate the entity.).freeze,
|
11
|
+
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#contributor-006).freeze,
|
12
|
+
"dc:issued" => %(1999-07-02).freeze,
|
13
|
+
"dc:modified" => %(2008-01-14).freeze,
|
14
|
+
label: "Contributor".freeze,
|
15
|
+
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
16
|
+
"skos:note" => %(A second property with the same name as this property has been declared in the dcterms: namespace \(http://purl.org/dc/terms/\). See the Introduction to the document "DCMI Metadata Terms" \(http://dublincore.org/documents/dcmi-terms/\) for an explanation.).freeze,
|
17
|
+
type: "rdf:Property".freeze
|
18
|
+
property :coverage,
|
19
|
+
comment: %(The spatial or temporal topic of the resource, the spatial applicability of the resource, or the jurisdiction under which the resource is relevant.).freeze,
|
20
|
+
"dc:description" => %(Spatial topic and spatial applicability may be a named place or a location specified by its geographic coordinates. Temporal topic may be a named period, date, or date range. A jurisdiction may be a named administrative entity or a geographic place to which the resource applies. Recommended best practice is to use a controlled vocabulary such as the Thesaurus of Geographic Names [TGN]. Where appropriate, named places or time periods can be used in preference to numeric identifiers such as sets of coordinates or date ranges.).freeze,
|
21
|
+
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#coverage-006).freeze,
|
22
|
+
"dc:issued" => %(1999-07-02).freeze,
|
23
|
+
"dc:modified" => %(2008-01-14).freeze,
|
24
|
+
label: "Coverage".freeze,
|
25
|
+
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
26
|
+
"skos:note" => %(A second property with the same name as this property has been declared in the dcterms: namespace \(http://purl.org/dc/terms/\). See the Introduction to the document "DCMI Metadata Terms" \(http://dublincore.org/documents/dcmi-terms/\) for an explanation.).freeze,
|
27
|
+
type: "rdf:Property".freeze
|
28
|
+
property :creator,
|
29
|
+
comment: %(An entity primarily responsible for making the resource.).freeze,
|
30
|
+
"dc:description" => %(Examples of a Creator include a person, an organization, or a service. Typically, the name of a Creator should be used to indicate the entity.).freeze,
|
31
|
+
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#creator-006).freeze,
|
32
|
+
"dc:issued" => %(1999-07-02).freeze,
|
33
|
+
"dc:modified" => %(2008-01-14).freeze,
|
34
|
+
label: "Creator".freeze,
|
35
|
+
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
36
|
+
"skos:note" => %(A second property with the same name as this property has been declared in the dcterms: namespace \(http://purl.org/dc/terms/\). See the Introduction to the document "DCMI Metadata Terms" \(http://dublincore.org/documents/dcmi-terms/\) for an explanation.).freeze,
|
37
|
+
type: "rdf:Property".freeze
|
38
|
+
property :date,
|
39
|
+
comment: %(A point or period of time associated with an event in the lifecycle of the resource.).freeze,
|
40
|
+
"dc:description" => %(Date may be used to express temporal information at any level of granularity. Recommended best practice is to use an encoding scheme, such as the W3CDTF profile of ISO 8601 [W3CDTF].).freeze,
|
41
|
+
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#date-006).freeze,
|
42
|
+
"dc:issued" => %(1999-07-02).freeze,
|
43
|
+
"dc:modified" => %(2008-01-14).freeze,
|
44
|
+
label: "Date".freeze,
|
45
|
+
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
46
|
+
"skos:note" => %(A second property with the same name as this property has been declared in the dcterms: namespace \(http://purl.org/dc/terms/\). See the Introduction to the document "DCMI Metadata Terms" \(http://dublincore.org/documents/dcmi-terms/\) for an explanation.).freeze,
|
47
|
+
type: "rdf:Property".freeze
|
48
|
+
property :description,
|
49
|
+
comment: %(An account of the resource.).freeze,
|
50
|
+
"dc:description" => %(Description may include but is not limited to: an abstract, a table of contents, a graphical representation, or a free-text account of the resource.).freeze,
|
51
|
+
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#description-006).freeze,
|
52
|
+
"dc:issued" => %(1999-07-02).freeze,
|
53
|
+
"dc:modified" => %(2008-01-14).freeze,
|
54
|
+
label: "Description".freeze,
|
55
|
+
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
56
|
+
"skos:note" => %(A second property with the same name as this property has been declared in the dcterms: namespace \(http://purl.org/dc/terms/\). See the Introduction to the document "DCMI Metadata Terms" \(http://dublincore.org/documents/dcmi-terms/\) for an explanation.).freeze,
|
57
|
+
type: "rdf:Property".freeze
|
58
|
+
property :format,
|
59
|
+
comment: %(The file format, physical medium, or dimensions of the resource.).freeze,
|
60
|
+
"dc:description" => %(Examples of dimensions include size and duration. Recommended best practice is to use a controlled vocabulary such as the list of Internet Media Types [MIME].).freeze,
|
61
|
+
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#format-007).freeze,
|
62
|
+
"dc:issued" => %(1999-07-02).freeze,
|
63
|
+
"dc:modified" => %(2008-01-14).freeze,
|
64
|
+
label: "Format".freeze,
|
65
|
+
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
66
|
+
"skos:note" => %(A second property with the same name as this property has been declared in the dcterms: namespace \(http://purl.org/dc/terms/\). See the Introduction to the document "DCMI Metadata Terms" \(http://dublincore.org/documents/dcmi-terms/\) for an explanation.).freeze,
|
67
|
+
type: "rdf:Property".freeze
|
68
|
+
property :identifier,
|
69
|
+
comment: %(An unambiguous reference to the resource within a given context.).freeze,
|
70
|
+
"dc:description" => %(Recommended best practice is to identify the resource by means of a string conforming to a formal identification system. ).freeze,
|
71
|
+
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#identifier-006).freeze,
|
72
|
+
"dc:issued" => %(1999-07-02).freeze,
|
73
|
+
"dc:modified" => %(2008-01-14).freeze,
|
74
|
+
label: "Identifier".freeze,
|
75
|
+
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
76
|
+
"skos:note" => %(A second property with the same name as this property has been declared in the dcterms: namespace \(http://purl.org/dc/terms/\). See the Introduction to the document "DCMI Metadata Terms" \(http://dublincore.org/documents/dcmi-terms/\) for an explanation.).freeze,
|
77
|
+
type: "rdf:Property".freeze
|
78
|
+
property :language,
|
79
|
+
comment: %(A language of the resource.).freeze,
|
80
|
+
"dc:description" => %(Recommended best practice is to use a controlled vocabulary such as RFC 4646 [RFC4646].).freeze,
|
81
|
+
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#language-007).freeze,
|
82
|
+
"dc:issued" => %(1999-07-02).freeze,
|
83
|
+
"dc:modified" => %(2008-01-14).freeze,
|
84
|
+
label: "Language".freeze,
|
85
|
+
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
86
|
+
"rdfs:seeAlso" => %(http://www.ietf.org/rfc/rfc4646.txt).freeze,
|
87
|
+
"skos:note" => %(A second property with the same name as this property has been declared in the dcterms: namespace \(http://purl.org/dc/terms/\). See the Introduction to the document "DCMI Metadata Terms" \(http://dublincore.org/documents/dcmi-terms/\) for an explanation.).freeze,
|
88
|
+
type: "rdf:Property".freeze
|
89
|
+
property :publisher,
|
90
|
+
comment: %(An entity responsible for making the resource available.).freeze,
|
91
|
+
"dc:description" => %(Examples of a Publisher include a person, an organization, or a service. Typically, the name of a Publisher should be used to indicate the entity.).freeze,
|
92
|
+
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#publisher-006).freeze,
|
93
|
+
"dc:issued" => %(1999-07-02).freeze,
|
94
|
+
"dc:modified" => %(2008-01-14).freeze,
|
95
|
+
label: "Publisher".freeze,
|
96
|
+
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
97
|
+
"skos:note" => %(A second property with the same name as this property has been declared in the dcterms: namespace \(http://purl.org/dc/terms/\). See the Introduction to the document "DCMI Metadata Terms" \(http://dublincore.org/documents/dcmi-terms/\) for an explanation.).freeze,
|
98
|
+
type: "rdf:Property".freeze
|
99
|
+
property :relation,
|
100
|
+
comment: %(A related resource.).freeze,
|
101
|
+
"dc:description" => %(Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system. ).freeze,
|
102
|
+
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#relation-006).freeze,
|
103
|
+
"dc:issued" => %(1999-07-02).freeze,
|
104
|
+
"dc:modified" => %(2008-01-14).freeze,
|
105
|
+
label: "Relation".freeze,
|
106
|
+
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
107
|
+
"skos:note" => %(A second property with the same name as this property has been declared in the dcterms: namespace \(http://purl.org/dc/terms/\). See the Introduction to the document "DCMI Metadata Terms" \(http://dublincore.org/documents/dcmi-terms/\) for an explanation.).freeze,
|
108
|
+
type: "rdf:Property".freeze
|
109
|
+
property :rights,
|
110
|
+
comment: %(Information about rights held in and over the resource.).freeze,
|
111
|
+
"dc:description" => %(Typically, rights information includes a statement about various property rights associated with the resource, including intellectual property rights.).freeze,
|
112
|
+
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#rights-006).freeze,
|
113
|
+
"dc:issued" => %(1999-07-02).freeze,
|
114
|
+
"dc:modified" => %(2008-01-14).freeze,
|
115
|
+
label: "Rights".freeze,
|
116
|
+
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
117
|
+
"skos:note" => %(A second property with the same name as this property has been declared in the dcterms: namespace \(http://purl.org/dc/terms/\). See the Introduction to the document "DCMI Metadata Terms" \(http://dublincore.org/documents/dcmi-terms/\) for an explanation.).freeze,
|
118
|
+
type: "rdf:Property".freeze
|
119
|
+
property :source,
|
120
|
+
comment: %(A related resource from which the described resource is derived.).freeze,
|
121
|
+
"dc:description" => %(The described resource may be derived from the related resource in whole or in part. Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system.).freeze,
|
122
|
+
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#source-006).freeze,
|
123
|
+
"dc:issued" => %(1999-07-02).freeze,
|
124
|
+
"dc:modified" => %(2008-01-14).freeze,
|
125
|
+
label: "Source".freeze,
|
126
|
+
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
127
|
+
"skos:note" => %(A second property with the same name as this property has been declared in the dcterms: namespace \(http://purl.org/dc/terms/\). See the Introduction to the document "DCMI Metadata Terms" \(http://dublincore.org/documents/dcmi-terms/\) for an explanation.).freeze,
|
128
|
+
type: "rdf:Property".freeze
|
129
|
+
property :subject,
|
130
|
+
comment: %(The topic of the resource.).freeze,
|
131
|
+
"dc:description" => %(Typically, the subject will be represented using keywords, key phrases, or classification codes. Recommended best practice is to use a controlled vocabulary.).freeze,
|
132
|
+
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#subject-007).freeze,
|
133
|
+
"dc:issued" => %(1999-07-02).freeze,
|
134
|
+
"dc:modified" => %(2012-06-14).freeze,
|
135
|
+
label: "Subject".freeze,
|
136
|
+
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
137
|
+
"skos:note" => %(A second property with the same name as this property has been declared in the dcterms: namespace \(http://purl.org/dc/terms/\). See the Introduction to the document "DCMI Metadata Terms" \(http://dublincore.org/documents/dcmi-terms/\) for an explanation.).freeze,
|
138
|
+
type: "rdf:Property".freeze
|
139
|
+
property :title,
|
140
|
+
comment: %(A name given to the resource.).freeze,
|
141
|
+
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#title-006).freeze,
|
142
|
+
"dc:issued" => %(1999-07-02).freeze,
|
143
|
+
"dc:modified" => %(2008-01-14).freeze,
|
144
|
+
label: "Title".freeze,
|
145
|
+
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
146
|
+
"skos:note" => %(A second property with the same name as this property has been declared in the dcterms: namespace \(http://purl.org/dc/terms/\). See the Introduction to the document "DCMI Metadata Terms" \(http://dublincore.org/documents/dcmi-terms/\) for an explanation.).freeze,
|
147
|
+
type: "rdf:Property".freeze
|
148
|
+
property :type,
|
149
|
+
comment: %(The nature or genre of the resource.).freeze,
|
150
|
+
"dc:description" => %(Recommended best practice is to use a controlled vocabulary such as the DCMI Type Vocabulary [DCMITYPE]. To describe the file format, physical medium, or dimensions of the resource, use the Format element.).freeze,
|
151
|
+
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#type-006).freeze,
|
152
|
+
"dc:issued" => %(1999-07-02).freeze,
|
153
|
+
"dc:modified" => %(2008-01-14).freeze,
|
154
|
+
label: "Type".freeze,
|
155
|
+
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
156
|
+
"skos:note" => %(A second property with the same name as this property has been declared in the dcterms: namespace \(http://purl.org/dc/terms/\). See the Introduction to the document "DCMI Metadata Terms" \(http://dublincore.org/documents/dcmi-terms/\) for an explanation.).freeze,
|
157
|
+
type: "rdf:Property".freeze
|
44
158
|
end
|
45
159
|
end
|
data/lib/rdf/vocab/doap.rb
CHANGED
@@ -1,124 +1,336 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
1
2
|
# This file generated automatically using vocab-fetch from http://usefulinc.com/ns/doap#
|
2
3
|
require 'rdf'
|
3
4
|
module RDF
|
4
5
|
class DOAP < StrictVocabulary("http://usefulinc.com/ns/doap#")
|
5
6
|
|
6
7
|
# Class definitions
|
7
|
-
|
8
|
-
%(
|
9
|
-
|
10
|
-
%(
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
%(
|
15
|
-
|
16
|
-
%(
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
%(
|
21
|
-
|
22
|
-
%(
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
%(
|
27
|
-
|
28
|
-
%(
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
%(
|
33
|
-
|
34
|
-
%(
|
35
|
-
|
36
|
-
|
8
|
+
term :ArchRepository,
|
9
|
+
comment: %(GNU Arch source code repository.).freeze,
|
10
|
+
label: "GNU Arch repository".freeze,
|
11
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
12
|
+
subClassOf: "doap:Repository".freeze,
|
13
|
+
type: "rdfs:Class".freeze
|
14
|
+
term :BKRepository,
|
15
|
+
comment: %(BitKeeper source code repository.).freeze,
|
16
|
+
label: "BitKeeper Repository".freeze,
|
17
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
18
|
+
subClassOf: "doap:Repository".freeze,
|
19
|
+
type: "rdfs:Class".freeze
|
20
|
+
term :BazaarBranch,
|
21
|
+
comment: %(Bazaar source code branch.).freeze,
|
22
|
+
label: "Bazaar Branch".freeze,
|
23
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
24
|
+
subClassOf: "doap:Repository".freeze,
|
25
|
+
type: "rdfs:Class".freeze
|
26
|
+
term :CVSRepository,
|
27
|
+
comment: %(CVS source code repository.).freeze,
|
28
|
+
label: "CVS Repository".freeze,
|
29
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
30
|
+
subClassOf: "doap:Repository".freeze,
|
31
|
+
type: "rdfs:Class".freeze
|
32
|
+
term :DarcsRepository,
|
33
|
+
comment: %(darcs source code repository.).freeze,
|
34
|
+
label: "darcs Repository".freeze,
|
35
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
36
|
+
subClassOf: "doap:Repository".freeze,
|
37
|
+
type: "rdfs:Class".freeze
|
38
|
+
term :GitRepository,
|
39
|
+
comment: %(Git source code repository.).freeze,
|
40
|
+
label: "Git Repository".freeze,
|
41
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
42
|
+
subClassOf: "doap:Repository".freeze,
|
43
|
+
type: "rdfs:Class".freeze
|
44
|
+
term :HgRepository,
|
45
|
+
comment: %(Mercurial source code repository.).freeze,
|
46
|
+
label: "Mercurial Repository".freeze,
|
47
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
48
|
+
subClassOf: "doap:Repository".freeze,
|
49
|
+
type: "rdfs:Class".freeze
|
50
|
+
term :Project,
|
51
|
+
comment: %(A project.).freeze,
|
52
|
+
label: "Project".freeze,
|
53
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
54
|
+
subClassOf: "http://xmlns.com/wordnet/1.6/Project".freeze,
|
55
|
+
type: "rdfs:Class".freeze
|
56
|
+
term :Repository,
|
57
|
+
comment: %(Source code repository.).freeze,
|
58
|
+
label: "Repository".freeze,
|
59
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
60
|
+
type: "rdfs:Class".freeze
|
61
|
+
term :SVNRepository,
|
62
|
+
comment: %(Subversion source code repository.).freeze,
|
63
|
+
label: "Subversion Repository".freeze,
|
64
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
65
|
+
subClassOf: "doap:Repository".freeze,
|
66
|
+
type: "rdfs:Class".freeze
|
67
|
+
term :Specification,
|
68
|
+
comment: %(A specification of a system's aspects, technical or otherwise.).freeze,
|
69
|
+
label: "Specification".freeze,
|
70
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
71
|
+
subClassOf: "rdfs:Resource".freeze,
|
72
|
+
type: "rdfs:Class".freeze
|
73
|
+
term :Version,
|
74
|
+
comment: %(Version information of a project release.).freeze,
|
75
|
+
label: "Version".freeze,
|
76
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
77
|
+
type: "rdfs:Class".freeze
|
37
78
|
|
38
79
|
# Property definitions
|
39
|
-
property :
|
40
|
-
%(
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
property :
|
47
|
-
%(
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
%(
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
%(
|
59
|
-
|
60
|
-
property :
|
61
|
-
%(
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
property :"
|
67
|
-
%(
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
property :
|
73
|
-
%(
|
74
|
-
|
75
|
-
|
76
|
-
%(
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
property :
|
85
|
-
%(
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
property :
|
98
|
-
%(
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
property :
|
105
|
-
%(
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
property :"
|
111
|
-
%(
|
112
|
-
|
113
|
-
|
114
|
-
%(
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
%(
|
121
|
-
|
122
|
-
|
80
|
+
property :"anon-root",
|
81
|
+
comment: %(Repository for anonymous access.).freeze,
|
82
|
+
domain: "doap:Repository".freeze,
|
83
|
+
label: "anonymous root".freeze,
|
84
|
+
range: "rdfs:Literal".freeze,
|
85
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
86
|
+
type: "rdf:Property".freeze
|
87
|
+
property :audience,
|
88
|
+
comment: %(Description of target user base).freeze,
|
89
|
+
domain: "doap:Project".freeze,
|
90
|
+
label: "audience".freeze,
|
91
|
+
range: "rdfs:Literal".freeze,
|
92
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
93
|
+
type: "rdf:Property".freeze
|
94
|
+
property :blog,
|
95
|
+
comment: %(URI of a blog related to a project).freeze,
|
96
|
+
domain: "doap:Project".freeze,
|
97
|
+
label: "blog".freeze,
|
98
|
+
range: "rdfs:Resource".freeze,
|
99
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
100
|
+
type: "rdf:Property".freeze
|
101
|
+
property :browse,
|
102
|
+
comment: %(Web browser interface to repository.).freeze,
|
103
|
+
domain: "doap:Repository".freeze,
|
104
|
+
label: "browse".freeze,
|
105
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
106
|
+
type: "rdf:Property".freeze
|
107
|
+
property :"bug-database",
|
108
|
+
comment: %(Bug tracker for a project.).freeze,
|
109
|
+
domain: "doap:Project".freeze,
|
110
|
+
label: "bug database".freeze,
|
111
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
112
|
+
type: "rdf:Property".freeze
|
113
|
+
property :category,
|
114
|
+
comment: %(A category of project.).freeze,
|
115
|
+
domain: "doap:Project".freeze,
|
116
|
+
label: "category".freeze,
|
117
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
118
|
+
type: "rdf:Property".freeze
|
119
|
+
property :created,
|
120
|
+
comment: %(Date when something was created, in YYYY-MM-DD form. e.g. 2004-04-05).freeze,
|
121
|
+
label: "created".freeze,
|
122
|
+
range: "rdfs:Literal".freeze,
|
123
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
124
|
+
type: "rdf:Property".freeze
|
125
|
+
property :description,
|
126
|
+
comment: %(Plain text description of a project, of 2-4 sentences in length.).freeze,
|
127
|
+
label: "description".freeze,
|
128
|
+
range: "rdfs:Literal".freeze,
|
129
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
130
|
+
type: "rdf:Property".freeze
|
131
|
+
property :developer,
|
132
|
+
comment: %(Developer of software for the project.).freeze,
|
133
|
+
domain: "doap:Project".freeze,
|
134
|
+
label: "developer".freeze,
|
135
|
+
range: "foaf:Person".freeze,
|
136
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
137
|
+
type: "rdf:Property".freeze
|
138
|
+
property :documenter,
|
139
|
+
comment: %(Contributor of documentation to the project.).freeze,
|
140
|
+
domain: "doap:Project".freeze,
|
141
|
+
label: "documenter".freeze,
|
142
|
+
range: "foaf:Person".freeze,
|
143
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
144
|
+
type: "rdf:Property".freeze
|
145
|
+
property :"download-mirror",
|
146
|
+
comment: %(Mirror of software download web page.).freeze,
|
147
|
+
domain: "doap:Project".freeze,
|
148
|
+
label: "download mirror".freeze,
|
149
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
150
|
+
type: "rdf:Property".freeze
|
151
|
+
property :"download-page",
|
152
|
+
comment: %(Web page from which the project software can be downloaded.).freeze,
|
153
|
+
domain: "doap:Project".freeze,
|
154
|
+
label: "download page".freeze,
|
155
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
156
|
+
type: "rdf:Property".freeze
|
157
|
+
property :"file-release",
|
158
|
+
comment: %(URI of download associated with this release.).freeze,
|
159
|
+
domain: "doap:Version".freeze,
|
160
|
+
label: "file-release".freeze,
|
161
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
162
|
+
type: "rdf:Property".freeze
|
163
|
+
property :helper,
|
164
|
+
comment: %(Project contributor.).freeze,
|
165
|
+
domain: "doap:Project".freeze,
|
166
|
+
label: "helper".freeze,
|
167
|
+
range: "foaf:Person".freeze,
|
168
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
169
|
+
type: "rdf:Property".freeze
|
170
|
+
property :homepage,
|
171
|
+
comment: %(URL of a project's homepage,
|
172
|
+
associated with exactly one project.).freeze,
|
173
|
+
domain: "doap:Project".freeze,
|
174
|
+
label: "homepage".freeze,
|
175
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
176
|
+
subPropertyOf: "foaf:homepage".freeze,
|
177
|
+
type: "rdf:Property".freeze
|
178
|
+
property :implements,
|
179
|
+
comment: %(A specification that a project implements. Could be a standard, API or legally defined level of conformance.).freeze,
|
180
|
+
domain: "doap:Project".freeze,
|
181
|
+
label: "Implements specification".freeze,
|
182
|
+
range: "doap:Specification".freeze,
|
183
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
184
|
+
type: "rdf:Property".freeze
|
185
|
+
property :language,
|
186
|
+
comment: %(ISO language code a project has been translated into).freeze,
|
187
|
+
domain: "doap:Project".freeze,
|
188
|
+
label: "language".freeze,
|
189
|
+
range: "rdfs:Literal".freeze,
|
190
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
191
|
+
type: "rdf:Property".freeze
|
192
|
+
property :license,
|
193
|
+
comment: %(The URI of an RDF description of the license the software is distributed under.).freeze,
|
194
|
+
label: "license".freeze,
|
195
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
196
|
+
type: "rdf:Property".freeze
|
197
|
+
property :location,
|
198
|
+
comment: %(Location of a repository.).freeze,
|
199
|
+
domain: "doap:Repository".freeze,
|
200
|
+
label: "repository location".freeze,
|
201
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
202
|
+
type: "rdf:Property".freeze
|
203
|
+
property :"mailing-list",
|
204
|
+
comment: %(Mailing list home page or email address.).freeze,
|
205
|
+
domain: "doap:Project".freeze,
|
206
|
+
label: "mailing list".freeze,
|
207
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
208
|
+
type: "rdf:Property".freeze
|
209
|
+
property :maintainer,
|
210
|
+
comment: %(Maintainer of a project, a project leader.).freeze,
|
211
|
+
domain: "doap:Project".freeze,
|
212
|
+
label: "maintainer".freeze,
|
213
|
+
range: "foaf:Person".freeze,
|
214
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
215
|
+
type: "rdf:Property".freeze
|
216
|
+
property :module,
|
217
|
+
comment: %(Module name of a repository.).freeze,
|
218
|
+
domain: "_:g2158960040".freeze,
|
219
|
+
label: "module".freeze,
|
220
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
221
|
+
type: "rdf:Property".freeze
|
222
|
+
property :name,
|
223
|
+
comment: %(A name of something.).freeze,
|
224
|
+
label: "name".freeze,
|
225
|
+
range: "rdfs:Literal".freeze,
|
226
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
227
|
+
subPropertyOf: "rdfs:label".freeze,
|
228
|
+
type: "rdf:Property".freeze
|
229
|
+
property :"old-homepage",
|
230
|
+
comment: %(URL of a project's past homepage,
|
231
|
+
associated with exactly one project.).freeze,
|
232
|
+
domain: "doap:Project".freeze,
|
233
|
+
label: "old homepage".freeze,
|
234
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
235
|
+
subPropertyOf: "foaf:homepage".freeze,
|
236
|
+
type: "rdf:Property".freeze
|
237
|
+
property :os,
|
238
|
+
comment: %(Operating system that a project is limited to. Omit this property if the project is not OS-specific.).freeze,
|
239
|
+
domain: "doap:Project".freeze,
|
240
|
+
label: "operating system".freeze,
|
241
|
+
range: "rdfs:Literal".freeze,
|
242
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
243
|
+
type: "rdf:Property".freeze
|
244
|
+
property :platform,
|
245
|
+
comment: %(Indicator of software platform \(non-OS specific\), e.g. Java, Firefox, ECMA CLR).freeze,
|
246
|
+
domain: "doap:Project".freeze,
|
247
|
+
label: "platform".freeze,
|
248
|
+
range: "rdfs:Literal".freeze,
|
249
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
250
|
+
type: "rdf:Property".freeze
|
251
|
+
property :"programming-language",
|
252
|
+
comment: %(Programming language a project is implemented in or intended for use with.).freeze,
|
253
|
+
domain: "doap:Project".freeze,
|
254
|
+
label: "programming language".freeze,
|
255
|
+
range: "rdfs:Literal".freeze,
|
256
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
257
|
+
type: "rdf:Property".freeze
|
258
|
+
property :release,
|
259
|
+
comment: %(A project release.).freeze,
|
260
|
+
domain: "doap:Project".freeze,
|
261
|
+
label: "release".freeze,
|
262
|
+
range: "doap:Version".freeze,
|
263
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
264
|
+
type: "rdf:Property".freeze
|
265
|
+
property :repository,
|
266
|
+
comment: %(Source code repository.).freeze,
|
267
|
+
domain: "doap:Project".freeze,
|
268
|
+
label: "repository".freeze,
|
269
|
+
range: "doap:Repository".freeze,
|
270
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
271
|
+
type: "rdf:Property".freeze
|
272
|
+
property :revision,
|
273
|
+
comment: %(Revision identifier of a software release.).freeze,
|
274
|
+
domain: "doap:Version".freeze,
|
275
|
+
label: "revision".freeze,
|
276
|
+
range: "rdfs:Literal".freeze,
|
277
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
278
|
+
type: "rdf:Property".freeze
|
279
|
+
property :screenshots,
|
280
|
+
comment: %(Web page with screenshots of project.).freeze,
|
281
|
+
domain: "doap:Project".freeze,
|
282
|
+
label: "screenshots".freeze,
|
283
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
284
|
+
type: "rdf:Property".freeze
|
285
|
+
property :"service-endpoint",
|
286
|
+
comment: %(The URI of a web service endpoint where software as a service may be accessed).freeze,
|
287
|
+
domain: "doap:Project".freeze,
|
288
|
+
label: "service endpoint".freeze,
|
289
|
+
range: "rdfs:Resource".freeze,
|
290
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
291
|
+
type: "rdf:Property".freeze
|
292
|
+
property :shortdesc,
|
293
|
+
comment: %(Short \(8 or 9 words\) plain text description of a project.).freeze,
|
294
|
+
label: "short description".freeze,
|
295
|
+
range: "rdfs:Literal".freeze,
|
296
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
297
|
+
type: "rdf:Property".freeze
|
298
|
+
property :tester,
|
299
|
+
comment: %(A tester or other quality control contributor.).freeze,
|
300
|
+
domain: "doap:Project".freeze,
|
301
|
+
label: "tester".freeze,
|
302
|
+
range: "foaf:Person".freeze,
|
303
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
304
|
+
type: "rdf:Property".freeze
|
305
|
+
property :translator,
|
306
|
+
comment: %(Contributor of translations to the project.).freeze,
|
307
|
+
domain: "doap:Project".freeze,
|
308
|
+
label: "translator".freeze,
|
309
|
+
range: "foaf:Person".freeze,
|
310
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
311
|
+
type: "rdf:Property".freeze
|
312
|
+
property :vendor,
|
313
|
+
comment: %(Vendor organization: commercial, free or otherwise).freeze,
|
314
|
+
domain: "doap:Project".freeze,
|
315
|
+
label: "vendor".freeze,
|
316
|
+
range: "foaf:Organization".freeze,
|
317
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
318
|
+
type: "rdf:Property".freeze
|
319
|
+
property :wiki,
|
320
|
+
comment: %(URL of Wiki for collaborative discussion of project.).freeze,
|
321
|
+
domain: "doap:Project".freeze,
|
322
|
+
label: "wiki".freeze,
|
323
|
+
"rdfs:isDefinedBy" => %(doap:).freeze,
|
324
|
+
type: "rdf:Property".freeze
|
325
|
+
|
326
|
+
# Extra definitions
|
327
|
+
term :"",
|
328
|
+
"dc11:creator" => %(Edd Dumbill).freeze,
|
329
|
+
"dc11:description" => %(The Description of a Project \(DOAP\) vocabulary, described using W3C RDF Schema and the Web Ontology Language.).freeze,
|
330
|
+
"dc11:format" => %(application/rdf+xml).freeze,
|
331
|
+
"dc11:rights" => %(Copyright © 2004-2009 Edd Dumbill).freeze,
|
332
|
+
"dc11:title" => %(Description of a Project \(DOAP\) vocabulary).freeze,
|
333
|
+
"owl:imports" => %(foaf:index.rdf).freeze,
|
334
|
+
type: "owl:Ontology".freeze
|
123
335
|
end
|
124
336
|
end
|