rdf 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/CREDITS +1 -0
  3. data/VERSION +1 -1
  4. data/lib/rdf.rb +10 -48
  5. data/lib/rdf/cli/vocab-loader.rb +78 -142
  6. data/lib/rdf/mixin/enumerable.rb +25 -0
  7. data/lib/rdf/mixin/mutable.rb +3 -0
  8. data/lib/rdf/model/graph.rb +1 -1
  9. data/lib/rdf/model/node.rb +25 -2
  10. data/lib/rdf/model/statement.rb +20 -12
  11. data/lib/rdf/model/uri.rb +11 -2
  12. data/lib/rdf/nquads.rb +8 -6
  13. data/lib/rdf/ntriples/writer.rb +14 -10
  14. data/lib/rdf/query/pattern.rb +10 -8
  15. data/lib/rdf/reader.rb +11 -2
  16. data/lib/rdf/repository.rb +1 -1
  17. data/lib/rdf/vocab.rb +396 -96
  18. data/lib/rdf/vocab/cc.rb +117 -25
  19. data/lib/rdf/vocab/cert.rb +230 -117
  20. data/lib/rdf/vocab/dc.rb +930 -233
  21. data/lib/rdf/vocab/dc11.rb +151 -37
  22. data/lib/rdf/vocab/doap.rb +326 -114
  23. data/lib/rdf/vocab/exif.rb +930 -533
  24. data/lib/rdf/vocab/foaf.rb +602 -346
  25. data/lib/rdf/vocab/geo.rb +139 -33
  26. data/lib/rdf/vocab/gr.rb +1551 -1084
  27. data/lib/rdf/vocab/ht.rb +319 -0
  28. data/lib/rdf/vocab/ical.rb +507 -349
  29. data/lib/rdf/vocab/ma.rb +504 -280
  30. data/lib/rdf/vocab/mo.rb +2425 -876
  31. data/lib/rdf/vocab/og.rb +178 -90
  32. data/lib/rdf/vocab/owl.rb +513 -219
  33. data/lib/rdf/vocab/prov.rb +1557 -479
  34. data/lib/rdf/vocab/rdfs.rb +107 -31
  35. data/lib/rdf/vocab/rdfv.rb +165 -0
  36. data/lib/rdf/vocab/rsa.rb +61 -18
  37. data/lib/rdf/vocab/rss.rb +55 -22
  38. data/lib/rdf/vocab/schema.rb +8590 -3995
  39. data/lib/rdf/vocab/sioc.rb +657 -218
  40. data/lib/rdf/vocab/skos.rb +227 -134
  41. data/lib/rdf/vocab/skosxl.rb +47 -33
  42. data/lib/rdf/vocab/vcard.rb +693 -327
  43. data/lib/rdf/vocab/void.rb +175 -132
  44. data/lib/rdf/vocab/vs.rb +27 -0
  45. data/lib/rdf/vocab/wdrs.rb +123 -119
  46. data/lib/rdf/vocab/wot.rb +155 -45
  47. data/lib/rdf/vocab/xhtml.rb +2 -1
  48. data/lib/rdf/vocab/xhv.rb +496 -231
  49. data/lib/rdf/vocab/xsd.rb +382 -53
  50. data/lib/rdf/writer.rb +8 -4
  51. metadata +5 -4
  52. data/lib/rdf/vocab/http.rb +0 -84
  53. data/lib/rdf/vocab/v.rb +0 -154
