diff --git a/csv2json/tree-ops-ext-standard.json b/csv2json/tree-ops-ext-standard.json
index eac612e7..65dbfebe 100644
--- a/csv2json/tree-ops-ext-standard.json
+++ b/csv2json/tree-ops-ext-standard.json
@@ -10,6 +10,15 @@
}],
"dc:license": "http://opendefinition.org/licenses/cc-by/",
"dc:modified": "2010-12-31",
+ "notes": {
+ "@type": "oa:Annotation",
+ "oa:hasTarget": "http://example.org/tree-ops-ext",
+ "oa:hasBody": {
+ "@type": "oa:EmbeddedContent",
+ "rdf:value": "This is a very interesting comment about the table; it's a table!",
+ "dc:format": "text/plain"
+ }
+ },
"row": [{
"rownum": 1,
"url": "http://example.org/tree-ops-ext.csv#row=2",
diff --git a/csv2json/tree-ops-ext.csv-metadata.json b/csv2json/tree-ops-ext.csv-metadata.json
index 725b1ae5..7c118e50 100644
--- a/csv2json/tree-ops-ext.csv-metadata.json
+++ b/csv2json/tree-ops-ext.csv-metadata.json
@@ -10,6 +10,15 @@
}],
"dc:license": {"@id": "http://opendefinition.org/licenses/cc-by/"},
"dc:modified": {"@value": "2010-12-31", "@type": "xsd:date"},
+ "notes": {
+ "@type": "oa:Annotation",
+ "oa:hasTarget": "http://example.org/tree-ops-ext",
+ "oa:hasBody": {
+ "@type": "oa:EmbeddedContent",
+ "rdf:value": "This is a very interesting comment about the table; it's a table!",
+ "dc:format": {"@value": "text/plain"}
+ }
+ },
"tableSchema": {
"columns": [{
"name": "GID",
diff --git a/csv2rdf/tree-ops-ext-minimal.ttl b/csv2rdf/tree-ops-ext-minimal.ttl
index 9dff4fcc..e3a93991 100644
--- a/csv2rdf/tree-ops-ext-minimal.ttl
+++ b/csv2rdf/tree-ops-ext-minimal.ttl
@@ -6,7 +6,7 @@
<#on_street> "ADDISON AV" ;
<#species> "Celtis australis" ;
<#trim_cycle> "Large Tree Routine Prune"@en ;
- <#dbh> "11"^^xsd:integer ;
+ <#dbh> 11 ;
<#inventory_date> "2010-10-18"^^xsd:date ;
<#protected> false ;
<#kml> "-122.156485,37.440963"^^rdf:XMLLiteral .
@@ -15,7 +15,7 @@
<#on_street> "EMERSON ST" ;
<#species> "Liquidambar styraciflua" ;
<#trim_cycle> "Large Tree Routine Prune"@en ;
- <#dbh> "11"^^xsd:integer ;
+ <#dbh> 11 ;
<#inventory_date> "2010-06-02"^^xsd:date ;
<#protected> false ;
<#kml> "-122.156749,37.440958"^^rdf:XMLLiteral .
@@ -24,7 +24,7 @@
<#on_street> "ADDISON AV" ;
<#species> "Robinia pseudoacacia" ;
<#trim_cycle> "Large Tree Routine Prune"@en ;
- <#dbh> "29"^^xsd:integer ;
+ <#dbh> 29 ;
<#inventory_date> "2010-06-01"^^xsd:date ;
<#comments> "cavity or decay", "trunk decay", "codominant leaders", "included bark", "large leader or limb decay", "previous failure root damage", "root decay", "beware of BEES" ;
<#protected> true ;
diff --git a/csv2rdf/tree-ops-ext-standard.ttl b/csv2rdf/tree-ops-ext-standard.ttl
index de709518..311c9758 100644
--- a/csv2rdf/tree-ops-ext-standard.ttl
+++ b/csv2rdf/tree-ops-ext-standard.ttl
@@ -1,6 +1,7 @@
@base .
@prefix csvw: .
@prefix dc: .
+@prefix oa: .
@prefix rdf: .
@prefix rel: .
@prefix schema: .
@@ -19,16 +20,25 @@ _:68fc08e5-56a0-47e2-a784-3a644d8257c4 a csvw:TableGroup ;
] ;
dc:license ;
dc:modified "2010-12-31"^^xsd:date ;
+ csvw:notes [
+ a oa:Annotation ;
+ oa:hasTarget ;
+ oa:hasBody [
+ a oa:EmbeddedContent ;
+ rdf:value "This is a very interesting comment about the table; it's a table!"@en ;
+ dc:format "text/plain"
+ ]
+ ] ;
csvw:row [
- csvw:rownum "1"^^xsd:integer ;
+ csvw:rownum 1 ;
csvw:url <#row=2> ;
rel:describes
], [
- csvw:rownum "2"^^xsd:integer ;
+ csvw:rownum 2 ;
csvw:url <#row=3> ;
rel:describes
], [
- csvw:rownum "3"^^xsd:integer ;
+ csvw:rownum 3 ;
csvw:url <#row=4> ;
rel:describes
] .
@@ -37,7 +47,7 @@ _:68fc08e5-56a0-47e2-a784-3a644d8257c4 a csvw:TableGroup ;
<#on_street> "ADDISON AV" ;
<#species> "Celtis australis" ;
<#trim_cycle> "Large Tree Routine Prune"@en ;
- <#dbh> "11"^^xsd:integer ;
+ <#dbh> 11 ;
<#inventory_date> "2010-10-18"^^xsd:date ;
<#protected> false ;
<#kml> "-122.156485,37.440963"^^rdf:XMLLiteral .
@@ -46,7 +56,7 @@ _:68fc08e5-56a0-47e2-a784-3a644d8257c4 a csvw:TableGroup ;
<#on_street> "EMERSON ST" ;
<#species> "Liquidambar styraciflua" ;
<#trim_cycle> "Large Tree Routine Prune"@en ;
- <#dbh> "11"^^xsd:integer ;
+ <#dbh> 11 ;
<#inventory_date> "2010-06-02"^^xsd:date ;
<#protected> false ;
<#kml> "-122.156749,37.440958"^^rdf:XMLLiteral .
@@ -55,7 +65,7 @@ _:68fc08e5-56a0-47e2-a784-3a644d8257c4 a csvw:TableGroup ;
<#on_street> "ADDISON AV" ;
<#species> "Robinia pseudoacacia" ;
<#trim_cycle> "Large Tree Routine Prune"@en ;
- <#dbh> "29"^^xsd:integer ;
+ <#dbh> 29 ;
<#inventory_date> "2010-06-01"^^xsd:date ;
<#comments> "cavity or decay", "trunk decay", "codominant leaders", "included bark", "large leader or limb decay", "previous failure root damage", "root decay", "beware of BEES" ;
<#protected> true ;
diff --git a/csv2rdf/tree-ops-ext.csv-metadata.json b/csv2rdf/tree-ops-ext.csv-metadata.json
index 725b1ae5..7c118e50 100644
--- a/csv2rdf/tree-ops-ext.csv-metadata.json
+++ b/csv2rdf/tree-ops-ext.csv-metadata.json
@@ -10,6 +10,15 @@
}],
"dc:license": {"@id": "http://opendefinition.org/licenses/cc-by/"},
"dc:modified": {"@value": "2010-12-31", "@type": "xsd:date"},
+ "notes": {
+ "@type": "oa:Annotation",
+ "oa:hasTarget": "http://example.org/tree-ops-ext",
+ "oa:hasBody": {
+ "@type": "oa:EmbeddedContent",
+ "rdf:value": "This is a very interesting comment about the table; it's a table!",
+ "dc:format": {"@value": "text/plain"}
+ }
+ },
"tableSchema": {
"columns": [{
"name": "GID",
diff --git a/ns/_vocab.csv b/ns/_vocab.csv
index 020f7094..febc3e8e 100644
--- a/ns/_vocab.csv
+++ b/ns/_vocab.csv
@@ -1 +1 @@
-id,type,label,subClassOf,domain,range,@type,@container,required,comment
ltr,Direction,left to right,,,,,,,Indicates text should be processed left to right.
rtl,Direction,right to left,,,,,,,Indiects text should be processed right to left
cc,prefix,,http://creativecommons.org/ns#,,,,,,
csvw,prefix,,http://www.w3.org/ns/csvw#,,,,,,
ctag,prefix,,http://commontag.org/ns#,,,,,,
dc,prefix,,http://purl.org/dc/terms/,,,,,,
dc11,prefix,,http://purl.org/dc/elements/1.1/,,,,,,
dcat,prefix,,http://www.w3.org/ns/dcat#,,,,,,
dcterms,prefix,,http://purl.org/dc/terms/,,,,,,
foaf,prefix,,http://xmlns.com/foaf/0.1/,,,,,,
gr,prefix,,http://purl.org/goodrelations/v1#,,,,,,
grddl,prefix,,http://www.w3.org/2003/g/data-view#,,,,,,
ical,prefix,,http://www.w3.org/2002/12/cal/icaltzd#,,,,,,
ma,prefix,,http://www.w3.org/ns/ma-ont#,,,,,,
og,prefix,,http://ogp.me/ns#,,,,,,
org,prefix,,http://www.w3.org/ns/org#
owl,prefix,,http://www.w3.org/2002/07/owl#
prov,prefix,,http://www.w3.org/ns/prov#
qb,prefix,,http://purl.org/linked-data/cube#
rdf,prefix,,http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfa,prefix,,http://www.w3.org/ns/rdfa#
rdfs,prefix,,http://www.w3.org/2000/01/rdf-schema#
rev,prefix,,http://purl.org/stuff/rev#
rif,prefix,,http://www.w3.org/2007/rif#
rr,prefix,,http://www.w3.org/ns/r2rml#
schema,prefix,,http://schema.org/
sd,prefix,,http://www.w3.org/ns/sparql-service-description#
sioc,prefix,,http://rdfs.org/sioc/ns#
skos,prefix,,http://www.w3.org/2004/02/skos/core#
skosxl,prefix,,http://www.w3.org/2008/05/skos-xl#
v,prefix,,http://rdf.data-vocabulary.org/#
vcard,prefix,,http://www.w3.org/2006/vcard/ns#,,,,,,
void,prefix,,http://rdfs.org/ns/void#,,,,,,
wdr,prefix,,http://www.w3.org/2007/05/powder#,,,,,,
wrds,prefix,,http://www.w3.org/2007/05/powder-s#,,,,,,
xhv,prefix,,http://www.w3.org/1999/xhtml/vocab#,,,,,,
xml,prefix,,http://www.w3.org/XML/1998/namespace,,,,,,
xsd,prefix,,http://www.w3.org/2001/XMLSchema#,,,,,,
csvEncodedTabularData,prov:Role,CSV Encoded Tabular Data,,,,,,,Describes the role of a CSV file in the tabular data mapping.
tabularMetadata,prov:Role,Tabular Metadata,,,,,,,Describes the role of a Metadata file in the tabular data mapping.
aboutUrl,rdf:Property,about URL,,"TableGroup,Table,Schema,Column",csvw:uriTemplate,,,,A URI template property that may be used to create a unique identifier for each cell within a row when mapping data to other formats
base,rdf:Property,base,,Datatype,rdfs:Datatype,,,,An atomic property that contains a single string: a term defined in the default context representing a built-in datatype URL
columns,rdf:Property,columns,,Schema,Column,,@list,,An array of Column Descriptions.
commentPrefix,rdf:Property,comment prefix,,Dialect,xsd:string,,,,"A character that, when it appears at the beginning of a skipped row, indicates a comment that should be associated as a comment annotation to the table. The default is ""#""."
datatype,rdf:Property,datatype,,"TableGroup,Table,Schema,Column",Datatype,@vocab,,,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:Property,decimal character,,Datatype,xsd:string,,,,"A single character string whose value is used to represent a decimal point within the number. The default value is "".""."
default,rdf:Property,default,,"TableGroup,Table,Schema,Column",xsd:string,,,,An atomic property holding a single string that provides a default string value for the cell in cases where the original string value is a null value. This default value may be used when converting the table into other formats.
delimiter,rdf:Property,delimiter,,Dialect,xsd:string,,,,"The separator between cells. The default is "",""."
dialect,rdf:Property,dialect,,"TableGroup,Table",Dialect,,,,"Provides hints to processors about how to parse the referenced files for to create tabular data models for an individual table, or all the tables in a group."
doubleQuote,rdf:Property,double quote,,Dialect,xsd:boolean,,,,"If true, sets the escape character flag to "". If false, to \\."
encoding,rdf:Property,encoding,,Dialect,xsd:string,,,,"The character encoding for the file, one of the encodings listed in [encoding]. The default is utf-8."
foreignKeys,rdf:Property,foreign keys,,Schema,xsd:string,,,,An array of foreign key definitions that define how the values from specified columns within this table link to rows within this table or other tables.
format,rdf:Property,format,,Datatype,xsd:string,,,,"A definition of the format of the cell, used when parsing the cell."
groupChar,rdf:Property,group character,,Datatype,xsd:string,,,,"A single character string whose value is used to group digits within the number. The default value is "",""."
header,rdf:Property,header,,Dialect,xsd:boolean,,,,"A single 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."
headerColumnCount,rdf:Property,header column count,,Dialect,xsd:nonNegativeInteger,,,,"The number of header columns (following the skipped columns) in each row. The default is 0.
"
headerRowCount,rdf:Property,header row count,,Dialect,xsd:nonNegativeInteger,,,,The number of header rows (following the skipped rows) in the file. The default is 1.
language,rdf:Property,language,,"TableGroup,Table,Schema,Column",xsd:string,,,,A language code as defined by [BCP47]. Indicates the language of the value within the cell.
length,rdf:Property,length,,Datatype,xsd:nonNegativeInteger,,,,The exact length of the value of the cell.
lineTerminator,rdf:Property,line terminator,,Dialect,xsd:string,,,,The character that is used at the end of a row. The default is CRLF.
maxExclusive,rdf:Property,max exclusive,,Datatype,xsd:integer,,,,The maximum value for the cell (exclusive).
maxInclusive,rdf:Property,max inclusive,,Datatype,xsd:integer,,,,The maximum value for the cell (inclusive).
maxLength,rdf:Property,max length,,Datatype,xsd:nonNegativeInteger,,,,The maximum length of the value of the cell.
minExclusive,rdf:Property,min exclusive,,Datatype,xsd:integer,,,,The minimum value for the cell (exclusive).
minInclusive,rdf:Property,min inclusive,,Datatype,xsd:integer,,,,The minimum value for the cell (inclusive).
minLength,rdf:Property,min length,,Datatype,xsd:nonNegativeInteger,,,,The minimum length of the value of the cell.
name,rdf:Property,name,,Column,xsd:string,,,TRUE,An atomic property that gives a canonical name for the column. This must be a string. Conversion specifications must use this property as the basis for the names of properties/elements/attributes in the results of conversions.
notes,rdf:Property,notes,,Table,,,,,An array of objects representing annotations. This specification does not place any constraints on the structure of these objects.
null,rdf:Property,null,,"TableGroup,Table,Schema,Column",xsd:string,,,,"The string used for null values. If not specified, the default for this is the empty string."
ordered,rdf:Property,ordered,,"TableGroup,Table,Schema,Column",xsd:boolean,,,,Indicates if multiple values of a cell are considered ordered or unordered; see separator.
pattern,rdf:Property,pattern,,Datatype,xsd:string,,,,"A regular expression string, in the syntax and interpreted as defined by [ECMASCRIPT]."
primaryKey,rdf:Property,primary key,,Schema,xsd:string,,,,A column reference property that holds either a single reference to a column description object or an array of references.
propertyUrl,rdf:Property,property URL,,"TableGroup,Table,Schema,Column",csvw:uriTemplate,,,,"An URI template property that holds one or more strings that may be expanded to URIs for properties if the table is mapped to another format. The default value of propertyUrl is ""{#_name}""."
quoteChar,rdf:Property,quote char,,Dialect,xsd:string,,,,The character that is used around escaped cells.
required,rdf:Property,required,,Column,xsd:boolean,,,,A boolean value which indicates whether every cell within the column must have a non-null value.
resources,rdf:Property,resources,,TableGroup,Table,,@set,TRUE,An array of table descriptions for the tables in the group.
row,rdf:Property,row,rdfs:member,Table,,,@set,,Relates a Table to each Row output.
rownum,rdf:Property,row number,,,xsd:integer,,,,"The position of the row amongst the rows of the Annotated Tabl, starting from 1 "
scriptFormat,rdf:Property,script format,,Transformation,xsd:anyURI,,,,"A link property giving the single URL for the format that is used by the script or template. If one has been defined, this should be a URL for a media type, in the form http://www.iana.org/assignments/media-types/media-type such as http://www.iana.org/assignments/media-types/application/javascript. Otherwise, it can be any URL that describes the script or template format."
separator,rdf:Property,separator,,"TableGroup,Table,Schema,Column",xsd:string,,,,The character used to separate items in the string value of the cell.
skipBlankRows,rdf:Property,skip blank rows,,Dialect,xsd:boolean,,,,Indicates whether to ignore wholly empty rows (ie rows in which all the cells are empty). The default is false.
skipColumns,rdf:Property,skip columns,,Dialect,xsd:nonNegativeInteger,,,,"The number of columns to skip at the beginning of each row, before any header columns. The default is 0."
skipInitialSpace,rdf:Property,skip initial space,,Dialect,xsd:boolean,,,,"If true, sets the trim flag to ""start"". If false, to false."
skipRows,rdf:Property,skip rows,,Dialect,xsd:nonNegativeInteger,,,,"The number of rows to skip at the beginning of the file, before a header row or tabular data."
source,rdf:Property,source,,Transformation,xsd:string,,,,"The format to which the tabular data should be transformed prior to the transformation using the template. If the value is ""json"", the tabular data should first be transformed first to JSON based on the simple mapping defined in Generating JSON from Tabular Data on the Web. If the value is ""rdf"", it should similarly first be transformed to XML based on the simple mapping defined in Generating RDF from Tabular Data on the Web."
suppressOutput,rdf:Property,suppress output,,"Table,Column",xsd:boolean,,,,"A boolean atomic property. If true, suppresses any output that would be generated when converting a table or cells within a column."
table,rdf:Property,table,rdfs:member,TableGroup,Table,,@set,,"Relates an Table group to annotated tables. (Note, this is different from csvw:resources, which relates metadata, rather than resulting annotated table descriptions."
tableDirection,rdf:Property,table direction,,"TableGroup,Table",Direction,@vocab,,,"One of csvw:rtl csvw:ltr or csvw:default. 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. "
tableSchema,rdf:Property,table schema,,"TableGroup,Table",Schema,,,,"An object property that provides a schema description for an individual table, or all the tables in a group."
targetFormat,rdf:Property,target format,,Transformation,xsd:anyURI,,,,"A link property giving the single URL for the format that will be created through the transformation. If one has been defined, this should be a URL for a media type, in the form http://www.iana.org/assignments/media-types/media-type such as http://www.iana.org/assignments/media-types/text/calendar. Otherwise, it can be any URL that describes the target format."
transformations,rdf:Property,transformations,,"TableGroup,Table,Schema,Column",Transformation,,,,An array property of transformation definitions that provide mechanisms to transform the tabular data into other formats.
textDirection,rdf:Property,text direction,,"TableGroup,Table,Schema,Column",Direction,@vocab,,,One of csvw:rtl or csvw:ltr. Indicates whether the text within cells should be displayed by default as left-to-right or right-to-left text.
title,rdf:Property,title,,"Transformation,Column",,,@language,,"For a Transformation A natural language property that describes the format that will be generated from the transformation. This is useful if the target format is a generic format (such as application/json) and the transformation is creating a specific profile of that format.
For a Column: A natural language property that provides possible alternative names for the column."
trim,rdf:Property,trim,,Dialect,xsd:boolean,,,,"Indicates whether to trim whitespace around cells; may be true, false, start or end. The default is false."
url,rdf:Property,url,,"Table,Transformation",xsd:anyURI,,,,"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 Template: A link property giving the single URL of the file that the template is held in, relative to the location of the metadata document."
valueUrl,rdf:Property,valueUrl,,"TableGroup,Table,Schema,Column",csvw:uriTemplate,,,,An URI template property that is used to define one or more resources value of a cell instead of a literal values.
virtual,rdf:Property,virtual,,Column,xsd:boolean,,,,A boolean atomic property taking a single value which indicates whether the column is a virtual column not present in the original source
Column,rdfs:Class,Column Description,,,,,,,A Column Description describes a single column.
Datatype,rdfs:Class,Datatype,,,,,,,Describes facets of a datatype.
Dialect,rdfs:Class,Dialect Description,,,,,,,A Dialect Description provides hints to parsers about how to parse a linked file.
Direction,rdfs:Class,Direction,,,,,,,The class of table/text directions.
Schema,rdfs:Class,Schema,,,,,,,A Schema is a definition of a tabular format that may be common to multiple tables.
Table,rdfs:Class,Table Description,,,,,,,A Table describes an Annotated Table.
TableGroup,rdfs:Class,Table Group Description,,,,,,,A Table Group describes an Annotated Table Group.
Transformation,rdfs:Class,Transformation Definition,,,,,,,A Transformation Definition is a definition of how tabular data can be transformed into another format.
JSON,rdfs:Datatype,JSON,xsd:string,,,,,,A literal containing JSON.
uriTemplate,rdfs:Datatype,uri template,xsd:anyURI,,,,,,
json,term,JSON,csvw:JSON,,,,,,A literal containing JSON.
any,term,,xsd:anyAtomicType,,,,,,
anyAtomicType,term,,xsd:anyAtomicType,,,,,,
binary,term,,xsd:base64Binary,,,,,,
datetime,term,,xsd:dateTime
describedby,term,,wrds:describedby
html,term,,rdf:HTML
license,term,,xhv:license
maximum,term,,csvw:maxInclusive
minimum,term,,csvw:minInclusive
number,term,,xsd:double
role,term,,xhv:role
xml,term,,rdf:XMLLiteral
anyURI,term,,xsd:anyURI
base64Binary,term,,xsd:base64Binary
boolean,term,,xsd:boolean
byte,term,,xsd:byte
date,term,,xsd:date
dateTime,term,,xsd:dateTime
dateTimeDuration,term,,xsd:dateTimeDuration
dateTimeStamp,term,,xsd:dateTimeStamp
decimal,term,,xsd:decimal
double,term,,xsd:double
duration,term,,xsd:duration
float,term,,xsd:float
gDay,term,,xsd:gDay
gMonth,term,,xsd:gMonth
gMonthDay,term,,xsd:gMonthDay
gYear,term,,xsd:gYear
gYearMonth,term,,xsd:gYearMonth
hexBinary,term,,xsd:hexBinary
int,term,,xsd:int
integer,term,,xsd:integer
lang,term,,xsd:language
long,term,,xsd:long
Name,term,,xsd:Name
NCName,term,,xsd:NCName
NMTOKEN,term,,xsd:NMTOKEN
negativeInteger,term,,xsd:negativeInteger
nonNegativeInteger,term,,xsd:nonNegativeInteger
nonPositiveInteger,term,,xsd:nonPositiveInteger
normalizedString,term,,xsd:normalizedString
positiveInteger,term,,xsd:positiveInteger
QName,term,,xsd:QName
short,term,,xsd:short
string,term,,xsd:string
time,term,,xsd:time
token,term,,xsd:token
unsignedByte,term,,xsd:unsignedByte
unsignedInt,term,,xsd:unsignedInt
unsignedLong,term,,xsd:unsignedLong
unsignedShort,term,,xsd:unsignedShort
yearMonthDuration,term,,xsd:yearMonthDuration
\ No newline at end of file
+id,type,label,subClassOf,domain,range,@type,@container,required,comment
ltr,Direction,left to right,,,,,,,Indicates text should be processed left to right.
rtl,Direction,right to left,,,,,,,Indiects text should be processed right to left
cc,prefix,,http://creativecommons.org/ns#,,,,,,
csvw,prefix,,http://www.w3.org/ns/csvw#,,,,,,
ctag,prefix,,http://commontag.org/ns#,,,,,,
dc,prefix,,http://purl.org/dc/terms/,,,,,,
dc11,prefix,,http://purl.org/dc/elements/1.1/,,,,,,
dcat,prefix,,http://www.w3.org/ns/dcat#,,,,,,
dcterms,prefix,,http://purl.org/dc/terms/,,,,,,
dctypes,prefix,,http://purl.org/dc/dcmitype/,,,,,,
foaf,prefix,,http://xmlns.com/foaf/0.1/,,,,,,
gr,prefix,,http://purl.org/goodrelations/v1#,,,,,,
grddl,prefix,,http://www.w3.org/2003/g/data-view#,,,,,,
ical,prefix,,http://www.w3.org/2002/12/cal/icaltzd#,,,,,,
ma,prefix,,http://www.w3.org/ns/ma-ont#,,,,,,
oa,prefix,,http://www.w3.org/ns/oa#
og,prefix,,http://ogp.me/ns#
org,prefix,,http://www.w3.org/ns/org#
owl,prefix,,http://www.w3.org/2002/07/owl#
prov,prefix,,http://www.w3.org/ns/prov#
qb,prefix,,http://purl.org/linked-data/cube#
rdf,prefix,,http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfa,prefix,,http://www.w3.org/ns/rdfa#
rdfs,prefix,,http://www.w3.org/2000/01/rdf-schema#
rev,prefix,,http://purl.org/stuff/rev#
rif,prefix,,http://www.w3.org/2007/rif#
rr,prefix,,http://www.w3.org/ns/r2rml#
schema,prefix,,http://schema.org/
sd,prefix,,http://www.w3.org/ns/sparql-service-description#
sioc,prefix,,http://rdfs.org/sioc/ns#
skos,prefix,,http://www.w3.org/2004/02/skos/core#
skosxl,prefix,,http://www.w3.org/2008/05/skos-xl#,,,,,,
v,prefix,,http://rdf.data-vocabulary.org/#,,,,,,
vcard,prefix,,http://www.w3.org/2006/vcard/ns#,,,,,,
void,prefix,,http://rdfs.org/ns/void#,,,,,,
wdr,prefix,,http://www.w3.org/2007/05/powder#,,,,,,
wrds,prefix,,http://www.w3.org/2007/05/powder-s#,,,,,,
xhv,prefix,,http://www.w3.org/1999/xhtml/vocab#,,,,,,
xml,prefix,,http://www.w3.org/XML/1998/namespace,,,,,,
xsd,prefix,,http://www.w3.org/2001/XMLSchema#,,,,,,
csvEncodedTabularData,prov:Role,CSV Encoded Tabular Data,,,,,,,Describes the role of a CSV file in the tabular data mapping.
tabularMetadata,prov:Role,Tabular Metadata,,,,,,,Describes the role of a Metadata file in the tabular data mapping.
aboutUrl,rdf:Property,about URL,,"TableGroup,Table,Schema,Column",csvw:uriTemplate,,,,A URI template property that may be used to create a unique identifier for each cell within a row when mapping data to other formats
base,rdf:Property,base,,Datatype,rdfs:Datatype,,,,An atomic property that contains a single string: a term defined in the default context representing a built-in datatype URL
columns,rdf:Property,columns,,Schema,Column,,@list,,An array of Column Descriptions.
commentPrefix,rdf:Property,comment prefix,,Dialect,xsd:string,,,,"A character that, when it appears at the beginning of a skipped row, indicates a comment that should be associated as a comment annotation to the table. The default is ""#""."
datatype,rdf:Property,datatype,,"TableGroup,Table,Schema,Column",Datatype,@vocab,,,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:Property,decimal character,,Datatype,xsd:string,,,,"A single character string whose value is used to represent a decimal point within the number. The default value is "".""."
default,rdf:Property,default,,"TableGroup,Table,Schema,Column",xsd:string,,,,An atomic property holding a single string that provides a default string value for the cell in cases where the original string value is a null value. This default value may be used when converting the table into other formats.
delimiter,rdf:Property,delimiter,,Dialect,xsd:string,,,,"The separator between cells. The default is "",""."
dialect,rdf:Property,dialect,,"TableGroup,Table",Dialect,,,,"Provides hints to processors about how to parse the referenced files for to create tabular data models for an individual table, or all the tables in a group."
doubleQuote,rdf:Property,double quote,,Dialect,xsd:boolean,,,,"If true, sets the escape character flag to "". If false, to \\."
encoding,rdf:Property,encoding,,Dialect,xsd:string,,,,"The character encoding for the file, one of the encodings listed in [encoding]. The default is utf-8."
foreignKeys,rdf:Property,foreign keys,,Schema,xsd:string,,,,An array of foreign key definitions that define how the values from specified columns within this table link to rows within this table or other tables.
format,rdf:Property,format,,Datatype,xsd:string,,,,"A definition of the format of the cell, used when parsing the cell."
groupChar,rdf:Property,group character,,Datatype,xsd:string,,,,"A single character string whose value is used to group digits within the number. The default value is "",""."
header,rdf:Property,header,,Dialect,xsd:boolean,,,,"A single 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."
headerColumnCount,rdf:Property,header column count,,Dialect,xsd:nonNegativeInteger,,,,"The number of header columns (following the skipped columns) in each row. The default is 0.
"
headerRowCount,rdf:Property,header row count,,Dialect,xsd:nonNegativeInteger,,,,The number of header rows (following the skipped rows) in the file. The default is 1.
language,rdf:Property,language,,"TableGroup,Table,Schema,Column",xsd:string,,,,A language code as defined by [BCP47]. Indicates the language of the value within the cell.
length,rdf:Property,length,,Datatype,xsd:nonNegativeInteger,,,,The exact length of the value of the cell.
lineTerminator,rdf:Property,line terminator,,Dialect,xsd:string,,,,The character that is used at the end of a row. The default is CRLF.
maxExclusive,rdf:Property,max exclusive,,Datatype,xsd:integer,,,,The maximum value for the cell (exclusive).
maxInclusive,rdf:Property,max inclusive,,Datatype,xsd:integer,,,,The maximum value for the cell (inclusive).
maxLength,rdf:Property,max length,,Datatype,xsd:nonNegativeInteger,,,,The maximum length of the value of the cell.
minExclusive,rdf:Property,min exclusive,,Datatype,xsd:integer,,,,The minimum value for the cell (exclusive).
minInclusive,rdf:Property,min inclusive,,Datatype,xsd:integer,,,,The minimum value for the cell (inclusive).
minLength,rdf:Property,min length,,Datatype,xsd:nonNegativeInteger,,,,The minimum length of the value of the cell.
name,rdf:Property,name,,Column,xsd:string,,,TRUE,An atomic property that gives a canonical name for the column. This must be a string. Conversion specifications must use this property as the basis for the names of properties/elements/attributes in the results of conversions.
notes,rdf:Property,notes,,Table,,,,,An array of objects representing annotations. This specification does not place any constraints on the structure of these objects.
null,rdf:Property,null,,"TableGroup,Table,Schema,Column",xsd:string,,,,"The string used for null values. If not specified, the default for this is the empty string."
ordered,rdf:Property,ordered,,"TableGroup,Table,Schema,Column",xsd:boolean,,,,Indicates if multiple values of a cell are considered ordered or unordered; see separator.
pattern,rdf:Property,pattern,,Datatype,xsd:string,,,,"A regular expression string, in the syntax and interpreted as defined by [ECMASCRIPT]."
primaryKey,rdf:Property,primary key,,Schema,xsd:string,,,,A column reference property that holds either a single reference to a column description object or an array of references.
propertyUrl,rdf:Property,property URL,,"TableGroup,Table,Schema,Column",csvw:uriTemplate,,,,"An URI template property that holds one or more strings that may be expanded to URIs for properties if the table is mapped to another format. The default value of propertyUrl is ""{#_name}""."
quoteChar,rdf:Property,quote char,,Dialect,xsd:string,,,,The character that is used around escaped cells.
required,rdf:Property,required,,Column,xsd:boolean,,,,A boolean value which indicates whether every cell within the column must have a non-null value.
resources,rdf:Property,resources,,TableGroup,Table,,@set,TRUE,An array of table descriptions for the tables in the group.
row,rdf:Property,row,rdfs:member,Table,,,@set,,Relates a Table to each Row output.
rownum,rdf:Property,row number,,,xsd:integer,,,,"The position of the row amongst the rows of the Annotated Tabl, starting from 1 "
scriptFormat,rdf:Property,script format,,Transformation,xsd:anyURI,,,,"A link property giving the single URL for the format that is used by the script or template. If one has been defined, this should be a URL for a media type, in the form http://www.iana.org/assignments/media-types/media-type such as http://www.iana.org/assignments/media-types/application/javascript. Otherwise, it can be any URL that describes the script or template format."
separator,rdf:Property,separator,,"TableGroup,Table,Schema,Column",xsd:string,,,,The character used to separate items in the string value of the cell.
skipBlankRows,rdf:Property,skip blank rows,,Dialect,xsd:boolean,,,,Indicates whether to ignore wholly empty rows (ie rows in which all the cells are empty). The default is false.
skipColumns,rdf:Property,skip columns,,Dialect,xsd:nonNegativeInteger,,,,"The number of columns to skip at the beginning of each row, before any header columns. The default is 0."
skipInitialSpace,rdf:Property,skip initial space,,Dialect,xsd:boolean,,,,"If true, sets the trim flag to ""start"". If false, to false."
skipRows,rdf:Property,skip rows,,Dialect,xsd:nonNegativeInteger,,,,"The number of rows to skip at the beginning of the file, before a header row or tabular data."
source,rdf:Property,source,,Transformation,xsd:string,,,,"The format to which the tabular data should be transformed prior to the transformation using the template. If the value is ""json"", the tabular data should first be transformed first to JSON based on the simple mapping defined in Generating JSON from Tabular Data on the Web. If the value is ""rdf"", it should similarly first be transformed to XML based on the simple mapping defined in Generating RDF from Tabular Data on the Web."
suppressOutput,rdf:Property,suppress output,,"Table,Column",xsd:boolean,,,,"A boolean atomic property. If true, suppresses any output that would be generated when converting a table or cells within a column."
table,rdf:Property,table,rdfs:member,TableGroup,Table,,@set,,"Relates an Table group to annotated tables. (Note, this is different from csvw:resources, which relates metadata, rather than resulting annotated table descriptions."
tableDirection,rdf:Property,table direction,,"TableGroup,Table",Direction,@vocab,,,"One of csvw:rtl csvw:ltr or csvw:default. 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. "
tableSchema,rdf:Property,table schema,,"TableGroup,Table",Schema,,,,"An object property that provides a schema description for an individual table, or all the tables in a group."
targetFormat,rdf:Property,target format,,Transformation,xsd:anyURI,,,,"A link property giving the single URL for the format that will be created through the transformation. If one has been defined, this should be a URL for a media type, in the form http://www.iana.org/assignments/media-types/media-type such as http://www.iana.org/assignments/media-types/text/calendar. Otherwise, it can be any URL that describes the target format."
transformations,rdf:Property,transformations,,"TableGroup,Table,Schema,Column",Transformation,,,,An array property of transformation definitions that provide mechanisms to transform the tabular data into other formats.
textDirection,rdf:Property,text direction,,"TableGroup,Table,Schema,Column",Direction,@vocab,,,One of csvw:rtl or csvw:ltr. Indicates whether the text within cells should be displayed by default as left-to-right or right-to-left text.
title,rdf:Property,title,,"Transformation,Column",,,@language,,"For a Transformation A natural language property that describes the format that will be generated from the transformation. This is useful if the target format is a generic format (such as application/json) and the transformation is creating a specific profile of that format.
For a Column: A natural language property that provides possible alternative names for the column."
trim,rdf:Property,trim,,Dialect,xsd:boolean,,,,"Indicates whether to trim whitespace around cells; may be true, false, start or end. The default is false."
url,rdf:Property,url,,"Table,Transformation",xsd:anyURI,,,,"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 Template: A link property giving the single URL of the file that the template is held in, relative to the location of the metadata document."
valueUrl,rdf:Property,valueUrl,,"TableGroup,Table,Schema,Column",csvw:uriTemplate,,,,An URI template property that is used to define one or more resources value of a cell instead of a literal values.
virtual,rdf:Property,virtual,,Column,xsd:boolean,,,,A boolean atomic property taking a single value which indicates whether the column is a virtual column not present in the original source
Column,rdfs:Class,Column Description,,,,,,,A Column Description describes a single column.
Datatype,rdfs:Class,Datatype,,,,,,,Describes facets of a datatype.
Dialect,rdfs:Class,Dialect Description,,,,,,,A Dialect Description provides hints to parsers about how to parse a linked file.
Direction,rdfs:Class,Direction,,,,,,,The class of table/text directions.
Schema,rdfs:Class,Schema,,,,,,,A Schema is a definition of a tabular format that may be common to multiple tables.
Table,rdfs:Class,Table Description,,,,,,,A Table describes an Annotated Table.
TableGroup,rdfs:Class,Table Group Description,,,,,,,A Table Group describes an Annotated Table Group.
Transformation,rdfs:Class,Transformation Definition,,,,,,,A Transformation Definition is a definition of how tabular data can be transformed into another format.
JSON,rdfs:Datatype,JSON,xsd:string,,,,,,A literal containing JSON.
uriTemplate,rdfs:Datatype,uri template,xsd:anyURI,,,,,,
json,term,JSON,csvw:JSON,,,,,,A literal containing JSON.
any,term,,xsd:anyAtomicType,,,,,,
anyAtomicType,term,,xsd:anyAtomicType
binary,term,,xsd:base64Binary
datetime,term,,xsd:dateTime
describedby,term,,wrds:describedby
html,term,,rdf:HTML
license,term,,xhv:license
maximum,term,,csvw:maxInclusive
minimum,term,,csvw:minInclusive
number,term,,xsd:double
role,term,,xhv:role
xml,term,,rdf:XMLLiteral
anyURI,term,,xsd:anyURI
base64Binary,term,,xsd:base64Binary
boolean,term,,xsd:boolean
byte,term,,xsd:byte
date,term,,xsd:date
dateTime,term,,xsd:dateTime
dateTimeDuration,term,,xsd:dateTimeDuration
dateTimeStamp,term,,xsd:dateTimeStamp
decimal,term,,xsd:decimal
double,term,,xsd:double
duration,term,,xsd:duration
float,term,,xsd:float
gDay,term,,xsd:gDay
gMonth,term,,xsd:gMonth
gMonthDay,term,,xsd:gMonthDay
gYear,term,,xsd:gYear
gYearMonth,term,,xsd:gYearMonth
hexBinary,term,,xsd:hexBinary
int,term,,xsd:int
integer,term,,xsd:integer
lang,term,,xsd:language
long,term,,xsd:long
Name,term,,xsd:Name
NCName,term,,xsd:NCName
NMTOKEN,term,,xsd:NMTOKEN
negativeInteger,term,,xsd:negativeInteger
nonNegativeInteger,term,,xsd:nonNegativeInteger
nonPositiveInteger,term,,xsd:nonPositiveInteger
normalizedString,term,,xsd:normalizedString
positiveInteger,term,,xsd:positiveInteger
QName,term,,xsd:QName
short,term,,xsd:short
string,term,,xsd:string
time,term,,xsd:time
token,term,,xsd:token
unsignedByte,term,,xsd:unsignedByte
unsignedInt,term,,xsd:unsignedInt
unsignedLong,term,,xsd:unsignedLong
unsignedShort,term,,xsd:unsignedShort
yearMonthDuration,term,,xsd:yearMonthDuration
\ No newline at end of file
diff --git a/ns/csvw.jsonld b/ns/csvw.jsonld
index ed32f236..ec8a70c1 100644
--- a/ns/csvw.jsonld
+++ b/ns/csvw.jsonld
@@ -7,11 +7,13 @@
"dc11": "http://purl.org/dc/elements/1.1/",
"dcat": "http://www.w3.org/ns/dcat#",
"dcterms": "http://purl.org/dc/terms/",
+ "dctypes": "http://purl.org/dc/dcmitype/",
"foaf": "http://xmlns.com/foaf/0.1/",
"gr": "http://purl.org/goodrelations/v1#",
"grddl": "http://www.w3.org/2003/g/data-view#",
"ical": "http://www.w3.org/2002/12/cal/icaltzd#",
"ma": "http://www.w3.org/ns/ma-ont#",
+ "oa": "http://www.w3.org/ns/oa#",
"og": "http://ogp.me/ns#",
"org": "http://www.w3.org/ns/org#",
"owl": "http://www.w3.org/2002/07/owl#",
diff --git a/ns/csvw.ttl b/ns/csvw.ttl
index 57868f48..00344826 100644
--- a/ns/csvw.ttl
+++ b/ns/csvw.ttl
@@ -5,11 +5,13 @@
@prefix dc11: .
@prefix dcat: .
@prefix dcterms: .
+@prefix dctypes: .
@prefix foaf: .
@prefix gr: .
@prefix grddl: .
@prefix ical: .
@prefix ma: .
+@prefix oa: .
@prefix og: .
@prefix org: .
@prefix owl: .
diff --git a/ns/index.html b/ns/index.html
index 140ae664..7ee408f9 100644
--- a/ns/index.html
+++ b/ns/index.html
@@ -1229,6 +1229,10 @@ Term Definitions
http://purl.org/dc/terms/
+ dctypes
+
+ http://purl.org/dc/dcmitype/
+
decimal
xsd:decimal
@@ -1457,6 +1461,10 @@ Term Definitions
xsd:double
+ oa
+
+ http://www.w3.org/ns/oa#
+
og
http://ogp.me/ns#