I'm surprised that no one mentioned RML (http://rml.io/) which is a W3C
standard and the Java library https://github.com/RMLio/rmlmapper-java/

I've been happily using this library to transform XML, CSV from web
services.

Regards


On Sat, Feb 16, 2019 at 12:34 AM John A. Fereira <[email protected]> wrote:

>
> When this question has come up in the past I’ve recommended the VIVO
> Harvester tool (https://github.com/vivo-project/VIVO-Harvester) which can
> transform content to RDF from many different sources (csv, jdbc database,
> json, xml, web services).  It consists of a suite of tools for ingesting
> content into the VIVO semantic web application but could be used for
> creating RDF in general (it is based on Jena).  It essentially transforms
> from one of the supported data sources into a “flat” rdf structure which
> can then be transformed into RDF which models the desired ontology using
> XSLT.   Note that database such as MySQL can get loaded from a CSV file,
> and then a tool like D2R Map could be used to transform content from the
> database to RDF.
>
> On 2/14/19, 11:31 PM, "Conal Tuohy" <[email protected]> wrote:
>
>     Elio, this small XSLT may be a helpful example:
>
> https://github.com/TEIC/Stylesheets/blob/dev/profiles/default/csv/from.xsl
>
>     It opens the CSV file, splits it into lines, and then generates a new
> TEI
>     XML document in which it simply re-encodes the tabular data using TEI
>     <table>, <row>, and <cell> elements. You can see how you could use the
> same
>     technique, but output RDF/XML or TriX, if that's what you want to do.
>
>     Regards
>
>     Conal
>
>     On Thu, 14 Feb 2019 at 23:59, elio hbeich <[email protected]>
> wrote:
>
>     > Dear all
>     >
>     > Do you have any suggestion about tools or XSLT that can transform
> CSV to
>     > RDF
>     >
>     > Thank you in advance,
>     > Elio HBEICH
>     >
>
>
>     --
>     Conal Tuohy
>     http://conaltuohy.com/
>     @conal_tuohy
>     +61-466-324297
>
>
>

-- 

Alex To

PhD Candidate

School of Computer Science

Knowledge Discovery and Management Research Group

Faculty of Engineering & IT

THE UNIVERSITY OF SYDNEY | NSW | 2006

Desk 4e69 | Building J12| 1 Cleveland Street

M. +61423330656 <%2B61450061602>

Reply via email to