Class: RDF::Tabular::CSVW

Inherits:
StrictVocabulary
  • Object
show all
Defined in:
lib/rdf/tabular/csvw.rb

Overview

Vocabulary for www.w3.org/ns/csvw#

CSVW Namespace Vocabulary Terms

This document describes the RDFS vocabulary description used in the Metadata Vocabulary for Tabular Data [[tabular-metadata]] along with the default JSON-LD Context.

Instance Attribute Summary collapse

Instance Attribute Details

#aboutUrlRDF::Vocabulary::Term (readonly)

A URI template property that MAY be used to indicate what a cell contains information about.

Returns:

  • (RDF::Vocabulary::Term)


63
64
65
# File 'lib/rdf/tabular/csvw.rb', line 63

def aboutUrl
  @aboutUrl
end

#autoRDF::Vocabulary::Term (readonly)

Indicates whether the tables in the group should be displayed based on the first character in the table that has a specific direction.

Returns:

  • (RDF::Vocabulary::Term)


319
320
321
# File 'lib/rdf/tabular/csvw.rb', line 319

def auto
  @auto
end

#baseRDF::Vocabulary::Term (readonly)

An atomic property that contains a single string: a term defined in the default context representing a built-in datatype URL, as listed above.

Returns:

  • (RDF::Vocabulary::Term)


67
68
69
# File 'lib/rdf/tabular/csvw.rb', line 67

def base
  @base
end

#CellRDF::Vocabulary::Term (readonly)

A Cell represents a cell at the intersection of a Row and a Column within a Table.

Returns:

  • (RDF::Vocabulary::Term)


11
12
13
# File 'lib/rdf/tabular/csvw.rb', line 11

def Cell
  @Cell
end

#ColumnRDF::Vocabulary::Term (readonly)

A Column represents a vertical arrangement of Cells within a Table.

Returns:

  • (RDF::Vocabulary::Term)


15
16
17
# File 'lib/rdf/tabular/csvw.rb', line 15

def Column
  @Column
end

#columnRDF::Vocabulary::Term (readonly)

An array property of column descriptions as described in section 5.6 Columns.

Returns:

  • (RDF::Vocabulary::Term)


71
72
73
# File 'lib/rdf/tabular/csvw.rb', line 71

def column
  @column
end

#columnReferenceRDF::Vocabulary::Term (readonly)

A column reference property that holds either a single reference to a column description object within this schema, or an array of references. These form the referencing columns for the foreign key definition.

Returns:

  • (RDF::Vocabulary::Term)


75
76
77
# File 'lib/rdf/tabular/csvw.rb', line 75

def columnReference
  @columnReference
end

#commentPrefixRDF::Vocabulary::Term (readonly)

An atomic property that sets the comment prefix flag to the single provided value, which MUST be a string.

Returns:

  • (RDF::Vocabulary::Term)


79
80
81
# File 'lib/rdf/tabular/csvw.rb', line 79

def commentPrefix
  @commentPrefix
end

#csvEncodedTabularDataRDF::Vocabulary::Term (readonly)

Describes the role of a CSV file in the tabular data mapping.

Returns:

  • (RDF::Vocabulary::Term)


323
324
325
# File 'lib/rdf/tabular/csvw.rb', line 323

def csvEncodedTabularData
  @csvEncodedTabularData
end

#DatatypeRDF::Vocabulary::Term (readonly)

Describes facets of a datatype.

Returns:

  • (RDF::Vocabulary::Term)


19
20
21
# File 'lib/rdf/tabular/csvw.rb', line 19

def Datatype
  @Datatype
end

#datatypeRDF::Vocabulary::Term (readonly)

An object property that contains either a single string that is the main datatype of the values of the cell or a datatype description object. If the value of this property is a string, it MUST be one of the built-in datatypes defined in section 5.11.1 Built-in Datatypes or an absolute URL; if it is an object then it describes a more specialised datatype.

