Thanks!
Feels like yesterday. At the time i was hoping to find some library that would
read the csvw-json as input though. For example library that would generate the
rdf from the "tree-ops.csv" file given the json description:
{
"url": "tree-ops.csv",
"@context": ["http://www.w3.org/ns/csvw", {"@language": "en"}],
"tableSchema": {
"columns": [{
"name": "GID",
"titles": "GID",
"datatype": "string",
"propertyUrl": "schema:url",
"valueUrl": "#gid-{GID}"
}, {
"name": "species",
"titles": "Species",
"datatype": "string",
"propertyUrl": "schema:name"
}
...
}
Best Regards,
Miika Alonen
CSC - IT Center for Science
[email protected]
----- Original Message -----
From: "Martynas Jusevičius" <[email protected]>
To: "users" <[email protected]>
Sent: Sunday, 13 January, 2019 01:44:35
Subject: Re: csvw java implementations?
Hi Miika,
a few years too late :)
We have recently published https://github.com/AtomGraph/CSV2RDF -- a
streaming, transforming CSV to RDF converter based on Jena and
univocity CSV parser.
Not sure this is exactly what you were looking for. So far we've used
it to generate up to 25 million triples, which took minutes.
The Jena dependency is pretty old (3.0.1), which I can't upgrade right
now because other code depends on CSV2RDF. But the codebase is really
small, so it shouldn't be a problem to fork and bump it up.
Hope this helps.
Martynas
atomgraph.com
On Mon, May 15, 2017 at 9:57 AM Miika Alonen <[email protected]> wrote:
>
> Hi all!
>
> There's a lot of various csv to rdf implementations out there, but are there
> any existing csvw [1] java/jena implementations? It would be nice to have
> csv->rdf->csv tranformation [2] in jena using the csvw json descriptions. If
> there isnt any existing implementations, what existing csv libraries or
> projects could be reused to add that support?
>
> [1] https://www.w3.org/TR/tabular-metadata/
> [2] https://www.w3.org/TR/csv2rdf/
>
> Best Regards,
> Miika Alonen
>
> CSC - IT Center for Science
> [email protected]