- From: Andy Seaborne <andy@apache.org>
- Date: Wed, 26 Mar 2014 18:56:29 +0000
- To: CSV on the Web Working Group <public-csv-wg@w3.org>
Gregg's example CSV is:
---------
name,homepage,image
"Gregg
Kellogg",http://greggkellogg.net/,http://www.gravatar.com/avatar/42f948adff3afaa52249d963117af7c8.png
---------
which becomes, without any further annotations available:
---------
@prefix : <http://host/data.csv#> .
@prefix csv: <http://w3c/future-csv-vocab/> .
# Column information
<http://host/data.csv#metadata>
csv:column [ csv:colName "name" ;
csv:colPredicate :name ;
csv:colIndex 1 ] ;
csv:column [ csv:colName "homepage" ;
csv:colPredicate :homepage ;
csv:colIndex 2 ] ;
csv:column [ csv:colName "image" ;
csv:colPredicate :image ;
csv:colIndex 3 ] ;
.
# Data rows
[ csv:row 1 ;
:name "Gregg Kellogg";
:homepage "http://greggkellogg.net/" ;
:image "http://www.gravatar.com/avatar"
] .
---------
and with annotations, saying "homepage" and "image" are datatype link:
---------
[ csv:row 1 ;
:name "Gregg Kellogg";
:homepage <http://greggkellogg.net/> ;
:image <http://www.gravatar.com/avatar>
]
---------
and I think annotations that give URI templates are a small step forward
and may be all we do for reconciliation. YMMV.
Andy
Received on Wednesday, 26 March 2014 18:57:01 UTC