Returns:

  • (RDF::Vocabulary::Term)


83
84
85
# File 'lib/rdf/tabular/csvw.rb', line 83

def datatype
  @datatype
end

#decimalCharRDF::Vocabulary::Term (readonly)

A string whose value is used to represent a decimal point within the number.

Returns:

  • (RDF::Vocabulary::Term)


87
88
89
# File 'lib/rdf/tabular/csvw.rb', line 87

def decimalChar
  @decimalChar
end

#defaultRDF::Vocabulary::Term (readonly)

An atomic property holding a single string that is used to create a default value for the cell in cases where the original string value is an empty string.

Returns:

  • (RDF::Vocabulary::Term)


91
92
93
# File 'lib/rdf/tabular/csvw.rb', line 91

def default
  @default
end

#delimiterRDF::Vocabulary::Term (readonly)

An atomic property that sets the delimiter flag to the single provided value, which MUST be a string.

Returns:

  • (RDF::Vocabulary::Term)


95
96
97
# File 'lib/rdf/tabular/csvw.rb', line 95

def delimiter
  @delimiter
end

#describesRDF::Vocabulary::Term (readonly)

From IANA describes: The relationship A ‘describes’ B asserts that resource A provides a description of resource B. There are no constraints on the format or representation of either A or B, neither are there any further constraints on either resource.

Returns:

  • (RDF::Vocabulary::Term)


99
100
101
# File 'lib/rdf/tabular/csvw.rb', line 99

def describes
  @describes
end

#DialectRDF::Vocabulary::Term (readonly)

A Dialect Description provides hints to parsers about how to parse a linked file.

Returns:

  • (RDF::Vocabulary::Term)


23
24
25
# File 'lib/rdf/tabular/csvw.rb', line 23

def Dialect
  @Dialect
end

#dialectRDF::Vocabulary::Term (readonly)

An object property that provides a single dialect description. If provided, dialect provides hints to processors about how to parse the referenced files to create tabular data models for the tables in the group.

Returns:

  • (RDF::Vocabulary::Term)


103
104
105
# File 'lib/rdf/tabular/csvw.rb', line 103

def dialect
  @dialect
end

#DirectionRDF::Vocabulary::Term (readonly)

The class of table/text directions.

Returns:

  • (RDF::Vocabulary::Term)


27
28
29
# File 'lib/rdf/tabular/csvw.rb', line 27

def Direction
  @Direction
end

#doubleQuoteRDF::Vocabulary::Term (readonly)

A boolean atomic property that, if true, sets the escape character flag to ".

Returns:

  • (RDF::Vocabulary::Term)


107
108
109
# File 'lib/rdf/tabular/csvw.rb', line 107

def doubleQuote
  @doubleQuote
end

#encodingRDF::Vocabulary::Term (readonly)

An atomic property that sets the encoding flag to the single provided string value, which MUST be a defined in [[encoding]]. The default is “utf-8”.

Returns:

  • (RDF::Vocabulary::Term)


111
112
113
# File 'lib/rdf/tabular/csvw.rb', line 111

def encoding
  @encoding
end

#ForeignKeyRDF::Vocabulary::Term (readonly)

Describes relationships between Columns in one or more Tables.

Returns:

  • (RDF::Vocabulary::Term)


31
32
33
# File 'lib/rdf/tabular/csvw.rb', line 31

def ForeignKey
  @ForeignKey
end

#foreignKeyRDF::Vocabulary::Term (readonly)

For a Table: a list of foreign keys on the table. For a Schema: an array property of foreign key definitions that define how the values from specified columns within this table link to rows within this table or other tables.

Returns:

  • (RDF::Vocabulary::Term)


115
116
117
# File 'lib/rdf/tabular/csvw.rb', line 115

def foreignKey
  @foreignKey
end

#formatRDF::Vocabulary::Term (readonly)

