rdf 1.99.1 → 2.0.0.beta1
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 +4 -4
- data/{README → README.md} +9 -44
- data/VERSION +1 -1
- data/bin/rdf +1 -1
- data/lib/rdf.rb +40 -49
- data/lib/rdf/changeset.rb +161 -0
- data/lib/rdf/cli.rb +195 -33
- data/lib/rdf/cli/vocab-loader.rb +13 -3
- data/lib/rdf/format.rb +44 -26
- data/lib/rdf/mixin/enumerable.rb +133 -97
- data/lib/rdf/mixin/enumerator.rb +8 -0
- data/lib/rdf/mixin/indexable.rb +1 -1
- data/lib/rdf/mixin/mutable.rb +101 -22
- data/lib/rdf/mixin/queryable.rb +21 -32
- data/lib/rdf/mixin/transactable.rb +94 -0
- data/lib/rdf/mixin/writable.rb +12 -3
- data/lib/rdf/model/dataset.rb +48 -0
- data/lib/rdf/model/graph.rb +73 -43
- data/lib/rdf/model/list.rb +61 -33
- data/lib/rdf/model/literal.rb +20 -19
- data/lib/rdf/model/literal/double.rb +20 -4
- data/lib/rdf/model/literal/numeric.rb +15 -13
- data/lib/rdf/model/node.rb +15 -16
- data/lib/rdf/model/statement.rb +1 -43
- data/lib/rdf/model/term.rb +10 -8
- data/lib/rdf/model/uri.rb +35 -34
- data/lib/rdf/model/value.rb +1 -1
- data/lib/rdf/nquads.rb +2 -11
- data/lib/rdf/ntriples.rb +1 -1
- data/lib/rdf/ntriples/reader.rb +33 -46
- data/lib/rdf/ntriples/writer.rb +42 -5
- data/lib/rdf/query.rb +6 -40
- data/lib/rdf/query/pattern.rb +4 -17
- data/lib/rdf/query/solutions.rb +6 -6
- data/lib/rdf/reader.rb +65 -14
- data/lib/rdf/repository.rb +365 -229
- data/lib/rdf/transaction.rb +211 -84
- data/lib/rdf/util.rb +1 -0
- data/lib/rdf/util/cache.rb +5 -5
- data/lib/rdf/util/file.rb +12 -9
- data/lib/rdf/util/logger.rb +272 -0
- data/lib/rdf/version.rb +2 -2
- data/lib/rdf/vocab/owl.rb +82 -77
- data/lib/rdf/vocab/rdfs.rb +22 -17
- data/lib/rdf/vocab/xsd.rb +5 -0
- data/lib/rdf/vocabulary.rb +50 -56
- data/lib/rdf/writer.rb +104 -52
- metadata +45 -90
- data/lib/rdf/mixin/inferable.rb +0 -5
- data/lib/rdf/vocab/cc.rb +0 -128
- data/lib/rdf/vocab/cert.rb +0 -245
- data/lib/rdf/vocab/dc.rb +0 -948
- data/lib/rdf/vocab/dc11.rb +0 -167
- data/lib/rdf/vocab/dcat.rb +0 -214
- data/lib/rdf/vocab/doap.rb +0 -337
- data/lib/rdf/vocab/exif.rb +0 -941
- data/lib/rdf/vocab/foaf.rb +0 -614
- data/lib/rdf/vocab/geo.rb +0 -157
- data/lib/rdf/vocab/gr.rb +0 -1501
- data/lib/rdf/vocab/ht.rb +0 -236
- data/lib/rdf/vocab/ical.rb +0 -528
- data/lib/rdf/vocab/ma.rb +0 -513
- data/lib/rdf/vocab/mo.rb +0 -2412
- data/lib/rdf/vocab/og.rb +0 -222
- data/lib/rdf/vocab/ogc.rb +0 -58
- data/lib/rdf/vocab/prov.rb +0 -1550
- data/lib/rdf/vocab/rsa.rb +0 -72
- data/lib/rdf/vocab/rss.rb +0 -66
- data/lib/rdf/vocab/schema.rb +0 -10569
- data/lib/rdf/vocab/sioc.rb +0 -669
- data/lib/rdf/vocab/skos.rb +0 -238
- data/lib/rdf/vocab/skosxl.rb +0 -57
- data/lib/rdf/vocab/v.rb +0 -383
- data/lib/rdf/vocab/vcard.rb +0 -841
- data/lib/rdf/vocab/vmd.rb +0 -383
- data/lib/rdf/vocab/void.rb +0 -186
- data/lib/rdf/vocab/vs.rb +0 -28
- data/lib/rdf/vocab/wdrs.rb +0 -134
- data/lib/rdf/vocab/wot.rb +0 -167
- data/lib/rdf/vocab/xhtml.rb +0 -8
- data/lib/rdf/vocab/xhv.rb +0 -505
data/lib/rdf/vocab/dc11.rb
DELETED
@@ -1,167 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
# This file generated automatically using vocab-fetch from http://purl.org/dc/elements/1.1/
|
3
|
-
require 'rdf'
|
4
|
-
module RDF
|
5
|
-
# @deprecated Please use `RDF::Vocab::DC11` from the rdf-vocab gem instead
|
6
|
-
class DC11 < RDF::StrictVocabulary("http://purl.org/dc/elements/1.1/")
|
7
|
-
|
8
|
-
# Property definitions
|
9
|
-
property :contributor,
|
10
|
-
comment: %(An entity responsible for making contributions to the resource.).freeze,
|
11
|
-
"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,
|
12
|
-
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#contributor-006).freeze,
|
13
|
-
"dc:issued" => %(1999-07-02).freeze,
|
14
|
-
"dc:modified" => %(2008-01-14).freeze,
|
15
|
-
label: "Contributor".freeze,
|
16
|
-
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
17
|
-
"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,
|
18
|
-
type: "rdf:Property".freeze
|
19
|
-
property :coverage,
|
20
|
-
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,
|
21
|
-
"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,
|
22
|
-
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#coverage-006).freeze,
|
23
|
-
"dc:issued" => %(1999-07-02).freeze,
|
24
|
-
"dc:modified" => %(2008-01-14).freeze,
|
25
|
-
label: "Coverage".freeze,
|
26
|
-
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
27
|
-
"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,
|
28
|
-
type: "rdf:Property".freeze
|
29
|
-
property :creator,
|
30
|
-
comment: %(An entity primarily responsible for making the resource.).freeze,
|
31
|
-
"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,
|
32
|
-
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#creator-006).freeze,
|
33
|
-
"dc:issued" => %(1999-07-02).freeze,
|
34
|
-
"dc:modified" => %(2008-01-14).freeze,
|
35
|
-
label: "Creator".freeze,
|
36
|
-
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
37
|
-
"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,
|
38
|
-
type: "rdf:Property".freeze
|
39
|
-
property :date,
|
40
|
-
comment: %(A point or period of time associated with an event in the lifecycle of the resource.).freeze,
|
41
|
-
"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,
|
42
|
-
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#date-006).freeze,
|
43
|
-
"dc:issued" => %(1999-07-02).freeze,
|
44
|
-
"dc:modified" => %(2008-01-14).freeze,
|
45
|
-
label: "Date".freeze,
|
46
|
-
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
47
|
-
"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,
|
48
|
-
type: "rdf:Property".freeze
|
49
|
-
property :description,
|
50
|
-
comment: %(An account of the resource.).freeze,
|
51
|
-
"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,
|
52
|
-
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#description-006).freeze,
|
53
|
-
"dc:issued" => %(1999-07-02).freeze,
|
54
|
-
"dc:modified" => %(2008-01-14).freeze,
|
55
|
-
label: "Description".freeze,
|
56
|
-
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
57
|
-
"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,
|
58
|
-
type: "rdf:Property".freeze
|
59
|
-
property :format,
|
60
|
-
comment: %(The file format, physical medium, or dimensions of the resource.).freeze,
|
61
|
-
"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,
|
62
|
-
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#format-007).freeze,
|
63
|
-
"dc:issued" => %(1999-07-02).freeze,
|
64
|
-
"dc:modified" => %(2008-01-14).freeze,
|
65
|
-
label: "Format".freeze,
|
66
|
-
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
67
|
-
"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,
|
68
|
-
type: "rdf:Property".freeze
|
69
|
-
property :identifier,
|
70
|
-
comment: %(An unambiguous reference to the resource within a given context.).freeze,
|
71
|
-
"dc:description" => %(Recommended best practice is to identify the resource by means of a string conforming to a formal identification system. ).freeze,
|
72
|
-
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#identifier-006).freeze,
|
73
|
-
"dc:issued" => %(1999-07-02).freeze,
|
74
|
-
"dc:modified" => %(2008-01-14).freeze,
|
75
|
-
label: "Identifier".freeze,
|
76
|
-
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
77
|
-
"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,
|
78
|
-
type: "rdf:Property".freeze
|
79
|
-
property :language,
|
80
|
-
comment: %(A language of the resource.).freeze,
|
81
|
-
"dc:description" => %(Recommended best practice is to use a controlled vocabulary such as RFC 4646 [RFC4646].).freeze,
|
82
|
-
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#language-007).freeze,
|
83
|
-
"dc:issued" => %(1999-07-02).freeze,
|
84
|
-
"dc:modified" => %(2008-01-14).freeze,
|
85
|
-
label: "Language".freeze,
|
86
|
-
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
87
|
-
"rdfs:seeAlso" => %(http://www.ietf.org/rfc/rfc4646.txt).freeze,
|
88
|
-
"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,
|
89
|
-
type: "rdf:Property".freeze
|
90
|
-
property :publisher,
|
91
|
-
comment: %(An entity responsible for making the resource available.).freeze,
|
92
|
-
"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,
|
93
|
-
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#publisher-006).freeze,
|
94
|
-
"dc:issued" => %(1999-07-02).freeze,
|
95
|
-
"dc:modified" => %(2008-01-14).freeze,
|
96
|
-
label: "Publisher".freeze,
|
97
|
-
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
98
|
-
"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,
|
99
|
-
type: "rdf:Property".freeze
|
100
|
-
property :relation,
|
101
|
-
comment: %(A related resource.).freeze,
|
102
|
-
"dc:description" => %(Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system. ).freeze,
|
103
|
-
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#relation-006).freeze,
|
104
|
-
"dc:issued" => %(1999-07-02).freeze,
|
105
|
-
"dc:modified" => %(2008-01-14).freeze,
|
106
|
-
label: "Relation".freeze,
|
107
|
-
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
108
|
-
"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,
|
109
|
-
type: "rdf:Property".freeze
|
110
|
-
property :rights,
|
111
|
-
comment: %(Information about rights held in and over the resource.).freeze,
|
112
|
-
"dc:description" => %(Typically, rights information includes a statement about various property rights associated with the resource, including intellectual property rights.).freeze,
|
113
|
-
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#rights-006).freeze,
|
114
|
-
"dc:issued" => %(1999-07-02).freeze,
|
115
|
-
"dc:modified" => %(2008-01-14).freeze,
|
116
|
-
label: "Rights".freeze,
|
117
|
-
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
118
|
-
"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,
|
119
|
-
type: "rdf:Property".freeze
|
120
|
-
property :source,
|
121
|
-
comment: %(A related resource from which the described resource is derived.).freeze,
|
122
|
-
"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,
|
123
|
-
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#source-006).freeze,
|
124
|
-
"dc:issued" => %(1999-07-02).freeze,
|
125
|
-
"dc:modified" => %(2008-01-14).freeze,
|
126
|
-
label: "Source".freeze,
|
127
|
-
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
128
|
-
"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,
|
129
|
-
type: "rdf:Property".freeze
|
130
|
-
property :subject,
|
131
|
-
comment: %(The topic of the resource.).freeze,
|
132
|
-
"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,
|
133
|
-
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#subject-007).freeze,
|
134
|
-
"dc:issued" => %(1999-07-02).freeze,
|
135
|
-
"dc:modified" => %(2012-06-14).freeze,
|
136
|
-
label: "Subject".freeze,
|
137
|
-
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
138
|
-
"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,
|
139
|
-
type: "rdf:Property".freeze
|
140
|
-
property :title,
|
141
|
-
comment: %(A name given to the resource.).freeze,
|
142
|
-
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#title-006).freeze,
|
143
|
-
"dc:issued" => %(1999-07-02).freeze,
|
144
|
-
"dc:modified" => %(2008-01-14).freeze,
|
145
|
-
label: "Title".freeze,
|
146
|
-
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
147
|
-
"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,
|
148
|
-
type: "rdf:Property".freeze
|
149
|
-
property :type,
|
150
|
-
comment: %(The nature or genre of the resource.).freeze,
|
151
|
-
"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,
|
152
|
-
"dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#type-006).freeze,
|
153
|
-
"dc:issued" => %(1999-07-02).freeze,
|
154
|
-
"dc:modified" => %(2008-01-14).freeze,
|
155
|
-
label: "Type".freeze,
|
156
|
-
"rdfs:isDefinedBy" => %(dc11:).freeze,
|
157
|
-
"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,
|
158
|
-
type: "rdf:Property".freeze
|
159
|
-
|
160
|
-
# Extra definitions
|
161
|
-
term :"",
|
162
|
-
"dc:modified" => %(2012-06-14).freeze,
|
163
|
-
"dc:publisher" => %(http://purl.org/dc/aboutdcmi#DCMI).freeze,
|
164
|
-
"dc:title" => %(Dublin Core Metadata Element Set, Version 1.1).freeze,
|
165
|
-
label: "".freeze
|
166
|
-
end
|
167
|
-
end
|
data/lib/rdf/vocab/dcat.rb
DELETED
@@ -1,214 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
# This file generated automatically using vocab-fetch from http://www.w3.org/ns/dcat#
|
3
|
-
require 'rdf'
|
4
|
-
module RDF
|
5
|
-
# @deprecated Please use `RDF::Vocab::DCAT` from the rdf-vocab gem instead
|
6
|
-
class DCAT < RDF::StrictVocabulary("http://www.w3.org/ns/dcat#")
|
7
|
-
|
8
|
-
# Class definitions
|
9
|
-
term :Catalog,
|
10
|
-
comment: %(A curated collection of metadata about datasets).freeze,
|
11
|
-
"http://purl.org/vocab/vann/usageNote" => %(Typically, a web-based data catalog is represented as a single instance of this class.).freeze,
|
12
|
-
label: "Catalog".freeze,
|
13
|
-
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
|
14
|
-
type: ["rdfs:Class".freeze, "owl:Class".freeze]
|
15
|
-
term :CatalogRecord,
|
16
|
-
comment: %(A record in a data catalog, describing a single dataset.).freeze,
|
17
|
-
"http://purl.org/vocab/vann/usageNote" => %(This class is optional and not all catalogs will use it. It exists for
|
18
|
-
catalogs where a distinction is made between metadata about a dataset and
|
19
|
-
metadata about the dataset's entry in the catalog. For example, the publication
|
20
|
-
date property of the dataset reflects the date when the information was originally
|
21
|
-
made available by the publishing agency, while the publication date of the catalog
|
22
|
-
record is the date when the dataset was added to the catalog. In cases where both
|
23
|
-
dates differ, or where only the latter is known, the publication date should only
|
24
|
-
be specified for the catalog record. Notice that the W3C PROV Ontology allows
|
25
|
-
describing further provenance information such as the details of the process and the
|
26
|
-
agent involved in a particular change to a dataset.).freeze,
|
27
|
-
label: "Catalog Record".freeze,
|
28
|
-
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
|
29
|
-
type: ["rdfs:Class".freeze, "owl:Class".freeze]
|
30
|
-
term :Dataset,
|
31
|
-
comment: %(A collection of data, published or curated by a single source, and available for access or download in one or more formats).freeze,
|
32
|
-
"http://purl.org/vocab/vann/usageNote" => %(This class represents the actual dataset as published by the dataset publisher. In
|
33
|
-
cases where a distinction between the actual dataset and its entry in the catalog is
|
34
|
-
necessary \(because metadata such as modification date and maintainer might differ\), the
|
35
|
-
catalog record class can be used for the latter.).freeze,
|
36
|
-
label: "Dataset".freeze,
|
37
|
-
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
|
38
|
-
subClassOf: "http://purl.org/dc/dcmitype/Dataset".freeze,
|
39
|
-
type: ["rdfs:Class".freeze, "owl:Class".freeze]
|
40
|
-
term :Distribution,
|
41
|
-
comment: %(Represents a specific available form of a dataset. Each dataset might be available in
|
42
|
-
different forms, these forms might represent different formats of the dataset or different
|
43
|
-
endpoints. Examples of distributions include a downloadable CSV file, an API or an RSS feed).freeze,
|
44
|
-
"http://purl.org/vocab/vann/usageNote" => %(This represents a general availability of a dataset it implies no information about the
|
45
|
-
actual access method of the data, i.e. whether it is a direct download, API, or some
|
46
|
-
through Web page. The use of dcat:downloadURL property indicates directly downloadable distributions.).freeze,
|
47
|
-
label: "Distribution".freeze,
|
48
|
-
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
|
49
|
-
type: ["rdfs:Class".freeze, "owl:Class".freeze]
|
50
|
-
term :Download,
|
51
|
-
comment: %(represents a downloadable distribution of a dataset. This term has been deprecated).freeze,
|
52
|
-
label: "Download (Deprecated)".freeze,
|
53
|
-
"owl:deprecated" => %(true).freeze,
|
54
|
-
"rdfs:isDefinedBy" => %(dcat:).freeze,
|
55
|
-
subClassOf: "dcat:Distribution".freeze,
|
56
|
-
type: ["rdfs:Class".freeze, "owl:Class".freeze]
|
57
|
-
term :Feed,
|
58
|
-
comment: %(represents availability of a dataset as a feed. This term has been deprecated).freeze,
|
59
|
-
label: "Feed (Deprecated)".freeze,
|
60
|
-
"owl:deprecated" => %(true).freeze,
|
61
|
-
"rdfs:isDefinedBy" => %(dcat:).freeze,
|
62
|
-
subClassOf: "dcat:Distribution".freeze,
|
63
|
-
type: ["rdfs:Class".freeze, "owl:Class".freeze]
|
64
|
-
term :WebService,
|
65
|
-
comment: %(represents a web service that enables access to the data of a dataset. This term has been deprecated).freeze,
|
66
|
-
label: "Web Service (Deprecated)".freeze,
|
67
|
-
"owl:deprecated" => %(true).freeze,
|
68
|
-
"rdfs:isDefinedBy" => %(dcat:).freeze,
|
69
|
-
subClassOf: "dcat:Distribution".freeze,
|
70
|
-
type: ["rdfs:Class".freeze, "owl:Class".freeze]
|
71
|
-
|
72
|
-
# Property definitions
|
73
|
-
property :accessURL,
|
74
|
-
comment: %(Could be any kind of URL that gives access to a distribution of the dataset. E.g. landing page,
|
75
|
-
download, feed URL, SPARQL endpoint. Use when your catalog does not have information on which it
|
76
|
-
is or when it is definitely not a download.).freeze,
|
77
|
-
domain: "dcat:Distribution".freeze,
|
78
|
-
"http://purl.org/vocab/vann/usageNote" => %(The value is a URL.
|
79
|
-
If the distribution\(s\) are accessible only through a landing page \(i.e. direct download URLs are
|
80
|
-
not known\), then the landing page link should be duplicated as accessURL on a distribution.).freeze,
|
81
|
-
label: "access URL".freeze,
|
82
|
-
range: "rdfs:Resource".freeze,
|
83
|
-
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
|
84
|
-
type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
|
85
|
-
property :byteSize,
|
86
|
-
comment: %(The size of a distribution in bytes.).freeze,
|
87
|
-
domain: "dcat:Distribution".freeze,
|
88
|
-
"http://purl.org/vocab/vann/usageNote" => %(The size in bytes can be approximated when the precise size is not known.
|
89
|
-
The literal value of dcat:byteSize should by typed as xsd:decimal).freeze,
|
90
|
-
label: "byte size".freeze,
|
91
|
-
range: "rdfs:Literal".freeze,
|
92
|
-
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
|
93
|
-
type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
|
94
|
-
property :bytes,
|
95
|
-
comment: %(describe size of resource in bytes. This term has been deprecated).freeze,
|
96
|
-
domain: "dcat:Distribution".freeze,
|
97
|
-
label: "size in bytes (Deprecated)".freeze,
|
98
|
-
"owl:deprecated" => %(true).freeze,
|
99
|
-
range: "xsd:integer".freeze,
|
100
|
-
"rdfs:isDefinedBy" => %(dcat:).freeze,
|
101
|
-
type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
|
102
|
-
property :contactPoint,
|
103
|
-
comment: %(Links a dataset to relevant contact information which is provided using VCard.).freeze,
|
104
|
-
domain: "dcat:Dataset".freeze,
|
105
|
-
label: "contact point".freeze,
|
106
|
-
range: "vcard:Kind".freeze,
|
107
|
-
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
|
108
|
-
type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
|
109
|
-
property :dataDictionary,
|
110
|
-
comment: %(links a dataset to a dictionary that helps interpreting the data. This term has been deprecated).freeze,
|
111
|
-
domain: "dcat:Dataset".freeze,
|
112
|
-
label: "data dictionary (Deprecated)".freeze,
|
113
|
-
"owl:deprecated" => %(true).freeze,
|
114
|
-
"rdfs:isDefinedBy" => %(dcat:).freeze,
|
115
|
-
type: "rdf:Property".freeze
|
116
|
-
property :dataQuality,
|
117
|
-
comment: %(describes the quality of data e.g. precision. This should not be used to describe the data collection characteristics, other more specialized statistical properties can be used instead. This term has been deprecated).freeze,
|
118
|
-
domain: "dcat:Dataset".freeze,
|
119
|
-
label: "data quality (Deprecated)".freeze,
|
120
|
-
"owl:deprecated" => %(true).freeze,
|
121
|
-
"rdfs:isDefinedBy" => %(dcat:).freeze,
|
122
|
-
type: "rdf:Property".freeze
|
123
|
-
property :dataset,
|
124
|
-
comment: %(Links a catalog to a dataset that is part of the catalog.).freeze,
|
125
|
-
domain: "dcat:Catalog".freeze,
|
126
|
-
label: "dataset".freeze,
|
127
|
-
range: "dcat:Dataset".freeze,
|
128
|
-
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
|
129
|
-
subPropertyOf: "dc:hasPart".freeze,
|
130
|
-
type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
|
131
|
-
property :distribution,
|
132
|
-
comment: %(Connects a dataset to one of its available distributions.).freeze,
|
133
|
-
domain: "dcat:Dataset".freeze,
|
134
|
-
label: "distribution".freeze,
|
135
|
-
range: "dcat:Distribution".freeze,
|
136
|
-
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
|
137
|
-
type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
|
138
|
-
property :downloadURL,
|
139
|
-
comment: %(This is a direct link to a downloadable file in a given format. E.g. CSV file or RDF file. The
|
140
|
-
format is described by the distribution's dc:format and/or dcat:mediaType).freeze,
|
141
|
-
domain: "dcat:Distribution".freeze,
|
142
|
-
"http://purl.org/vocab/vann/usageNote" => %(The value is a URL.).freeze,
|
143
|
-
label: "download URL".freeze,
|
144
|
-
range: "rdfs:Resource".freeze,
|
145
|
-
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
|
146
|
-
type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
|
147
|
-
property :granularity,
|
148
|
-
comment: %(describes the level of granularity of data in a dataset. The granularity can be in time, place etc. This term has been deprecated).freeze,
|
149
|
-
domain: "dcat:Dataset".freeze,
|
150
|
-
label: "granularity (Deprecated)".freeze,
|
151
|
-
"owl:deprecated" => %(true).freeze,
|
152
|
-
"rdfs:isDefinedBy" => %(dcat:).freeze,
|
153
|
-
type: "rdf:Property".freeze
|
154
|
-
property :keyword,
|
155
|
-
comment: %(A keyword or tag describing the dataset.).freeze,
|
156
|
-
domain: "dcat:Dataset".freeze,
|
157
|
-
label: "keyword".freeze,
|
158
|
-
range: "rdfs:Literal".freeze,
|
159
|
-
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
|
160
|
-
subPropertyOf: "dc:subject".freeze,
|
161
|
-
type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
|
162
|
-
property :landingPage,
|
163
|
-
comment: %(A Web page that can be navigated to in a Web browser to gain access to the dataset, its distributions and/or additional information.).freeze,
|
164
|
-
domain: "dcat:Dataset".freeze,
|
165
|
-
"http://purl.org/vocab/vann/usageNote" => %(If the distribution\(s\) are accessible only through a landing page \(i.e. direct download
|
166
|
-
URLs are not known\), then the landing page link should be duplicated as accessURL on a distribution.).freeze,
|
167
|
-
label: "landing page".freeze,
|
168
|
-
range: "foaf:Document".freeze,
|
169
|
-
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
|
170
|
-
subPropertyOf: "foaf:page".freeze,
|
171
|
-
type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
|
172
|
-
property :mediaType,
|
173
|
-
comment: %(This property SHOULD be used when the media type of the distribution is defined
|
174
|
-
in IANA, otherwise dct:format MAY be used with different values.).freeze,
|
175
|
-
domain: "dcat:Distribution".freeze,
|
176
|
-
label: "media type".freeze,
|
177
|
-
range: "dc:MediaTypeOrExtent".freeze,
|
178
|
-
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
|
179
|
-
subPropertyOf: "dc:format".freeze,
|
180
|
-
type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
|
181
|
-
property :record,
|
182
|
-
comment: %(Links a catalog to its records.).freeze,
|
183
|
-
domain: "dcat:Catalog".freeze,
|
184
|
-
label: "record".freeze,
|
185
|
-
range: "dcat:CatalogRecord".freeze,
|
186
|
-
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
|
187
|
-
type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
|
188
|
-
property :size,
|
189
|
-
comment: %(the size of a distribution. This term has been deprecated).freeze,
|
190
|
-
domain: "dcat:Distribution".freeze,
|
191
|
-
label: "size (Deprecated)".freeze,
|
192
|
-
"owl:deprecated" => %(true).freeze,
|
193
|
-
"rdfs:isDefinedBy" => %(dcat:).freeze,
|
194
|
-
subPropertyOf: "dc:extent".freeze,
|
195
|
-
type: "rdf:Property".freeze
|
196
|
-
property :theme,
|
197
|
-
comment: %(The main category of the dataset. A dataset can have multiple themes.).freeze,
|
198
|
-
domain: "dcat:Dataset".freeze,
|
199
|
-
"http://purl.org/vocab/vann/usageNote" => %(The set of skos:Concepts used to categorize the datasets are organized in
|
200
|
-
a skos:ConceptScheme describing all the categories and their relations in the catalog.).freeze,
|
201
|
-
label: "theme".freeze,
|
202
|
-
range: "skos:Concept".freeze,
|
203
|
-
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
|
204
|
-
subPropertyOf: "dc:subject".freeze,
|
205
|
-
type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
|
206
|
-
property :themeTaxonomy,
|
207
|
-
comment: %(The knowledge organization system \(KOS\) used to classify catalog's datasets.).freeze,
|
208
|
-
domain: "dcat:Catalog".freeze,
|
209
|
-
label: "theme taxonomy".freeze,
|
210
|
-
range: "skos:ConceptScheme".freeze,
|
211
|
-
"rdfs:isDefinedBy" => %(http://www.w3.org/TR/vocab-dcat/).freeze,
|
212
|
-
type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
|
213
|
-
end
|
214
|
-
end
|
data/lib/rdf/vocab/doap.rb
DELETED
@@ -1,337 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
# This file generated automatically using vocab-fetch from http://usefulinc.com/ns/doap#
|
3
|
-
require 'rdf'
|
4
|
-
module RDF
|
5
|
-
# @deprecated Please use `RDF::Vocab::DOAP` from the rdf-vocab gem instead
|
6
|
-
class DOAP < RDF::StrictVocabulary("http://usefulinc.com/ns/doap#")
|
7
|
-
|
8
|
-
# Class definitions
|
9
|
-
term :ArchRepository,
|
10
|
-
comment: %(GNU Arch source code repository.).freeze,
|
11
|
-
label: "GNU Arch repository".freeze,
|
12
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
13
|
-
subClassOf: "doap:Repository".freeze,
|
14
|
-
type: ["rdfs:Class".freeze, "owl:Class".freeze]
|
15
|
-
term :BKRepository,
|
16
|
-
comment: %(BitKeeper source code repository.).freeze,
|
17
|
-
label: "BitKeeper Repository".freeze,
|
18
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
19
|
-
subClassOf: "doap:Repository".freeze,
|
20
|
-
type: ["rdfs:Class".freeze, "owl:Class".freeze]
|
21
|
-
term :BazaarBranch,
|
22
|
-
comment: %(Bazaar source code branch.).freeze,
|
23
|
-
label: "Bazaar Branch".freeze,
|
24
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
25
|
-
subClassOf: "doap:Repository".freeze,
|
26
|
-
type: "rdfs:Class".freeze
|
27
|
-
term :CVSRepository,
|
28
|
-
comment: %(CVS source code repository.).freeze,
|
29
|
-
label: "CVS Repository".freeze,
|
30
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
31
|
-
subClassOf: "doap:Repository".freeze,
|
32
|
-
type: ["rdfs:Class".freeze, "owl:Class".freeze]
|
33
|
-
term :DarcsRepository,
|
34
|
-
comment: %(darcs source code repository.).freeze,
|
35
|
-
label: "darcs Repository".freeze,
|
36
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
37
|
-
subClassOf: "doap:Repository".freeze,
|
38
|
-
type: "rdfs:Class".freeze
|
39
|
-
term :GitRepository,
|
40
|
-
comment: %(Git source code repository.).freeze,
|
41
|
-
label: "Git Repository".freeze,
|
42
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
43
|
-
subClassOf: "doap:Repository".freeze,
|
44
|
-
type: "rdfs:Class".freeze
|
45
|
-
term :HgRepository,
|
46
|
-
comment: %(Mercurial source code repository.).freeze,
|
47
|
-
label: "Mercurial Repository".freeze,
|
48
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
49
|
-
subClassOf: "doap:Repository".freeze,
|
50
|
-
type: "rdfs:Class".freeze
|
51
|
-
term :Project,
|
52
|
-
comment: %(A project.).freeze,
|
53
|
-
label: "Project".freeze,
|
54
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
55
|
-
subClassOf: ["http://xmlns.com/wordnet/1.6/Project".freeze, "foaf:Project".freeze],
|
56
|
-
type: "rdfs:Class".freeze
|
57
|
-
term :Repository,
|
58
|
-
comment: %(Source code repository.).freeze,
|
59
|
-
label: "Repository".freeze,
|
60
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
61
|
-
type: "rdfs:Class".freeze
|
62
|
-
term :SVNRepository,
|
63
|
-
comment: %(Subversion source code repository.).freeze,
|
64
|
-
label: "Subversion Repository".freeze,
|
65
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
66
|
-
subClassOf: "doap:Repository".freeze,
|
67
|
-
type: "rdfs:Class".freeze
|
68
|
-
term :Specification,
|
69
|
-
comment: %(A specification of a system's aspects, technical or otherwise.).freeze,
|
70
|
-
label: "Specification".freeze,
|
71
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
72
|
-
subClassOf: "rdfs:Resource".freeze,
|
73
|
-
type: "rdfs:Class".freeze
|
74
|
-
term :Version,
|
75
|
-
comment: %(Version information of a project release.).freeze,
|
76
|
-
label: "Version".freeze,
|
77
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
78
|
-
type: "rdfs:Class".freeze
|
79
|
-
|
80
|
-
# Property definitions
|
81
|
-
property :"anon-root",
|
82
|
-
comment: %(Repository for anonymous access.).freeze,
|
83
|
-
domain: "doap:Repository".freeze,
|
84
|
-
label: "anonymous root".freeze,
|
85
|
-
range: "rdfs:Literal".freeze,
|
86
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
87
|
-
type: "rdf:Property".freeze
|
88
|
-
property :audience,
|
89
|
-
comment: %(Description of target user base).freeze,
|
90
|
-
domain: "doap:Project".freeze,
|
91
|
-
label: "audience".freeze,
|
92
|
-
range: "rdfs:Literal".freeze,
|
93
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
94
|
-
type: "rdf:Property".freeze
|
95
|
-
property :blog,
|
96
|
-
comment: %(URI of a blog related to a project).freeze,
|
97
|
-
domain: "doap:Project".freeze,
|
98
|
-
label: "blog".freeze,
|
99
|
-
range: "rdfs:Resource".freeze,
|
100
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
101
|
-
type: "rdf:Property".freeze
|
102
|
-
property :browse,
|
103
|
-
comment: %(Web browser interface to repository.).freeze,
|
104
|
-
domain: "doap:Repository".freeze,
|
105
|
-
label: "browse".freeze,
|
106
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
107
|
-
type: "rdf:Property".freeze
|
108
|
-
property :"bug-database",
|
109
|
-
comment: %(Bug tracker for a project.).freeze,
|
110
|
-
domain: "doap:Project".freeze,
|
111
|
-
label: "bug database".freeze,
|
112
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
113
|
-
type: "rdf:Property".freeze
|
114
|
-
property :category,
|
115
|
-
comment: %(A category of project.).freeze,
|
116
|
-
domain: "doap:Project".freeze,
|
117
|
-
label: "category".freeze,
|
118
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
119
|
-
type: "rdf:Property".freeze
|
120
|
-
property :created,
|
121
|
-
comment: %(Date when something was created, in YYYY-MM-DD form. e.g. 2004-04-05).freeze,
|
122
|
-
label: "created".freeze,
|
123
|
-
range: "rdfs:Literal".freeze,
|
124
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
125
|
-
type: "rdf:Property".freeze
|
126
|
-
property :description,
|
127
|
-
comment: %(Plain text description of a project, of 2-4 sentences in length.).freeze,
|
128
|
-
label: "description".freeze,
|
129
|
-
range: "rdfs:Literal".freeze,
|
130
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
131
|
-
type: "rdf:Property".freeze
|
132
|
-
property :developer,
|
133
|
-
comment: %(Developer of software for the project.).freeze,
|
134
|
-
domain: "doap:Project".freeze,
|
135
|
-
label: "developer".freeze,
|
136
|
-
range: "foaf:Person".freeze,
|
137
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
138
|
-
type: "rdf:Property".freeze
|
139
|
-
property :documenter,
|
140
|
-
comment: %(Contributor of documentation to the project.).freeze,
|
141
|
-
domain: "doap:Project".freeze,
|
142
|
-
label: "documenter".freeze,
|
143
|
-
range: "foaf:Person".freeze,
|
144
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
145
|
-
type: "rdf:Property".freeze
|
146
|
-
property :"download-mirror",
|
147
|
-
comment: %(Mirror of software download web page.).freeze,
|
148
|
-
domain: "doap:Project".freeze,
|
149
|
-
label: "download mirror".freeze,
|
150
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
151
|
-
type: "rdf:Property".freeze
|
152
|
-
property :"download-page",
|
153
|
-
comment: %(Web page from which the project software can be downloaded.).freeze,
|
154
|
-
domain: "doap:Project".freeze,
|
155
|
-
label: "download page".freeze,
|
156
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
157
|
-
type: "rdf:Property".freeze
|
158
|
-
property :"file-release",
|
159
|
-
comment: %(URI of download associated with this release.).freeze,
|
160
|
-
domain: "doap:Version".freeze,
|
161
|
-
label: "file-release".freeze,
|
162
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
163
|
-
type: "rdf:Property".freeze
|
164
|
-
property :helper,
|
165
|
-
comment: %(Project contributor.).freeze,
|
166
|
-
domain: "doap:Project".freeze,
|
167
|
-
label: "helper".freeze,
|
168
|
-
range: "foaf:Person".freeze,
|
169
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
170
|
-
type: "rdf:Property".freeze
|
171
|
-
property :homepage,
|
172
|
-
comment: %(URL of a project's homepage,
|
173
|
-
associated with exactly one project.).freeze,
|
174
|
-
domain: "doap:Project".freeze,
|
175
|
-
label: "homepage".freeze,
|
176
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
177
|
-
subPropertyOf: "foaf:homepage".freeze,
|
178
|
-
type: ["rdf:Property".freeze, "owl:InverseFunctionalProperty".freeze]
|
179
|
-
property :implements,
|
180
|
-
comment: %(A specification that a project implements. Could be a standard, API or legally defined level of conformance.).freeze,
|
181
|
-
domain: "doap:Project".freeze,
|
182
|
-
label: "Implements specification".freeze,
|
183
|
-
range: "doap:Specification".freeze,
|
184
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
185
|
-
type: "rdf:Property".freeze
|
186
|
-
property :language,
|
187
|
-
comment: [%(ISO language code a project has been translated into).freeze, %(このプロジェクトの翻訳された言語のISO言語コート).freeze],
|
188
|
-
domain: "doap:Project".freeze,
|
189
|
-
label: "language".freeze,
|
190
|
-
range: "rdfs:Literal".freeze,
|
191
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
192
|
-
type: "rdf:Property".freeze
|
193
|
-
property :license,
|
194
|
-
comment: %(The URI of an RDF description of the license the software is distributed under.).freeze,
|
195
|
-
label: "license".freeze,
|
196
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
197
|
-
type: "rdf:Property".freeze
|
198
|
-
property :location,
|
199
|
-
comment: %(Location of a repository.).freeze,
|
200
|
-
domain: "doap:Repository".freeze,
|
201
|
-
label: "repository location".freeze,
|
202
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
203
|
-
type: "rdf:Property".freeze
|
204
|
-
property :"mailing-list",
|
205
|
-
comment: %(Mailing list home page or email address.).freeze,
|
206
|
-
domain: "doap:Project".freeze,
|
207
|
-
label: "mailing list".freeze,
|
208
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
209
|
-
type: "rdf:Property".freeze
|
210
|
-
property :maintainer,
|
211
|
-
comment: %(Maintainer of a project, a project leader.).freeze,
|
212
|
-
domain: "doap:Project".freeze,
|
213
|
-
label: "maintainer".freeze,
|
214
|
-
range: "foaf:Person".freeze,
|
215
|
-
"rdfs:isDefinedBy" => %(doap:).freeze,
|
216
|
-
type: "rdf:Property".freeze
|
217
|
-
property :module,
|
218
|
-
comment: %(Module name of a repository.).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, "owl:InverseFunctionalProperty".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, "doap:Version".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, "doap:Version".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, %(このプロジェクトのため、試験をする人や品質メンテナー。).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
|
-
label: "".freeze,
|
334
|
-
"owl:imports" => %(foaf:).freeze,
|
335
|
-
type: "owl:Ontology".freeze
|
336
|
-
end
|
337
|
-
end
|