Class: RDF::Tabular::CSVW
- Inherits:
-
StrictVocabulary
- Object
- Vocabulary
- StrictVocabulary
- RDF::Tabular::CSVW
- Defined in:
- vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb
Overview
Vocabulary for http://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
-
#aboutUrl ⇒ RDF::Vocabulary::Term
readonly
A URI template property that MAY be used to indicate what a cell contains information about.
-
#auto ⇒ RDF::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.
-
#base ⇒ RDF::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.
-
#Cell ⇒ RDF::Vocabulary::Term
readonly
A Cell represents a cell at the intersection of a Row and a Column within a Table.
-
#Column ⇒ RDF::Vocabulary::Term
readonly
A Column represents a vertical arrangement of Cells within a Table.
-
#column ⇒ RDF::Vocabulary::Term
readonly
An array property of column descriptions as described in section 5.6 Columns.
-
#columnReference ⇒ RDF::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.
-
#commentPrefix ⇒ RDF::Vocabulary::Term
readonly
An atomic property that sets the comment prefix flag to the single provided value, which MUST be a string.
-
#csvEncodedTabularData ⇒ RDF::Vocabulary::Term
readonly
Describes the role of a CSV file in the tabular data mapping.
-
#Datatype ⇒ RDF::Vocabulary::Term
readonly
Describes facets of a datatype.
-
#datatype ⇒ RDF::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.
-
#decimalChar ⇒ RDF::Vocabulary::Term
readonly
A string whose value is used to represent a decimal point within the number.
-
#default ⇒ RDF::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.
-
#delimiter ⇒ RDF::Vocabulary::Term
readonly
An atomic property that sets the delimiter flag to the single provided value, which MUST be a string.
-
#describes ⇒ RDF::Vocabulary::Term
readonly
From IANA describes: The relationship A 'describes' B asserts that resource A provides a description of resource B.
-
#dialect ⇒ RDF::Vocabulary::Term
readonly
An object property that provides a single dialect description.
-
#Dialect ⇒ RDF::Vocabulary::Term
readonly
A Dialect Description provides hints to parsers about how to parse a linked file.
-
#Direction ⇒ RDF::Vocabulary::Term
readonly
The class of table/text directions.
-
#doubleQuote ⇒ RDF::Vocabulary::Term
readonly
A boolean atomic property that, if
true
, sets the escape character flag to"
. -
#encoding ⇒ RDF::Vocabulary::Term
readonly
An atomic property that sets the encoding flag to the single provided string value, which MUST be a defined in [[encoding]].
-
#ForeignKey ⇒ RDF::Vocabulary::Term
readonly
Describes relationships between Columns in one or more Tables.
-
#foreignKey ⇒ RDF::Vocabulary::Term
readonly
For a Table: a list of foreign keys on the table.
-
#format ⇒ RDF::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]].
-
#groupChar ⇒ RDF::Vocabulary::Term
readonly
A string whose value is used to group digits within the number.
-
#header ⇒ RDF::Vocabulary::Term
readonly
A boolean atomic property that, if
true
, sets the header row count flag to1
, and iffalse
to0
, unless headerRowCount is provided, in which case the value provided for the header property is ignored. -
#headerRowCount ⇒ RDF::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.
-
#inherit ⇒ RDF::Vocabulary::Term
readonly
For
textDirection
, indicates that the direction is inherited from thetableDirection
annotation of thetable
. -
#JSON ⇒ RDF::Vocabulary::Term
readonly
A literal containing JSON.
-
#lang ⇒ RDF::Vocabulary::Term
readonly
An atomic property giving a single string language code as defined by [[BCP47]].
-
#length ⇒ RDF::Vocabulary::Term
readonly
The exact length of the value of the cell.
-
#lineTerminators ⇒ RDF::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.
-
#ltr ⇒ RDF::Vocabulary::Term
readonly
Indicates whether the tables in the group should be displayed with the first column on the right.
-
#maxExclusive ⇒ RDF::Vocabulary::Term
readonly
An atomic property that contains a single number that is the maximum valid value (exclusive).
-
#maxInclusive ⇒ RDF::Vocabulary::Term
readonly
An atomic property that contains a single number that is the maximum valid value (inclusive).
-
#maxLength ⇒ RDF::Vocabulary::Term
readonly
A numeric atomic property that contains a single integer that is the maximum length of the value.
-
#minExclusive ⇒ RDF::Vocabulary::Term
readonly
An atomic property that contains a single number that is the minimum valid value (exclusive).
-
#minInclusive ⇒ RDF::Vocabulary::Term
readonly
An atomic property that contains a single number that is the minimum valid value (inclusive).
-
#minLength ⇒ RDF::Vocabulary::Term
readonly
An atomic property that contains a single integer that is the minimum length of the value.
-
#name ⇒ RDF::Vocabulary::Term
readonly
An atomic property that gives a single canonical name for the column.
-
#note ⇒ RDF::Vocabulary::Term
readonly
An array property that provides an array of objects representing arbitrary annotations on the annotated tabular data model.
-
#null ⇒ RDF::Vocabulary::Term
readonly
An atomic property giving the string or strings used for null values within the data.
-
#NumericFormat ⇒ RDF::Vocabulary::Term
readonly
If the datatype is a numeric type, the format property indicates the expected format for that number.
-
#ordered ⇒ RDF::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 (iffalse
). -
#pattern ⇒ RDF::Vocabulary::Term
readonly
A regular expression string, in the syntax and interpreted as defined by [[ECMASCRIPT]].
-
#primaryKey ⇒ RDF::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.
-
#propertyUrl ⇒ RDF::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.
-
#quoteChar ⇒ RDF::Vocabulary::Term
readonly
An atomic property that sets the quote character flag to the single provided value, which must be a string or
null
. -
#reference ⇒ RDF::Vocabulary::Term
readonly
An object property that identifies a referenced table and a set of referenced columns within that table.
-
#referencedRow ⇒ RDF::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.
-
#required ⇒ RDF::Vocabulary::Term
readonly
A boolean atomic property taking a single value which indicates whether the cell must have a non-null value.
-
#resource ⇒ RDF::Vocabulary::Term
readonly
A link property holding a URL that is the identifier for a specific table that is being referenced.
-
#Row ⇒ RDF::Vocabulary::Term
readonly
A Row represents a horizontal arrangement of cells within a Table.
-
#row ⇒ RDF::Vocabulary::Term
readonly
Relates a Table to each Row output.
-
#rownum ⇒ RDF::Vocabulary::Term
readonly
The position of the row amongst the rows of the Annotated Tabl, starting from 1.
-
#rowTitle ⇒ RDF::Vocabulary::Term
readonly
A column reference property that holds either a single reference to a column description object or an array of references.
-
#rtl ⇒ RDF::Vocabulary::Term
readonly
Indicates whether the tables in the group should be displayed with the first column on the left.
-
#Schema ⇒ RDF::Vocabulary::Term
readonly
A Schema is a definition of a tabular format that may be common to multiple tables.
-
#schemaReference ⇒ RDF::Vocabulary::Term
readonly
A link property holding a URL that is the identifier for a schema that is being referenced.
-
#scriptFormat ⇒ RDF::Vocabulary::Term
readonly
A link property giving the single URL for the format that is used by the script or template.
-
#separator ⇒ RDF::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.
-
#skipBlankRows ⇒ RDF::Vocabulary::Term
readonly
An boolean atomic property that sets the
skip blank rows
flag to the single provided boolean value. -
#skipColumns ⇒ RDF::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. -
#skipInitialSpace ⇒ RDF::Vocabulary::Term
readonly
A boolean atomic property that, if
true
, sets the trim flag to "start". -
#skipRows ⇒ RDF::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. -
#source ⇒ RDF::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.
-
#suppressOutput ⇒ RDF::Vocabulary::Term
readonly
A boolean atomic property.
-
#Table ⇒ RDF::Vocabulary::Term
readonly
An annotated table is a table that is annotated with additional metadata.
-
#table ⇒ RDF::Vocabulary::Term
readonly
Relates an Table group to annotated tables.
-
#tableDirection ⇒ RDF::Vocabulary::Term
readonly
One of
rtl
,ltr
orauto
. -
#TableGroup ⇒ RDF::Vocabulary::Term
readonly
A Group of Tables comprises a set of Annotated Tables and a set of annotations that relate to those Tables.
-
#TableReference ⇒ RDF::Vocabulary::Term
readonly
An object property that identifies a referenced table and a set of referenced columns within that table.
-
#tableSchema ⇒ RDF::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.
-
#tabularMetadata ⇒ RDF::Vocabulary::Term
readonly
Describes the role of a Metadata file in the tabular data mapping.
-
#targetFormat ⇒ RDF::Vocabulary::Term
readonly
A link property giving the single URL for the format that will be created through the transformation.
-
#textDirection ⇒ RDF::Vocabulary::Term
readonly
An atomic property that must have a single value that is one of
rtl
orltr
(the default). -
#title ⇒ RDF::Vocabulary::Term
readonly
For a Transformation A natural language property that describes the format that will be generated from the transformation.
-
#Transformation ⇒ RDF::Vocabulary::Term
readonly
A Transformation Definition is a definition of how tabular data can be transformed into another format.
-
#transformations ⇒ RDF::Vocabulary::Term
readonly
An array property of transformation definitions that provide mechanisms to transform the tabular data into other formats.
-
#trim ⇒ RDF::Vocabulary::Term
readonly
An atomic property that, if the boolean
true
, sets the trim flag totrue
and if the booleanfalse
tofalse
. - #uriTemplate ⇒ RDF::Vocabulary::Term readonly
-
#url ⇒ RDF::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.
-
#valueUrl ⇒ RDF::Vocabulary::Term
readonly
An URI template property that is used to map the values of cells into URLs.
-
#virtual ⇒ RDF::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.
Method Summary
Methods inherited from StrictVocabulary
Methods inherited from Vocabulary
#[], [], __prefix__, __prefix__=, _orig_each, _orig_from_sym, camelize, each, each_statement, enum_for, expand_pname, find, find_term, from_graph, from_sym, imported_from, imports, #initialize, inspect, #inspect, limit_vocabs, list, #method_missing, method_missing, ontology, properties, property, register, strict?, to_html, to_iri, to_jsonld, to_s, #to_s, to_ttl, #to_uri, to_uri, value_to_html, vocab_map
Constructor Details
This class inherits a constructor from RDF::Vocabulary
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class RDF::Vocabulary
Instance Attribute Details
#aboutUrl ⇒ RDF::Vocabulary::Term (readonly)
A URI template property that MAY be used to indicate what a cell contains information about.
63 64 65 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 63 def aboutUrl @aboutUrl end |
#auto ⇒ RDF::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.
319 320 321 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 319 def auto @auto end |
#base ⇒ RDF::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.
67 68 69 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 67 def base @base end |
#Cell ⇒ RDF::Vocabulary::Term (readonly)
A Cell represents a cell at the intersection of a Row and a Column within a Table.
11 12 13 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 11 def Cell @Cell end |
#Column ⇒ RDF::Vocabulary::Term (readonly)
A Column represents a vertical arrangement of Cells within a Table.
15 16 17 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 15 def Column @Column end |
#column ⇒ RDF::Vocabulary::Term (readonly)
An array property of column descriptions as described in section 5.6 Columns.
71 72 73 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 71 def column @column end |
#columnReference ⇒ RDF::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.
75 76 77 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 75 def columnReference @columnReference end |
#commentPrefix ⇒ RDF::Vocabulary::Term (readonly)
An atomic property that sets the comment prefix flag to the single provided value, which MUST be a string.
79 80 81 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 79 def commentPrefix @commentPrefix end |
#csvEncodedTabularData ⇒ RDF::Vocabulary::Term (readonly)
Describes the role of a CSV file in the tabular data mapping.
323 324 325 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 323 def csvEncodedTabularData @csvEncodedTabularData end |
#Datatype ⇒ RDF::Vocabulary::Term (readonly)
Describes facets of a datatype.
19 20 21 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 19 def Datatype @Datatype end |
#datatype ⇒ RDF::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.
83 84 85 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 83 def datatype @datatype end |
#decimalChar ⇒ RDF::Vocabulary::Term (readonly)
A string whose value is used to represent a decimal point within the number.
87 88 89 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 87 def decimalChar @decimalChar end |
#default ⇒ RDF::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.
91 92 93 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 91 def default @default end |
#delimiter ⇒ RDF::Vocabulary::Term (readonly)
An atomic property that sets the delimiter flag to the single provided value, which MUST be a string.
95 96 97 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 95 def delimiter @delimiter end |
#describes ⇒ RDF::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.
99 100 101 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 99 def describes @describes end |
#dialect ⇒ RDF::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.
103 104 105 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 103 def dialect @dialect end |
#Dialect ⇒ RDF::Vocabulary::Term (readonly)
A Dialect Description provides hints to parsers about how to parse a linked file.
23 24 25 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 23 def Dialect @Dialect end |
#Direction ⇒ RDF::Vocabulary::Term (readonly)
The class of table/text directions.
27 28 29 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 27 def Direction @Direction end |
#doubleQuote ⇒ RDF::Vocabulary::Term (readonly)
A boolean atomic property that, if true
, sets the escape character flag to "
.
107 108 109 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 107 def doubleQuote @doubleQuote end |
#encoding ⇒ RDF::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".
111 112 113 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 111 def encoding @encoding end |
#ForeignKey ⇒ RDF::Vocabulary::Term (readonly)
Describes relationships between Columns in one or more Tables.
31 32 33 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 31 def ForeignKey @ForeignKey end |
#foreignKey ⇒ RDF::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.
115 116 117 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 115 def foreignKey @foreignKey end |
#format ⇒ RDF::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]].
119 120 121 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 119 def format @format end |
#groupChar ⇒ RDF::Vocabulary::Term (readonly)
A string whose value is used to group digits within the number.
123 124 125 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 123 def groupChar @groupChar end |
#header ⇒ RDF::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.
127 128 129 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 127 def header @header end |
#headerRowCount ⇒ RDF::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.
131 132 133 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 131 def headerRowCount @headerRowCount end |
#inherit ⇒ RDF::Vocabulary::Term (readonly)
For textDirection
, indicates that the direction is inherited from the tableDirection
annotation of the table
.
327 328 329 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 327 def inherit @inherit end |
#JSON ⇒ RDF::Vocabulary::Term (readonly)
A literal containing JSON.
311 312 313 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 311 def JSON @JSON end |
#lang ⇒ RDF::Vocabulary::Term (readonly)
An atomic property giving a single string language code as defined by [[BCP47]].
135 136 137 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 135 def lang @lang end |
#length ⇒ RDF::Vocabulary::Term (readonly)
The exact length of the value of the cell.
139 140 141 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 139 def length @length end |
#lineTerminators ⇒ RDF::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.
143 144 145 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 143 def lineTerminators @lineTerminators end |
#ltr ⇒ RDF::Vocabulary::Term (readonly)
Indicates whether the tables in the group should be displayed with the first column on the right.
331 332 333 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 331 def ltr @ltr end |
#maxExclusive ⇒ RDF::Vocabulary::Term (readonly)
An atomic property that contains a single number that is the maximum valid value (exclusive).
147 148 149 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 147 def maxExclusive @maxExclusive end |
#maxInclusive ⇒ RDF::Vocabulary::Term (readonly)
An atomic property that contains a single number that is the maximum valid value (inclusive).
151 152 153 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 151 def maxInclusive @maxInclusive end |
#maxLength ⇒ RDF::Vocabulary::Term (readonly)
A numeric atomic property that contains a single integer that is the maximum length of the value.
155 156 157 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 155 def maxLength @maxLength end |
#minExclusive ⇒ RDF::Vocabulary::Term (readonly)
An atomic property that contains a single number that is the minimum valid value (exclusive).
159 160 161 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 159 def minExclusive @minExclusive end |
#minInclusive ⇒ RDF::Vocabulary::Term (readonly)
An atomic property that contains a single number that is the minimum valid value (inclusive).
163 164 165 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 163 def minInclusive @minInclusive end |
#minLength ⇒ RDF::Vocabulary::Term (readonly)
An atomic property that contains a single integer that is the minimum length of the value.
167 168 169 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 167 def minLength @minLength end |
#name ⇒ RDF::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.
171 172 173 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 171 def name @name end |
#note ⇒ RDF::Vocabulary::Term (readonly)
An array property that provides an array of objects representing arbitrary annotations on the annotated tabular data model.
175 176 177 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 175 def note @note end |
#null ⇒ RDF::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
.
179 180 181 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 179 def null @null end |
#NumericFormat ⇒ RDF::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.
35 36 37 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 35 def NumericFormat @NumericFormat end |
#ordered ⇒ RDF::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
).
183 184 185 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 183 def ordered @ordered end |
#pattern ⇒ RDF::Vocabulary::Term (readonly)
A regular expression string, in the syntax and interpreted as defined by [[ECMASCRIPT]].
187 188 189 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 187 def pattern @pattern end |
#primaryKey ⇒ RDF::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.
191 192 193 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 191 def primaryKey @primaryKey end |
#propertyUrl ⇒ RDF::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.
195 196 197 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 195 def propertyUrl @propertyUrl end |
#quoteChar ⇒ RDF::Vocabulary::Term (readonly)
An atomic property that sets the quote character flag to the single provided value, which must be a string or null
.
199 200 201 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 199 def quoteChar @quoteChar end |
#reference ⇒ RDF::Vocabulary::Term (readonly)
An object property that identifies a referenced table and a set of referenced columns within that table.
203 204 205 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 203 def reference @reference end |
#referencedRow ⇒ RDF::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.
207 208 209 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 207 def referencedRow @referencedRow end |
#required ⇒ RDF::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
.
211 212 213 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 211 def required @required end |
#resource ⇒ RDF::Vocabulary::Term (readonly)
A link property holding a URL that is the identifier for a specific table that is being referenced.
215 216 217 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 215 def resource @resource end |
#Row ⇒ RDF::Vocabulary::Term (readonly)
A Row represents a horizontal arrangement of cells within a Table.
39 40 41 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 39 def Row @Row end |
#row ⇒ RDF::Vocabulary::Term (readonly)
Relates a Table to each Row output.
219 220 221 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 219 def row @row end |
#rownum ⇒ RDF::Vocabulary::Term (readonly)
The position of the row amongst the rows of the Annotated Tabl, starting from 1
227 228 229 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 227 def rownum @rownum end |
#rowTitle ⇒ RDF::Vocabulary::Term (readonly)
A column reference property that holds either a single reference to a column description object or an array of references.
223 224 225 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 223 def rowTitle @rowTitle end |
#rtl ⇒ RDF::Vocabulary::Term (readonly)
Indicates whether the tables in the group should be displayed with the first column on the left.
335 336 337 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 335 def rtl @rtl end |
#Schema ⇒ RDF::Vocabulary::Term (readonly)
A Schema is a definition of a tabular format that may be common to multiple tables.
43 44 45 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 43 def Schema @Schema end |
#schemaReference ⇒ RDF::Vocabulary::Term (readonly)
A link property holding a URL that is the identifier for a schema that is being referenced.
231 232 233 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 231 def schemaReference @schemaReference end |
#scriptFormat ⇒ RDF::Vocabulary::Term (readonly)
A link property giving the single URL for the format that is used by the script or template.
235 236 237 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 235 def scriptFormat @scriptFormat end |
#separator ⇒ RDF::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.
239 240 241 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 239 def separator @separator end |
#skipBlankRows ⇒ RDF::Vocabulary::Term (readonly)
An boolean atomic property that sets the skip blank rows
flag to the single provided boolean value.
243 244 245 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 243 def skipBlankRows @skipBlankRows end |
#skipColumns ⇒ RDF::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.
247 248 249 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 247 def skipColumns @skipColumns end |
#skipInitialSpace ⇒ RDF::Vocabulary::Term (readonly)
A boolean atomic property that, if true
, sets the trim flag to "start". If false
, to false
.
251 252 253 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 251 def skipInitialSpace @skipInitialSpace end |
#skipRows ⇒ RDF::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.
255 256 257 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 255 def skipRows @skipRows end |
#source ⇒ RDF::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.
259 260 261 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 259 def source @source end |
#suppressOutput ⇒ RDF::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.
263 264 265 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 263 def suppressOutput @suppressOutput end |
#Table ⇒ RDF::Vocabulary::Term (readonly)
An annotated table is a table that is annotated with additional metadata.
47 48 49 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 47 def Table @Table end |
#table ⇒ RDF::Vocabulary::Term (readonly)
Relates an Table group to annotated tables.
267 268 269 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 267 def table @table end |
#tableDirection ⇒ RDF::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.
271 272 273 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 271 def tableDirection @tableDirection end |
#TableGroup ⇒ RDF::Vocabulary::Term (readonly)
A Group of Tables comprises a set of Annotated Tables and a set of annotations that relate to those Tables.
51 52 53 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 51 def TableGroup @TableGroup end |
#TableReference ⇒ RDF::Vocabulary::Term (readonly)
An object property that identifies a referenced table and a set of referenced columns within that table.
55 56 57 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 55 def TableReference @TableReference end |
#tableSchema ⇒ RDF::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
275 276 277 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 275 def tableSchema @tableSchema end |
#tabularMetadata ⇒ RDF::Vocabulary::Term (readonly)
Describes the role of a Metadata file in the tabular data mapping.
339 340 341 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 339 def tabularMetadata @tabularMetadata end |
#targetFormat ⇒ RDF::Vocabulary::Term (readonly)
A link property giving the single URL for the format that will be created through the transformation.
279 280 281 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 279 def targetFormat @targetFormat end |
#textDirection ⇒ RDF::Vocabulary::Term (readonly)
An atomic property that must have a single value that is one of rtl
or ltr
(the default).
283 284 285 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 283 def textDirection @textDirection end |
#title ⇒ RDF::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.
287 288 289 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 287 def title @title end |
#Transformation ⇒ RDF::Vocabulary::Term (readonly)
A Transformation Definition is a definition of how tabular data can be transformed into another format.
59 60 61 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 59 def Transformation @Transformation end |
#transformations ⇒ RDF::Vocabulary::Term (readonly)
An array property of transformation definitions that provide mechanisms to transform the tabular data into other formats.
291 292 293 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 291 def transformations @transformations end |
#trim ⇒ RDF::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".
295 296 297 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 295 def trim @trim end |
#uriTemplate ⇒ RDF::Vocabulary::Term (readonly)
315 316 317 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 315 def uriTemplate @uriTemplate end |
#url ⇒ RDF::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.
299 300 301 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 299 def url @url end |
#valueUrl ⇒ RDF::Vocabulary::Term (readonly)
An URI template property that is used to map the values of cells into URLs.
303 304 305 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 303 def valueUrl @valueUrl end |
#virtual ⇒ RDF::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
307 308 309 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-tabular-52804f52e930/lib/rdf/tabular/csvw.rb', line 307 def virtual @virtual end |