An atomic property that contains either a single string or an object that defines the format of a value of this type, used when parsing a string value as described in Parsing Cells in [[tabular-data-model]].

Returns:

  • (RDF::Vocabulary::Term)


119
120
121
# File 'lib/rdf/tabular/csvw.rb', line 119

def format
  @format
end

#groupCharRDF::Vocabulary::Term (readonly)

A string whose value is used to group digits within the number.

Returns:

  • (RDF::Vocabulary::Term)


123
124
125
# File 'lib/rdf/tabular/csvw.rb', line 123

def groupChar
  @groupChar
end

#headerRDF::Vocabulary::Term (readonly)

A boolean atomic property that, if true, sets the header row count flag to 1, and if false to 0, unless headerRowCount is provided, in which case the value provided for the header property is ignored.

Returns:

  • (RDF::Vocabulary::Term)


127
128
129
# File 'lib/rdf/tabular/csvw.rb', line 127

def header
  @header
end

#headerRowCountRDF::Vocabulary::Term (readonly)

An numeric atomic property that sets the header row count flag to the single provided value, which must be a non-negative integer.

Returns:

  • (RDF::Vocabulary::Term)


131
132
133
# File 'lib/rdf/tabular/csvw.rb', line 131

def headerRowCount
  @headerRowCount
end

#inheritRDF::Vocabulary::Term (readonly)

For textDirection, indicates that the direction is inherited from the tableDirection annotation of the table.

Returns:

  • (RDF::Vocabulary::Term)


327
328
329
# File 'lib/rdf/tabular/csvw.rb', line 327

def inherit
  @inherit
end

#JSONRDF::Vocabulary::Term (readonly)

A literal containing JSON.

Returns:

  • (RDF::Vocabulary::Term)


311
312
313
# File 'lib/rdf/tabular/csvw.rb', line 311

def JSON
  @JSON
end

#langRDF::Vocabulary::Term (readonly)

An atomic property giving a single string language code as defined by [[BCP47]].

Returns:

  • (RDF::Vocabulary::Term)


135
136
137
# File 'lib/rdf/tabular/csvw.rb', line 135

def lang
  @lang
end

#lengthRDF::Vocabulary::Term (readonly)

The exact length of the value of the cell.

Returns:

  • (RDF::Vocabulary::Term)


139
140
141
# File 'lib/rdf/tabular/csvw.rb', line 139

def length
  @length
end

#lineTerminatorsRDF::Vocabulary::Term (readonly)

An atomic property that sets the line terminators flag to either an array containing the single provided string value, or the provided array.

Returns:

  • (RDF::Vocabulary::Term)


143
144
145
# File 'lib/rdf/tabular/csvw.rb', line 143

def lineTerminators
  @lineTerminators
end

#ltrRDF::Vocabulary::Term (readonly)

Indicates whether the tables in the group should be displayed with the first column on the right.

Returns:

  • (RDF::Vocabulary::Term)


331
332
333
# File 'lib/rdf/tabular/csvw.rb', line 331

def ltr
  @ltr
end

#maxExclusiveRDF::Vocabulary::Term (readonly)

An atomic property that contains a single number that is the maximum valid value (exclusive).

Returns:

  • (RDF::Vocabulary::Term)


147
148
149
# File 'lib/rdf/tabular/csvw.rb', line 147

def maxExclusive
  @maxExclusive
end

#maxInclusiveRDF::Vocabulary::Term (readonly)

An atomic property that contains a single number that is the maximum valid value (inclusive).

Returns:

  • (RDF::Vocabulary::Term)


151
152
153
# File 'lib/rdf/tabular/csvw.rb', line 151

def maxInclusive
  @maxInclusive
end

#maxLengthRDF::Vocabulary::Term (readonly)

A numeric atomic property that contains a single integer that is the maximum length of the value.

Returns:

  • (RDF::Vocabulary::Term)


