rdf-vocab 3.1.4 → 3.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +69 -45
- data/VERSION +1 -1
- data/lib/rdf/vocab.rb +14 -28
- data/lib/rdf/vocab/acl.rb +84 -1
- data/lib/rdf/vocab/as.rb +466 -1
- data/lib/rdf/vocab/bf2.rb +1317 -1
- data/lib/rdf/vocab/bibframe.rb +1 -2
- data/lib/rdf/vocab/bibo.rb +496 -1
- data/lib/rdf/vocab/cc.rb +107 -1
- data/lib/rdf/vocab/cert.rb +68 -1
- data/lib/rdf/vocab/cnt.rb +79 -1
- data/lib/rdf/vocab/crm.rb +1303 -1
- data/lib/rdf/vocab/datacite.rb +1 -1
- data/lib/rdf/vocab/dbo.rb +10463 -1
- data/lib/rdf/vocab/dc.rb +1 -1
- data/lib/rdf/vocab/dc11.rb +63 -1
- data/lib/rdf/vocab/dcat.rb +152 -4
- data/lib/rdf/vocab/dcmitype.rb +1 -1
- data/lib/rdf/vocab/disco.rb +228 -1
- data/lib/rdf/vocab/doap.rb +175 -1
- data/lib/rdf/vocab/dwc.rb +753 -1
- data/lib/rdf/vocab/earl.rb +135 -1
- data/lib/rdf/vocab/ebucore.rb +7335 -1974
- data/lib/rdf/vocab/edm.rb +150 -1
- data/lib/rdf/vocab/exif.rb +650 -1
- data/lib/rdf/vocab/extensions.rb +253 -203
- data/lib/rdf/vocab/fcrepo4.rb +377 -1
- data/lib/rdf/vocab/foaf.rb +305 -1
- data/lib/rdf/vocab/geo.rb +39 -1
- data/lib/rdf/vocab/geojson.rb +66 -1
- data/lib/rdf/vocab/geonames.rb +166 -1
- data/lib/rdf/vocab/gr.rb +684 -1
- data/lib/rdf/vocab/gs1.rb +1597 -1
- data/lib/rdf/vocab/ht.rb +164 -1
- data/lib/rdf/vocab/hydra.rb +236 -2
- data/lib/rdf/vocab/iana.rb +230 -1
- data/lib/rdf/vocab/ical.rb +462 -1
- data/lib/rdf/vocab/identifiers.rb +462 -1
- data/lib/rdf/vocab/iiif.rb +136 -1
- data/lib/rdf/vocab/jsonld.rb +135 -1
- data/lib/rdf/vocab/ldp.rb +130 -1
- data/lib/rdf/vocab/lrmi.rb +1 -1
- data/lib/rdf/vocab/ma.rb +381 -1
- data/lib/rdf/vocab/mads.rb +600 -22
- data/lib/rdf/vocab/{marc_relators.rb → marcrelators.rb} +809 -1
- data/lib/rdf/vocab/mo.rb +919 -1
- data/lib/rdf/vocab/mods.rb +516 -1
- data/lib/rdf/vocab/nfo.rb +1 -1
- data/lib/rdf/vocab/oa.rb +275 -1
- data/lib/rdf/vocab/og.rb +78 -1
- data/lib/rdf/vocab/ogc.rb +34 -1
- data/lib/rdf/vocab/ore.rb +56 -1
- data/lib/rdf/vocab/org.rb +189 -1
- data/lib/rdf/vocab/pcdm.rb +47 -1
- data/lib/rdf/vocab/pplan.rb +64 -1
- data/lib/rdf/vocab/premis.rb +1266 -779
- data/lib/rdf/vocab/{premis_event_type.rb → premiseventtype.rb} +155 -1
- data/lib/rdf/vocab/prov.rb +619 -1
- data/lib/rdf/vocab/ptr.rb +138 -1
- data/lib/rdf/vocab/rightsstatements.rb +5 -1
- data/lib/rdf/vocab/rsa.rb +30 -1
- data/lib/rdf/vocab/rss.rb +1 -1
- data/lib/rdf/vocab/schema.rb +10032 -12
- data/lib/rdf/vocab/sd.rb +372 -0
- data/lib/rdf/vocab/sh.rb +736 -1
- data/lib/rdf/vocab/sioc.rb +401 -1
- data/lib/rdf/vocab/{sioc_services.rb → siocservices.rb} +38 -1
- data/lib/rdf/vocab/{sioct.rb → sioctypes.rb} +158 -1
- data/lib/rdf/vocab/skos.rb +119 -1
- data/lib/rdf/vocab/skosxl.rb +30 -1
- data/lib/rdf/vocab/v.rb +291 -1
- data/lib/rdf/vocab/vcard.rb +508 -1
- data/lib/rdf/vocab/vmd.rb +291 -1
- data/lib/rdf/vocab/void.rb +121 -1
- data/lib/rdf/vocab/vs.rb +19 -1
- data/lib/rdf/vocab/wdrs.rb +90 -1
- data/lib/rdf/vocab/wot.rb +78 -1
- data/lib/rdf/vocab/xhtml.rb +2 -1
- data/lib/rdf/vocab/xhv.rb +338 -1
- data/lib/rdf/vocab/xkos.rb +150 -1
- data/spec/extensions_spec.rb +68 -0
- data/spec/vocab_spec.rb +10 -0
- metadata +15 -8
data/lib/rdf/vocab/dc.rb
CHANGED
@@ -7,7 +7,7 @@ module RDF::Vocab
|
|
7
7
|
# # Vocabulary for <http://purl.org/dc/terms/>
|
8
8
|
# class DC < RDF::StrictVocabulary
|
9
9
|
# end
|
10
|
-
|
10
|
+
DC = Class.new(RDF::StrictVocabulary("http://purl.org/dc/terms/")) do
|
11
11
|
|
12
12
|
# Ontology definition
|
13
13
|
ontology :"http://purl.org/dc/terms/",
|
data/lib/rdf/vocab/dc11.rb
CHANGED
@@ -5,9 +5,71 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://purl.org/dc/elements/1.1/>
|
8
|
+
# #
|
9
|
+
# # Dublin Core Metadata Element Set, Version 1.1
|
8
10
|
# class DC11 < RDF::StrictVocabulary
|
11
|
+
# # An entity responsible for making contributions to the resource.
|
12
|
+
# # @return [RDF::Vocabulary::Term]
|
13
|
+
# attr_reader :contributor
|
14
|
+
#
|
15
|
+
# # The spatial or temporal topic of the resource, spatial applicability of the resource, or jurisdiction under which the resource is relevant.
|
16
|
+
# # @return [RDF::Vocabulary::Term]
|
17
|
+
# attr_reader :coverage
|
18
|
+
#
|
19
|
+
# # An entity primarily responsible for making the resource.
|
20
|
+
# # @return [RDF::Vocabulary::Term]
|
21
|
+
# attr_reader :creator
|
22
|
+
#
|
23
|
+
# # A point or period of time associated with an event in the lifecycle of the resource.
|
24
|
+
# # @return [RDF::Vocabulary::Term]
|
25
|
+
# attr_reader :date
|
26
|
+
#
|
27
|
+
# # An account of the resource.
|
28
|
+
# # @return [RDF::Vocabulary::Term]
|
29
|
+
# attr_reader :description
|
30
|
+
#
|
31
|
+
# # The file format, physical medium, or dimensions of the resource.
|
32
|
+
# # @return [RDF::Vocabulary::Term]
|
33
|
+
# attr_reader :format
|
34
|
+
#
|
35
|
+
# # An unambiguous reference to the resource within a given context.
|
36
|
+
# # @return [RDF::Vocabulary::Term]
|
37
|
+
# attr_reader :identifier
|
38
|
+
#
|
39
|
+
# # A language of the resource.
|
40
|
+
# # @return [RDF::Vocabulary::Term]
|
41
|
+
# attr_reader :language
|
42
|
+
#
|
43
|
+
# # An entity responsible for making the resource available.
|
44
|
+
# # @return [RDF::Vocabulary::Term]
|
45
|
+
# attr_reader :publisher
|
46
|
+
#
|
47
|
+
# # A related resource.
|
48
|
+
# # @return [RDF::Vocabulary::Term]
|
49
|
+
# attr_reader :relation
|
50
|
+
#
|
51
|
+
# # Information about rights held in and over the resource.
|
52
|
+
# # @return [RDF::Vocabulary::Term]
|
53
|
+
# attr_reader :rights
|
54
|
+
#
|
55
|
+
# # A related resource from which the described resource is derived.
|
56
|
+
# # @return [RDF::Vocabulary::Term]
|
57
|
+
# attr_reader :source
|
58
|
+
#
|
59
|
+
# # The topic of the resource.
|
60
|
+
# # @return [RDF::Vocabulary::Term]
|
61
|
+
# attr_reader :subject
|
62
|
+
#
|
63
|
+
# # A name given to the resource.
|
64
|
+
# # @return [RDF::Vocabulary::Term]
|
65
|
+
# attr_reader :title
|
66
|
+
#
|
67
|
+
# # The nature or genre of the resource.
|
68
|
+
# # @return [RDF::Vocabulary::Term]
|
69
|
+
# attr_reader :type
|
70
|
+
#
|
9
71
|
# end
|
10
|
-
|
72
|
+
DC11 = Class.new(RDF::StrictVocabulary("http://purl.org/dc/elements/1.1/")) do
|
11
73
|
|
12
74
|
# Ontology definition
|
13
75
|
ontology :"http://purl.org/dc/elements/1.1/",
|
data/lib/rdf/vocab/dcat.rb
CHANGED
@@ -5,9 +5,157 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://www.w3.org/ns/dcat#>
|
8
|
+
# #
|
9
|
+
# # The data catalog vocabulary
|
10
|
+
# #
|
11
|
+
# # DCAT is an RDF vocabulary designed to facilitate interoperability between data catalogs published on the Web. By using DCAT to describe datasets in data catalogs, publishers increase discoverability and enable applications easily to consume metadata from multiple catalogs. It further enables decentralized publishing of catalogs and facilitates federated dataset search across sites. Aggregated DCAT metadata can serve as a manifest file to facilitate digital preservation. DCAT is defined at http://www.w3.org/TR/vocab-dcat/. Any variance between that normative document and this schema is an error in this schema.
|
12
|
+
# # @version Questa è una copia aggiornata del vocabolario DCAT v2.0 disponibile in https://www.w3.org/ns/dcat.ttl
|
13
|
+
# # @version This is an updated copy of v2.0 of the DCAT vocabulary, taken from https://www.w3.org/ns/dcat.ttl
|
8
14
|
# class DCAT < RDF::StrictVocabulary
|
15
|
+
# # A curated collection of metadata about resources (e.g., datasets and data services in the context of a data catalog).
|
16
|
+
# # @return [RDF::Vocabulary::Term]
|
17
|
+
# attr_reader :Catalog
|
18
|
+
#
|
19
|
+
# # A record in a data catalog, describing the registration of a single dataset or data service.
|
20
|
+
# # @return [RDF::Vocabulary::Term]
|
21
|
+
# attr_reader :CatalogRecord
|
22
|
+
#
|
23
|
+
# # A site or end-point providing operations related to the discovery of, access to, or processing functions on, data or related resources.
|
24
|
+
# # @return [RDF::Vocabulary::Term]
|
25
|
+
# attr_reader :DataService
|
26
|
+
#
|
27
|
+
# # A collection of data, published or curated by a single source, and available for access or download in one or more represenations.
|
28
|
+
# # @return [RDF::Vocabulary::Term]
|
29
|
+
# attr_reader :Dataset
|
30
|
+
#
|
31
|
+
# # A specific representation of a dataset. A dataset might be available in multiple serializations that may differ in various ways, including natural language, media-type or format, schematic organization, temporal and spatial resolution, level of detail or profiles (which might specify any or all of the above).
|
32
|
+
# # @return [RDF::Vocabulary::Term]
|
33
|
+
# attr_reader :Distribution
|
34
|
+
#
|
35
|
+
# # An association class for attaching additional information to a relationship between DCAT Resources.
|
36
|
+
# # @return [RDF::Vocabulary::Term]
|
37
|
+
# attr_reader :Relationship
|
38
|
+
#
|
39
|
+
# # Resource published or curated by a single agent.
|
40
|
+
# # @return [RDF::Vocabulary::Term]
|
41
|
+
# attr_reader :Resource
|
42
|
+
#
|
43
|
+
# # A role is the function of a resource or agent with respect to another resource, in the context of resource attribution or resource relationships.
|
44
|
+
# # @return [RDF::Vocabulary::Term]
|
45
|
+
# attr_reader :Role
|
46
|
+
#
|
47
|
+
# # A site or end-point that gives access to the distribution of the dataset.
|
48
|
+
# # @return [RDF::Vocabulary::Term]
|
49
|
+
# attr_reader :accessService
|
50
|
+
#
|
51
|
+
# # A URL of a resource that gives access to a distribution of the dataset. E.g. landing page, feed, SPARQL endpoint. Use for all cases except a simple download link, in which case downloadURL is preferred.
|
52
|
+
# # @return [RDF::Vocabulary::Term]
|
53
|
+
# attr_reader :accessURL
|
54
|
+
#
|
55
|
+
# # @return [RDF::Vocabulary::Term]
|
56
|
+
# attr_reader :bbox
|
57
|
+
#
|
58
|
+
# # The size of a distribution in bytes.
|
59
|
+
# # @return [RDF::Vocabulary::Term]
|
60
|
+
# attr_reader :byteSize
|
61
|
+
#
|
62
|
+
# # A catalog whose contents are of interest in the context of this catalog.
|
63
|
+
# # @return [RDF::Vocabulary::Term]
|
64
|
+
# attr_reader :catalog
|
65
|
+
#
|
66
|
+
# # @return [RDF::Vocabulary::Term]
|
67
|
+
# attr_reader :centroid
|
68
|
+
#
|
69
|
+
# # The compression format of the distribution in which the data is contained in a compressed form, e.g. to reduce the size of the downloadable file.
|
70
|
+
# # @return [RDF::Vocabulary::Term]
|
71
|
+
# attr_reader :compressFormat
|
72
|
+
#
|
73
|
+
# # Relevant contact information for the catalogued resource. Use of vCard is recommended.
|
74
|
+
# # @return [RDF::Vocabulary::Term]
|
75
|
+
# attr_reader :contactPoint
|
76
|
+
#
|
77
|
+
# # A collection of data that is listed in the catalog.
|
78
|
+
# # @return [RDF::Vocabulary::Term]
|
79
|
+
# attr_reader :dataset
|
80
|
+
#
|
81
|
+
# # An available distribution of the dataset.
|
82
|
+
# # @return [RDF::Vocabulary::Term]
|
83
|
+
# attr_reader :distribution
|
84
|
+
#
|
85
|
+
# # The URL of the downloadable file in a given format. E.g. CSV file or RDF file. The format is indicated by the distribution's dct:format and/or dcat:mediaType.
|
86
|
+
# # @return [RDF::Vocabulary::Term]
|
87
|
+
# attr_reader :downloadURL
|
88
|
+
#
|
89
|
+
# # @return [RDF::Vocabulary::Term]
|
90
|
+
# attr_reader :endDate
|
91
|
+
#
|
92
|
+
# # A description of the service end-point, including its operations, parameters etc.
|
93
|
+
# # @return [RDF::Vocabulary::Term]
|
94
|
+
# attr_reader :endpointDescription
|
95
|
+
#
|
96
|
+
# # The root location or primary endpoint of the service (a web-resolvable IRI).
|
97
|
+
# # @return [RDF::Vocabulary::Term]
|
98
|
+
# attr_reader :endpointURL
|
99
|
+
#
|
100
|
+
# # The function of an entity or agent with respect to another entity or resource.
|
101
|
+
# # @return [RDF::Vocabulary::Term]
|
102
|
+
# attr_reader :hadRole
|
103
|
+
#
|
104
|
+
# # A keyword or tag describing a resource.
|
105
|
+
# # @return [RDF::Vocabulary::Term]
|
106
|
+
# attr_reader :keyword
|
107
|
+
#
|
108
|
+
# # A Web page that can be navigated to in a Web browser to gain access to the catalog, a dataset, its distributions and/or additional information.
|
109
|
+
# # @return [RDF::Vocabulary::Term]
|
110
|
+
# attr_reader :landingPage
|
111
|
+
#
|
112
|
+
# # The media type of the distribution as defined by IANA
|
113
|
+
# # @return [RDF::Vocabulary::Term]
|
114
|
+
# attr_reader :mediaType
|
115
|
+
#
|
116
|
+
# # The package format of the distribution in which one or more data files are grouped together, e.g. to enable a set of related files to be downloaded together.
|
117
|
+
# # @return [RDF::Vocabulary::Term]
|
118
|
+
# attr_reader :packageFormat
|
119
|
+
#
|
120
|
+
# # Link to a description of a relationship with another resource.
|
121
|
+
# # @return [RDF::Vocabulary::Term]
|
122
|
+
# attr_reader :qualifiedRelation
|
123
|
+
#
|
124
|
+
# # A record describing the registration of a single dataset or data service that is part of the catalog.
|
125
|
+
# # @return [RDF::Vocabulary::Term]
|
126
|
+
# attr_reader :record
|
127
|
+
#
|
128
|
+
# # A collection of data that this DataService can distribute.
|
129
|
+
# # @return [RDF::Vocabulary::Term]
|
130
|
+
# attr_reader :servesDataset
|
131
|
+
#
|
132
|
+
# # A site or endpoint that is listed in the catalog.
|
133
|
+
# # @return [RDF::Vocabulary::Term]
|
134
|
+
# attr_reader :service
|
135
|
+
#
|
136
|
+
# # minimum spatial separation resolvable in a dataset, measured in meters.
|
137
|
+
# #
|
138
|
+
# # minimum spatial separation resolvable in a dataset, measured in metres.
|
139
|
+
# # @return [RDF::Vocabulary::Term]
|
140
|
+
# attr_reader :spatialResolutionInMeters
|
141
|
+
#
|
142
|
+
# # @return [RDF::Vocabulary::Term]
|
143
|
+
# attr_reader :startDate
|
144
|
+
#
|
145
|
+
# # minimum time period resolvable in a dataset.
|
146
|
+
# # @return [RDF::Vocabulary::Term]
|
147
|
+
# attr_reader :temporalResolution
|
148
|
+
#
|
149
|
+
# # A main category of the resource. A resource can have multiple themes.
|
150
|
+
# # @return [RDF::Vocabulary::Term]
|
151
|
+
# attr_reader :theme
|
152
|
+
#
|
153
|
+
# # The knowledge organization system (KOS) used to classify catalog's datasets.
|
154
|
+
# # @return [RDF::Vocabulary::Term]
|
155
|
+
# attr_reader :themeTaxonomy
|
156
|
+
#
|
9
157
|
# end
|
10
|
-
|
158
|
+
DCAT = Class.new(RDF::StrictVocabulary("http://www.w3.org/ns/dcat#")) do
|
11
159
|
|
12
160
|
# Ontology definition
|
13
161
|
ontology :"http://www.w3.org/ns/dcat#",
|
@@ -89,7 +237,7 @@ module RDF::Vocab
|
|
89
237
|
), term(
|
90
238
|
"foaf:name": "John Erickson".freeze
|
91
239
|
)],
|
92
|
-
"dc:license": "https://
|
240
|
+
"dc:license": "https://creativecommons.org/licenses/by/4.0/".freeze,
|
93
241
|
"dc:modified": ["2012-04-24".freeze, "2013-09-20".freeze, "2013-11-28".freeze, "2017-12-19".freeze, "2019".freeze],
|
94
242
|
editorialNote: %(English language definitions updated in this revision in line with ED. Multilingual text unevenly updated.).freeze,
|
95
243
|
"foaf:maker": term(
|
@@ -103,8 +251,8 @@ module RDF::Vocab
|
|
103
251
|
|
104
252
|
# Class definitions
|
105
253
|
term :Catalog,
|
106
|
-
comment: %(A curated collection of metadata about datasets and data services).freeze,
|
107
|
-
definition: %(A curated collection of metadata about datasets and data services.).freeze,
|
254
|
+
comment: %(A curated collection of metadata about resources \(e.g., datasets and data services in the context of a data catalog\).).freeze,
|
255
|
+
definition: %(A curated collection of metadata about resources \(e.g., datasets and data services in the context of a data catalog\).).freeze,
|
108
256
|
editorialNote: %(English, Italian, Spanish definitions updated in this revision. Multilingual text not yet updated.).freeze,
|
109
257
|
isDefinedBy: "http://www.w3.org/TR/vocab-dcat/".freeze,
|
110
258
|
label: "Catalog".freeze,
|
data/lib/rdf/vocab/dcmitype.rb
CHANGED
@@ -7,7 +7,7 @@ module RDF::Vocab
|
|
7
7
|
# # Vocabulary for <http://purl.org/dc/dcmitype/>
|
8
8
|
# class DCMIType < RDF::StrictVocabulary
|
9
9
|
# end
|
10
|
-
|
10
|
+
DCMIType = Class.new(RDF::StrictVocabulary("http://purl.org/dc/dcmitype/")) do
|
11
11
|
|
12
12
|
# Ontology definition
|
13
13
|
ontology :"http://purl.org/dc/dcmitype/",
|
data/lib/rdf/vocab/disco.rb
CHANGED
@@ -5,9 +5,236 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://rdf-vocabulary.ddialliance.org/discovery#>
|
8
|
+
# #
|
9
|
+
# # DDI-RDF Discovery Vocabulary
|
10
|
+
# #
|
11
|
+
# # This specification defines the DDI Discovery Vocabulary, an RDF Schema vocabulary that enables discovery of research and survey data on the Web. It is based on DDI (Data Documentation Initiative) XML formats.
|
12
|
+
# #
|
13
|
+
# # This specification defines the DDI Discovery Vocabulary, an RDF Schema vocabulary that enables discovery of research and survey data on the Web. It is based on DDI (Data Documentation Initiative) XML formats.
|
14
|
+
# # @version Version 0.6 - 2013-09-30
|
8
15
|
# class DISCO < RDF::StrictVocabulary
|
16
|
+
# # The process collecting data is focusing on the analysis of a particular type of subject. If, for example, the adult population of Finland is being studied, the AnalysisUnit would be individuals or persons.
|
17
|
+
# # @return [RDF::Vocabulary::Term]
|
18
|
+
# attr_reader :AnalysisUnit
|
19
|
+
#
|
20
|
+
# # For CategoryStatistics, frequencies, percentages, and weighted percentages can be defined.
|
21
|
+
# # @return [RDF::Vocabulary::Term]
|
22
|
+
# attr_reader :CategoryStatistics
|
23
|
+
#
|
24
|
+
# # The class DataFile, which is also a dcmitype:Dataset, represents all the data files containing the microdata datasets.
|
25
|
+
# # @return [RDF::Vocabulary::Term]
|
26
|
+
# attr_reader :DataFile
|
27
|
+
#
|
28
|
+
# # SummaryStatistics pointing to variables and CategoryStatistics pointing to categories and codes are both DescriptiveStatistics.
|
29
|
+
# # @return [RDF::Vocabulary::Term]
|
30
|
+
# attr_reader :DescriptiveStatistics
|
31
|
+
#
|
32
|
+
# # The data for the study are collected by an Instrument. The purpose of an Instrument, i.e. an interview, a questionnaire or another entity used as a means of data collection, is in the case of a survey to record the flow of a questionnaire, its use of questions, and additional component parts. A questionnaire contains a flow of questions.
|
33
|
+
# # @return [RDF::Vocabulary::Term]
|
34
|
+
# attr_reader :Instrument
|
35
|
+
#
|
36
|
+
# # Each study has a set of logical metadata associated with the processing of data, at the time of collection or later during cleaning, and re-coding. LogicalDataSet represents the microdata dataset.
|
37
|
+
# # @return [RDF::Vocabulary::Term]
|
38
|
+
# attr_reader :LogicalDataSet
|
39
|
+
#
|
40
|
+
# # This class is for representing mappings betwenn DDI-RDF and DDI-XML. See Section 10 in the specification for more details and examples.
|
41
|
+
# # @return [RDF::Vocabulary::Term]
|
42
|
+
# attr_reader :Mapping
|
43
|
+
#
|
44
|
+
# # A Question is designed to get information upon a subject, or sequence of subjects, from a respondent.
|
45
|
+
# # @return [RDF::Vocabulary::Term]
|
46
|
+
# attr_reader :Question
|
47
|
+
#
|
48
|
+
# # A questionnaire contains a flow of questions. Questionnaires must contain 1 to n questions using the object property question. Particular questions may be contained in 0 to n questionnaires.
|
49
|
+
# # @return [RDF::Vocabulary::Term]
|
50
|
+
# attr_reader :Questionnaire
|
51
|
+
#
|
52
|
+
# # Representation of a variable or question definition.
|
53
|
+
# # @return [RDF::Vocabulary::Term]
|
54
|
+
# attr_reader :Representation
|
55
|
+
#
|
56
|
+
# # RepresentedVariables encompasse study-independent, re-usable parts of variables like occupation classification.
|
57
|
+
# # @return [RDF::Vocabulary::Term]
|
58
|
+
# attr_reader :RepresentedVariable
|
59
|
+
#
|
60
|
+
# # A Study represents the process by which a data set was generated or collected.
|
61
|
+
# # @return [RDF::Vocabulary::Term]
|
62
|
+
# attr_reader :Study
|
63
|
+
#
|
64
|
+
# # In some cases, where data collection is cyclic or on-going, data sets may be released as a StudyGroup, where each cycle or wave of the data collection activity produces one or more data sets. This is typical for longitudinal studies, panel studies, and other types of series (to use the DDI term). In this case, a number of Study objects would be collected into a single StudyGroup.
|
65
|
+
# # @return [RDF::Vocabulary::Term]
|
66
|
+
# attr_reader :StudyGroup
|
67
|
+
#
|
68
|
+
# # For SummaryStatistics, maximum values, minimum values, and standard deviations can be defined.
|
69
|
+
# # @return [RDF::Vocabulary::Term]
|
70
|
+
# attr_reader :SummaryStatistics
|
71
|
+
#
|
72
|
+
# # A Universe is the total membership or population of a defined class of people, objects or events.
|
73
|
+
# # @return [RDF::Vocabulary::Term]
|
74
|
+
# attr_reader :Universe
|
75
|
+
#
|
76
|
+
# # Variables provide a definition of the column in a rectangular data file. Variable is a characteristic of a unit being observed. A variable might be the answer of a question, have an administrative source, or be derived from other variables.
|
77
|
+
# # @return [RDF::Vocabulary::Term]
|
78
|
+
# attr_reader :Variable
|
79
|
+
#
|
80
|
+
# # This property points to the aggregated data set of a microdata data set. The aggregated data set is a qb:DataSet of the RDF Data Cube Vocabulary.
|
81
|
+
# # @return [RDF::Vocabulary::Term]
|
82
|
+
# attr_reader :aggregation
|
83
|
+
#
|
84
|
+
# # This property links to the analysis unit of a Study, a StudyGroup, or a Variable.
|
85
|
+
# # @return [RDF::Vocabulary::Term]
|
86
|
+
# attr_reader :analysisUnit
|
87
|
+
#
|
88
|
+
# # This property points to the RepresentedVariable the Variable is based on.
|
89
|
+
# # @return [RDF::Vocabulary::Term]
|
90
|
+
# attr_reader :basedOn
|
91
|
+
#
|
92
|
+
# # This property is used for representing the case quantity of a DataFile.
|
93
|
+
# # @return [RDF::Vocabulary::Term]
|
94
|
+
# attr_reader :caseQuantity
|
95
|
+
#
|
96
|
+
# # This property points to the mode of collection of a Questionnaire which is a skos:Concept.
|
97
|
+
# # @return [RDF::Vocabulary::Term]
|
98
|
+
# attr_reader :collectionMode
|
99
|
+
#
|
100
|
+
# # computationBase expresses if the cases - which are the basis of the computation of a statistics value - are valid, invalid or the total of both. The usage of computationBase for frequency differs from the usage for the percentage statistics and the summary statistics. A distinction regarding computationBase doesn’t apply to frequency as category statistic. Please find more details in Section 6.3 of the specification.
|
101
|
+
# # @return [RDF::Vocabulary::Term]
|
102
|
+
# attr_reader :computationBase
|
103
|
+
#
|
104
|
+
# # This property points to the DDI concept of a RepresentedVariable, a Variable, or a Question
|
105
|
+
# # @return [RDF::Vocabulary::Term]
|
106
|
+
# attr_reader :concept
|
107
|
+
#
|
108
|
+
# # context specifies conditions which have to be fulfilled for particular mappings. Context information can be either a SPARQL query or an informal description as plain literal.
|
109
|
+
# # @return [RDF::Vocabulary::Term]
|
110
|
+
# attr_reader :context
|
111
|
+
#
|
112
|
+
# # This property is used to describe the cumulative percentages within category statistics. See Sections 6 and 7 more more details and examples.
|
113
|
+
# # @return [RDF::Vocabulary::Term]
|
114
|
+
# attr_reader :cumulativePercentage
|
115
|
+
#
|
116
|
+
# # This property points to the DataFile of a Study or a LogicalDataSet.
|
117
|
+
# # @return [RDF::Vocabulary::Term]
|
118
|
+
# attr_reader :dataFile
|
119
|
+
#
|
120
|
+
# # This property points from a Study or a StudyGroup to the original DDI file which is a foaf:Document.
|
121
|
+
# # @return [RDF::Vocabulary::Term]
|
122
|
+
# attr_reader :ddifile
|
123
|
+
#
|
124
|
+
# # Defines the end date of a period of time. Please note that this property is a feature at risk, since the domain is not a class of Disco. Maintainers of the domain ontology may define their own property.
|
125
|
+
# # @return [RDF::Vocabulary::Term]
|
126
|
+
# attr_reader :endDate
|
127
|
+
#
|
128
|
+
# # This property points from an Instrument to a foaf:Document which is the external documentation of the Instrument.
|
129
|
+
# # @return [RDF::Vocabulary::Term]
|
130
|
+
# attr_reader :externalDocumentation
|
131
|
+
#
|
132
|
+
# # This property is used to describe the frequencies within category statistics. See Sections 6 and 7 more more details and examples.
|
133
|
+
# # @return [RDF::Vocabulary::Term]
|
134
|
+
# attr_reader :frequency
|
135
|
+
#
|
136
|
+
# # This property points from a Study or a StudyGroup to the funding foaf:Agent which is either a foaf:Person or a org:Organization.
|
137
|
+
# # @return [RDF::Vocabulary::Term]
|
138
|
+
# attr_reader :fundedBy
|
139
|
+
#
|
140
|
+
# # This property indicates the role of an Agent, e.g. analyst, data modeler, programmer, co-investigator or others.
|
141
|
+
# # @return [RDF::Vocabulary::Term]
|
142
|
+
# attr_reader :hadRole
|
143
|
+
#
|
144
|
+
# # This property points from a Study to the StudyGroup which contains the Study.
|
145
|
+
# # @return [RDF::Vocabulary::Term]
|
146
|
+
# attr_reader :inGroup
|
147
|
+
#
|
148
|
+
# # This property indicates the original Variable of an aggregated qb:DataSet. Please note that this property is a feature at risk, since the domain is not a class of Disco. Maintainers of the domain ontology may define their own property.
|
149
|
+
# # @return [RDF::Vocabulary::Term]
|
150
|
+
# attr_reader :inputVariable
|
151
|
+
#
|
152
|
+
# # This property indicates the Instrument of a Study or a LogicalDataSet.
|
153
|
+
# # @return [RDF::Vocabulary::Term]
|
154
|
+
# attr_reader :instrument
|
155
|
+
#
|
156
|
+
# # This property is used as a flag indicating if the microdata dataset is publicly available. The value true indicates that the dataset can be accessed (usually downloaded) by anyone.
|
157
|
+
# # @return [RDF::Vocabulary::Term]
|
158
|
+
# attr_reader :isPublic
|
159
|
+
#
|
160
|
+
# # Indicates if the code (represented by skos:Concept) is valid or missing. Please note that this property is a feature at risk, since the domain is not a class of Disco. Maintainers of the domain ontology may define their own property.
|
161
|
+
# # @return [RDF::Vocabulary::Term]
|
162
|
+
# attr_reader :isValid
|
163
|
+
#
|
164
|
+
# # The general kind of data (e.g. geospatial, register, survey) collected in this study, given either as a skos:Concept, or as a blank node with attached free-text rdfs:label.
|
165
|
+
# # @return [RDF::Vocabulary::Term]
|
166
|
+
# attr_reader :kindOfData
|
167
|
+
#
|
168
|
+
# # This property is used to describe the percentages within category statistics. See Sections 6 and 7 more more details and examples.
|
169
|
+
# # @return [RDF::Vocabulary::Term]
|
170
|
+
# attr_reader :percentage
|
171
|
+
#
|
172
|
+
# # This property indicates the LogicalDataSets of a Study.
|
173
|
+
# # @return [RDF::Vocabulary::Term]
|
174
|
+
# attr_reader :product
|
175
|
+
#
|
176
|
+
# # The purpose of a Study of a StudyGroup.
|
177
|
+
# # @return [RDF::Vocabulary::Term]
|
178
|
+
# attr_reader :purpose
|
179
|
+
#
|
180
|
+
# # This property indicates the Questions associated to Variables or contained in Questionnaires.
|
181
|
+
# # @return [RDF::Vocabulary::Term]
|
182
|
+
# attr_reader :question
|
183
|
+
#
|
184
|
+
# # This property contains the actual text of a question as string. See Section 8.2 for examples.
|
185
|
+
# # @return [RDF::Vocabulary::Term]
|
186
|
+
# attr_reader :questionText
|
187
|
+
#
|
188
|
+
# # RepresentedVariables and Variables can have a Representation whose individuals are either of the class rdfs:Datatype (to represent values) or skos:ConceptScheme (to represent code lists).
|
189
|
+
# # @return [RDF::Vocabulary::Term]
|
190
|
+
# attr_reader :representation
|
191
|
+
#
|
192
|
+
# # The response domain of questions. The response domain has to be an instance of the class Representation.
|
193
|
+
# # @return [RDF::Vocabulary::Term]
|
194
|
+
# attr_reader :responseDomain
|
195
|
+
#
|
196
|
+
# # Defines the start date of a period of time. Please note that this property is a feature at risk, since the domain is not a class of Disco. Maintainers of the domain ontology may define their own property.
|
197
|
+
# # @return [RDF::Vocabulary::Term]
|
198
|
+
# attr_reader :startDate
|
199
|
+
#
|
200
|
+
# # This property points to the skos:Concept (representing codes and categories) of a specific CategoryStatistics individual.
|
201
|
+
# # @return [RDF::Vocabulary::Term]
|
202
|
+
# attr_reader :statisticsCategory
|
203
|
+
#
|
204
|
+
# # This property indicates the DataFile of a specific DesciptiveStatistics individual. DescriptiveStatistics may have statisticsDataFile relations to 0 to n data files (DataFile) and data files (DataFile) may be in 0 to n statisticsDataFile relations to DescriptiveStatistics individuals.
|
205
|
+
# # @return [RDF::Vocabulary::Term]
|
206
|
+
# attr_reader :statisticsDataFile
|
207
|
+
#
|
208
|
+
# # This property indicates the Variable of a specific SummaryStatistics individual. SummaryStatistics point to 0 to n variables (Variable) using the object property statisticsVariable.
|
209
|
+
# # @return [RDF::Vocabulary::Term]
|
210
|
+
# attr_reader :statisticsVariable
|
211
|
+
#
|
212
|
+
# # The sub-title of a Study of a StudyGroup.
|
213
|
+
# # @return [RDF::Vocabulary::Term]
|
214
|
+
# attr_reader :subtitle
|
215
|
+
#
|
216
|
+
# # This property points to the summary statistics type of a Questionnaire which is a skos:Concept.
|
217
|
+
# # @return [RDF::Vocabulary::Term]
|
218
|
+
# attr_reader :summaryStatisticsType
|
219
|
+
#
|
220
|
+
# # This property indicates the Universe(s) of Studies, StudyGrous, RepresentedVariables, Variables, Questions, and LogicalDataSets.
|
221
|
+
# # @return [RDF::Vocabulary::Term]
|
222
|
+
# attr_reader :universe
|
223
|
+
#
|
224
|
+
# # This property indicates the Variable of a Study and points to Variable contained in the LogicalDataSet.
|
225
|
+
# # @return [RDF::Vocabulary::Term]
|
226
|
+
# attr_reader :variable
|
227
|
+
#
|
228
|
+
# # This property can be used when (1) no variable level information is available and when (2) only a stub of the RDF is requested e.g when returning basic information on a study of file, no information on potentially hundreds or thousands of variables references or metadata has to be returned.
|
229
|
+
# # @return [RDF::Vocabulary::Term]
|
230
|
+
# attr_reader :variableQuantity
|
231
|
+
#
|
232
|
+
# # SummaryStatistics or CategoryStatistics resources may be weighted by a specific Variable.
|
233
|
+
# # @return [RDF::Vocabulary::Term]
|
234
|
+
# attr_reader :weightedBy
|
235
|
+
#
|
9
236
|
# end
|
10
|
-
|
237
|
+
DISCO = Class.new(RDF::StrictVocabulary("http://rdf-vocabulary.ddialliance.org/discovery#")) do
|
11
238
|
|
12
239
|
# Ontology definition
|
13
240
|
ontology :"http://rdf-vocabulary.ddialliance.org/discovery#",
|