@@ -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, :label => 'Contributor', :comment =>
8
- %(An entity responsible for making contributions to the
9
- resource.)
10
- property :coverage, :label => 'Coverage', :comment =>
11
- %(The spatial or temporal topic of the resource, the spatial
12
- applicability of the resource, or the jurisdiction under which
13
- the resource is relevant.)
14
- property :creator, :label => 'Creator', :comment =>
15
- %(An entity primarily responsible for making the resource.)
16
- property :date, :label => 'Date', :comment =>
17
- %(A point or period of time associated with an event in the
18
- lifecycle of the resource.)
19
- property :description, :label => 'Description', :comment =>
20
- %(An account of the resource.)
21
- property :format, :label => 'Format', :comment =>
22
- %(The file format, physical medium, or dimensions of the
23
- resource.)
24
- property :identifier, :label => 'Identifier', :comment =>
25
- %(An unambiguous reference to the resource within a given
26
- context.)
27
- property :language, :label => 'Language', :comment =>
28
- %(A language of the resource.)
29
- property :publisher, :label => 'Publisher', :comment =>
30
- %(An entity responsible for making the resource available.)
31
- property :relation, :label => 'Relation', :comment =>
32
- %(A related resource.)
33
- property :rights, :label => 'Rights', :comment =>
34
- %(Information about rights held in and over the resource.)
35
- property :source, :label => 'Source', :comment =>
36
- %(A related resource from which the described resource is
37
- derived.)
38
- property :subject, :label => 'Subject', :comment =>
39
- %(The topic of the resource.)
40
- property :title, :label => 'Title', :comment =>
41
- %(A name given to the resource.)
42
- property :type, :label => 'Type', :comment =>
43
- %(The nature or genre of the resource.)
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
@@ -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
- property :BazaarBranch, :label => 'Bazaar Branch', :comment =>
8
- %(Bazaar source code branch.)
9
- property :BKRepository, :label => 'BitKeeper Repository', :comment =>
10
- %(BitKeeper source code repository.)
11
- property :BKRepository, :label => 'BitKeeper Repository', :comment =>
12
- %(BitKeeper source code repository.)
13
- property :CVSRepository, :label => 'CVS Repository', :comment =>
14
- %(CVS source code repository.)
15
- property :CVSRepository, :label => 'CVS Repository', :comment =>
16
- %(CVS source code repository.)
17
- property :ArchRepository, :label => 'GNU Arch repository', :comment =>
18
- %(GNU Arch source code repository.)
19
- property :ArchRepository, :label => 'GNU Arch repository', :comment =>
20
- %(GNU Arch source code repository.)
21
- property :GitRepository, :label => 'Git Repository', :comment =>
22
- %(Git source code repository.)
23
- property :HgRepository, :label => 'Mercurial Repository', :comment =>
24
- %(Mercurial source code repository.)
25
- property :Project, :label => 'Project', :comment =>
26
- %(A project.)
27
- property :Repository, :label => 'Repository', :comment =>
28
- %(Source code repository.)
29
- property :Specification, :label => 'Specification', :comment =>
30
- %(A specification of a system's aspects, technical or otherwise.)
31
- property :SVNRepository, :label => 'Subversion Repository', :comment =>
32
- %(Subversion source code repository.)
33
- property :Version, :label => 'Version', :comment =>
34
- %(Version information of a project release.)
35
- property :DarcsRepository, :label => 'darcs Repository', :comment =>
36
- %(darcs source code repository.)
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 :implements, :label => 'Implements specification', :comment =>
40
- %(A specification that a project implements. Could be a
41
- standard, API or legally defined level of conformance.)
42
- property :"anon-root", :label => 'anonymous root', :comment =>
43
- %(Repository for anonymous access.)
44
- property :audience, :label => 'audience', :comment =>
45
- %(Description of target user base)
46
- property :blog, :label => 'blog', :comment =>
47
- %(URI of a blog related to a project)
48
- property :browse, :label => 'browse', :comment =>
49
- %(Web browser interface to repository.)
50
- property :"bug-database", :label => 'bug database', :comment =>
51
- %(Bug tracker for a project.)
52
- property :category, :label => 'category', :comment =>
53
- %(A category of project.)
54
- property :created, :label => 'created', :comment =>
55
- %(Date when something was created, in YYYY-MM-DD form. e.g.
56
- 2004-04-05)
57
- property :description, :label => 'description', :comment =>
58
- %(Plain text description of a project, of 2-4 sentences in
59
- length.)
60
- property :developer, :label => 'developer', :comment =>
61
- %(Developer of software for the project.)
62
- property :documenter, :label => 'documenter', :comment =>
63
- %(Contributor of documentation to the project.)
64
- property :"download-mirror", :label => 'download mirror', :comment =>
65
- %(Mirror of software download web page.)
66
- property :"download-page", :label => 'download page', :comment =>
67
- %(Web page from which the project software can be downloaded.)
68
- property :"file-release", :label => 'file-release', :comment =>
69
- %(URI of download associated with this release.)
70
- property :helper, :label => 'helper', :comment =>
71
- %(Project contributor.)
72
- property :homepage, :label => 'homepage', :comment =>
73
- %(URL of a project's homepage, associated with exactly one
74
- project.)
75
- property :language, :label => 'language', :comment =>
76
- %(ISO language code a project has been translated into)
77
- property :license, :label => 'license', :comment =>
78
- %(The URI of an RDF description of the license the software is
79
- distributed under.)
80
- property :"mailing-list", :label => 'mailing list', :comment =>
81
- %(Mailing list home page or email address.)
82
- property :maintainer, :label => 'maintainer', :comment =>
83
- %(Maintainer of a project, a project leader.)
84
- property :module, :label => 'module', :comment =>
85
- %(Module name of a repository.)
86
- property :name, :label => 'name', :comment =>
87
- %(A name of something.)
88
- property :"old-homepage", :label => 'old homepage', :comment =>
89
- %(URL of a project's past homepage, associated with exactly one
90
- project.)
91
- property :os, :label => 'operating system', :comment =>
92
- %(Operating system that a project is limited to. Omit this
93
- property if the project is not OS-specific.)
94
- property :platform, :label => 'platform', :comment =>
95
- %(Indicator of software platform \(non-OS specific\), e.g. Java,
96
- Firefox, ECMA CLR)
97
- property :"programming-language", :label => 'programming language', :comment =>
98
- %(Programming language a project is implemented in or intended
99
- for use with.)
100
- property :release, :label => 'release', :comment =>
101
- %(A project release.)
102
- property :repository, :label => 'repository', :comment =>
103
- %(Source code repository.)
104
- property :location, :label => 'repository location', :comment =>
105
- %(Location of a repository.)
106
- property :revision, :label => 'revision', :comment =>
107
- %(Revision identifier of a software release.)
108
- property :screenshots, :label => 'screenshots', :comment =>
109
- %(Web page with screenshots of project.)
110
- property :"service-endpoint", :label => 'service endpoint', :comment =>
111
- %(The URI of a web service endpoint where software as a service
112
- may be accessed)
113
- property :shortdesc, :label => 'short description', :comment =>
114
- %(Short \(8 or 9 words\) plain text description of a project.)
115
- property :tester, :label => 'tester', :comment =>
116
- %(A tester or other quality control contributor.)
117
- property :translator, :label => 'translator', :comment =>
118
- %(Contributor of translations to the project.)
119
- property :vendor, :label => 'vendor', :comment =>
120
- %(Vendor organization: commercial, free or otherwise)
121
- property :wiki, :label => 'wiki', :comment =>
122
- %(URL of Wiki for collaborative discussion of project.)
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