155
156
157
# File 'lib/rdf/tabular/csvw.rb', line 155

def maxLength
  @maxLength
end

#minExclusiveRDF::Vocabulary::Term (readonly)

An atomic property that contains a single number that is the minimum valid value (exclusive).

Returns:

  • (RDF::Vocabulary::Term)


159
160
161
# File 'lib/rdf/tabular/csvw.rb', line 159

def minExclusive
  @minExclusive
end

#minInclusiveRDF::Vocabulary::Term (readonly)

An atomic property that contains a single number that is the minimum valid value (inclusive).

Returns:

  • (RDF::Vocabulary::Term)


163
164
165
# File 'lib/rdf/tabular/csvw.rb', line 163

def minInclusive
  @minInclusive
end

#minLengthRDF::Vocabulary::Term (readonly)

An atomic property that contains a single integer that is the minimum length of the value.

Returns:

  • (RDF::Vocabulary::Term)


167
168
169
# File 'lib/rdf/tabular/csvw.rb', line 167

def minLength
  @minLength
end

#nameRDF::Vocabulary::Term (readonly)

An atomic property that gives a single canonical name for the column. The value of this property becomes the name annotation for the described column.

Returns:

  • (RDF::Vocabulary::Term)


171
172
173
# File 'lib/rdf/tabular/csvw.rb', line 171

def name
  @name
end

#noteRDF::Vocabulary::Term (readonly)

An array property that provides an array of objects representing arbitrary annotations on the annotated tabular data model.

Returns:

  • (RDF::Vocabulary::Term)


175
176
177
# File 'lib/rdf/tabular/csvw.rb', line 175

def note
  @note
end

#nullRDF::Vocabulary::Term (readonly)

An atomic property giving the string or strings used for null values within the data. If the string value of the cell is equal to any one of these values, the cell value is null.

Returns:

  • (RDF::Vocabulary::Term)


179
180
181
# File 'lib/rdf/tabular/csvw.rb', line 179

def null
  @null
end

#NumericFormatRDF::Vocabulary::Term (readonly)

If the datatype is a numeric type, the format property indicates the expected format for that number. Its value must be either a single string or an object with one or more properties.

Returns:

  • (RDF::Vocabulary::Term)


35
36
37
# File 'lib/rdf/tabular/csvw.rb', line 35

def NumericFormat
  @NumericFormat
end

#orderedRDF::Vocabulary::Term (readonly)

A boolean atomic property taking a single value which indicates whether a list that is the value of the cell is ordered (if true) or unordered (if false).

Returns:

  • (RDF::Vocabulary::Term)


183
184
185
# File 'lib/rdf/tabular/csvw.rb', line 183

def ordered
  @ordered
end

#patternRDF::Vocabulary::Term (readonly)

A regular expression string, in the syntax and interpreted as defined by [[ECMASCRIPT]].

Returns:

  • (RDF::Vocabulary::Term)


187
188
189
# File 'lib/rdf/tabular/csvw.rb', line 187

def pattern
  @pattern
end

#primaryKeyRDF::Vocabulary::Term (readonly)

For Schema: A column reference property that holds either a single reference to a column description object or an array of references. For Row: a possibly empty list of cells whose values together provide a unique identifier for this row. This is similar to the name of a column.

Returns:

  • (RDF::Vocabulary::Term)


191
192
193
# File 'lib/rdf/tabular/csvw.rb', line 191

def primaryKey
  @primaryKey
end

#propertyUrlRDF::Vocabulary::Term (readonly)

An URI template property that MAY be used to create a URI for a property if the table is mapped to another format.

Returns:

  • (RDF::Vocabulary::Term)


195
196
197
# File 'lib/rdf/tabular/csvw.rb', line 195

def propertyUrl
  @propertyUrl
end

#quoteCharRDF::Vocabulary::Term (readonly)

An atomic property that sets the quote character flag to the single provided value, which must be a string or null.

Returns:

  • (RDF::Vocabulary::Term)


199
200
201
# File 'lib/rdf/tabular/csvw.rb', line 199

def quoteChar
  @quoteChar
end

#referenceRDF::Vocabulary::Term (readonly)

An object property that identifies a referenced table and a set of referenced columns within that table.

Returns:

  • (RDF::Vocabulary::Term)


203
204
205
# File 'lib/rdf/tabular/csvw.rb', line 203

def reference
  @reference
end

#referencedRowRDF::Vocabulary::Term (readonly)

A possibly empty list of pairs of a foreign key and a row in a table within the same group of tables.

Returns:

  • (RDF::Vocabulary::Term)


207
208
209
# File 'lib/rdf/tabular/csvw.rb', line 207

def referencedRow
  @referencedRow
end

#requiredRDF::Vocabulary::Term (readonly)

A boolean atomic property taking a single value which indicates whether the cell must have a non-null value. The default is false.

Returns:

  • (RDF::Vocabulary::Term)


211
212
213
# File 'lib/rdf/tabular/csvw.rb', line 211

def required
  @required
end

#resourceRDF::Vocabulary::Term (readonly)

A link property holding a URL that is the identifier for a specific table that is being referenced.

Returns:

  • (RDF::Vocabulary::Term)


215
216
217
# File 'lib/rdf/tabular/csvw.rb', line 215

def resource
  @resource
end

#RowRDF::Vocabulary::Term (readonly)

A Row represents a horizontal arrangement of cells within a Table.

Returns:

  • (RDF::Vocabulary::Term)


39
40
41
# File 'lib/rdf/tabular/csvw.rb', line 39

def Row
  @Row
end

#rowRDF::Vocabulary::Term (readonly)

Relates a Table to each Row output.

Returns:

  • (RDF::Vocabulary::Term)


219
220
221
# File 'lib/rdf/tabular/csvw.rb', line 219

def row
  @row
end

#rownumRDF::Vocabulary::Term (readonly)

The position of the row amongst the rows of the Annotated Tabl, starting from 1

Returns:

  • (RDF::Vocabulary::Term)


227
228
229
# File 'lib/rdf/tabular/csvw.rb', line 227

def rownum
  @rownum
end

#rowTitleRDF::Vocabulary::Term (readonly)

A column reference property that holds either a single reference to a column description object or an array of references.

Returns:

  • (RDF::Vocabulary::Term)


223
224
225
# File 'lib/rdf/tabular/csvw.rb', line 223

def rowTitle
  @rowTitle
end

#rtlRDF::Vocabulary::Term (readonly)

Indicates whether the tables in the group should be displayed with the first column on the left.

Returns:

  • (RDF::Vocabulary::Term)


335
336
337
# File 'lib/rdf/tabular/csvw.rb', line 335

def rtl
  @rtl
end

#SchemaRDF::Vocabulary::Term (readonly)

A Schema is a definition of a tabular format that may be common to multiple tables.

Returns:

  • (RDF::Vocabulary::Term)


43
44
45
# File 'lib/rdf/tabular/csvw.rb', line 43

def Schema
  @Schema
end

#schemaReferenceRDF::Vocabulary::Term (readonly)

A link property holding a URL that is the identifier for a schema that is being referenced.

Returns:

  • (RDF::Vocabulary::Term)


231
232
233
# File 'lib/rdf/tabular/csvw.rb', line 231

def schemaReference
  @schemaReference
end

#scriptFormatRDF::Vocabulary::Term (readonly)

A link property giving the single URL for the format that is used by the script or template.

Returns:

  • (RDF::Vocabulary::Term)


235
236
237
# File 'lib/rdf/tabular/csvw.rb', line 235

def scriptFormat
  @scriptFormat
end

#separatorRDF::Vocabulary::Term (readonly)

An atomic property that MUST have a single string value that is the character used to separate items in the string value of the cell.

Returns:

  • (RDF::Vocabulary::Term)


239
240
241
# File 'lib/rdf/tabular/csvw.rb', line 239

def separator
  @separator
end

#skipBlankRowsRDF::Vocabulary::Term (readonly)

An boolean atomic property that sets the skip blank rows flag to the single provided boolean value.

Returns:

  • (RDF::Vocabulary::Term)


243
244
245
# File 'lib/rdf/tabular/csvw.rb', line 243

def skipBlankRows
  @skipBlankRows
end

#skipColumnsRDF::Vocabulary::Term (readonly)

An numeric atomic property that sets the skip columns flag to the single provided numeric value, which MUST be a non-negative integer.

Returns:

  • (RDF::Vocabulary::Term)


247
248
249
# File 'lib/rdf/tabular/csvw.rb', line 247

def skipColumns
  @skipColumns
end

#skipInitialSpaceRDF::Vocabulary::Term (readonly)

A boolean atomic property that, if true, sets the trim flag to “start”. If false, to false.

Returns:

  • (RDF::Vocabulary::Term)


251
252
253
# File 'lib/rdf/tabular/csvw.rb', line 251

def skipInitialSpace
  @skipInitialSpace
end

#skipRowsRDF::Vocabulary::Term (readonly)

An numeric atomic property that sets the skip rows flag to the single provided numeric value, which MUST be a non-negative integer.

Returns:

  • (RDF::Vocabulary::Term)


255
256
257
# File 'lib/rdf/tabular/csvw.rb', line 255

def skipRows
  @skipRows
end

#sourceRDF::Vocabulary::Term (readonly)

A single string atomic property that provides, if specified, the format to which the tabular data should be transformed prior to the transformation using the script or template.

Returns:

  • (RDF::Vocabulary::Term)


259
260
261
# File 'lib/rdf/tabular/csvw.rb', line 259

def source
  @source
end

#suppressOutputRDF::Vocabulary::Term (readonly)

A boolean atomic property. If true, suppresses any output that would be generated when converting a table or cells within a column.

Returns:

  • (RDF::Vocabulary::Term)


263
264
265
# File 'lib/rdf/tabular/csvw.rb', line 263

def suppressOutput
  @suppressOutput
end

#TableRDF::Vocabulary::Term (readonly)

An annotated table is a table that is annotated with additional metadata.

Returns:

  • (RDF::Vocabulary::Term)


47
48
49
# File 'lib/rdf/tabular/csvw.rb', line 47

def Table
  @Table
end

#tableRDF::Vocabulary::Term (readonly)

Relates an Table group to annotated tables.

Returns:

  • (RDF::Vocabulary::Term)


267
268
269
# File 'lib/rdf/tabular/csvw.rb', line 267

def table
  @table
end

#tableDirectionRDF::Vocabulary::Term (readonly)

One of rtl, ltr or auto. Indicates whether the tables in the group should be displayed with the first column on the right, on the left, or based on the first character in the table that has a specific direction.

Returns:

  • (RDF::Vocabulary::Term)


271
272
273
# File 'lib/rdf/tabular/csvw.rb', line 271

def tableDirection
  @tableDirection
end

#TableGroupRDF::Vocabulary::Term (readonly)

A Group of Tables comprises a set of Annotated Tables and a set of annotations that relate to those Tables.

Returns:

  • (RDF::Vocabulary::Term)


51
52
53
# File 'lib/rdf/tabular/csvw.rb', line 51

def TableGroup
  @TableGroup
end

#TableReferenceRDF::Vocabulary::Term (readonly)

An object property that identifies a referenced table and a set of referenced columns within that table.

Returns:

  • (RDF::Vocabulary::Term)


55
56
57
# File 'lib/rdf/tabular/csvw.rb', line 55

def TableReference
  @TableReference
end

#tableSchemaRDF::Vocabulary::Term (readonly)

An object property that provides a single schema description as described in section 5.5 Schemas, used as the default for all the tables in the group

Returns:

  • (RDF::Vocabulary::Term)


275
276
277
# File 'lib/rdf/tabular/csvw.rb', line 275

def tableSchema
  @tableSchema
end

#tabularMetadataRDF::Vocabulary::Term (readonly)

Describes the role of a Metadata file in the tabular data mapping.

Returns:

  • (RDF::Vocabulary::Term)


339
340
341
# File 'lib/rdf/tabular/csvw.rb', line 339

def 
  @tabularMetadata
end

#targetFormatRDF::Vocabulary::Term (readonly)

A link property giving the single URL for the format that will be created through the transformation.

Returns:

  • (RDF::Vocabulary::Term)


279
280
281
# File 'lib/rdf/tabular/csvw.rb', line 279

def targetFormat
  @targetFormat
end

#textDirectionRDF::Vocabulary::Term (readonly)

An atomic property that must have a single value that is one of rtl or ltr (the default).

Returns:

  • (RDF::Vocabulary::Term)


283
284
285
# File 'lib/rdf/tabular/csvw.rb', line 283

def textDirection
  @textDirection
end

#titleRDF::Vocabulary::Term (readonly)

For a Transformation A natural language property that describes the format that will be generated from the transformation. For a Column: A natural language property that provides possible alternative names for the column.

Returns:

  • (RDF::Vocabulary::Term)


287
288
289
# File 'lib/rdf/tabular/csvw.rb', line 287

def title
  @title
end

#TransformationRDF::Vocabulary::Term (readonly)

A Transformation Definition is a definition of how tabular data can be transformed into another format.

Returns:

  • (RDF::Vocabulary::Term)


59
60
61
# File 'lib/rdf/tabular/csvw.rb', line 59

def Transformation
  @Transformation
end

#transformationsRDF::Vocabulary::Term (readonly)

An array property of transformation definitions that provide mechanisms to transform the tabular data into other formats.

Returns:

  • (RDF::Vocabulary::Term)


291
292
293
# File 'lib/rdf/tabular/csvw.rb', line 291

def transformations
  @transformations
end

#trimRDF::Vocabulary::Term (readonly)

An atomic property that, if the boolean true, sets the trim flag to true and if the boolean false to false. If the value provided is a string, sets the trim flag to the provided value, which must be one of “true”, “false”, “start” or “end”.

Returns:

  • (RDF::Vocabulary::Term)


295
296
297
# File 'lib/rdf/tabular/csvw.rb', line 295

def trim
  @trim
end

#uriTemplateRDF::Vocabulary::Term (readonly)

Returns:

  • (RDF::Vocabulary::Term)


315
316
317
# File 'lib/rdf/tabular/csvw.rb', line 315

def uriTemplate
  @uriTemplate
end

#urlRDF::Vocabulary::Term (readonly)

For a Table: This link property gives the single URL of the CSV file that the table is held in, relative to the location of the metadata document. For a Transformation: A link property giving the single URL of the file that the script or template is held in, relative to the location of the metadata document.

Returns:

  • (RDF::Vocabulary::Term)


299
300
301
# File 'lib/rdf/tabular/csvw.rb', line 299

def url
  @url
end

#valueUrlRDF::Vocabulary::Term (readonly)

An URI template property that is used to map the values of cells into URLs.

Returns:

  • (RDF::Vocabulary::Term)


303
304
305
# File 'lib/rdf/tabular/csvw.rb', line 303

def valueUrl
  @valueUrl
end

#virtualRDF::Vocabulary::Term (readonly)

A boolean atomic property taking a single value which indicates whether the column is a virtual column not present in the original source

Returns:

  • (RDF::Vocabulary::Term)


307
308
309
# File 'lib/rdf/tabular/csvw.rb', line 307

def virtual
  @virtual
end