W3C home > Mailing lists > Public > public-semweb-lifesci@w3.org > January 2013

Re: A smaller simpler one-off csv to RDF just for experimenting on local machine OsX

From: Peter Ansell <ansell.peter@gmail.com>
Date: Tue, 22 Jan 2013 10:30:43 +1000
Message-ID: <CAGYFOCTTv=VOh7WD7KqPAnEgiWu2iaC43+5GtTfzcnoOri1ZNw@mail.gmail.com>
To: Peter.Hendler@kp.org
Cc: rmr.jhu@gmail.com, eric@w3.org, public-semweb-lifesci@w3.org
Hi Peter,

Michel Dumontier's php-lib library is what Bio2RDF has been using for
converting TSV, CSV files (and other file formats) to RDF [1]. It contains
some aspects that are Bio2RDF specific, namely its support for prefixed
URIs, but any Pull Requests on GitHub would be appreciated to generalise
that. OSX has PHP installed by default as far as I know so you can use it
on the command line without any other dependencies.

You can find examples of scripts using php-lib in the bio2rdf-scripts
repository on GitHub [2]. A fairly simple example would be the HGNC
converter, which is Tab separated, but quite similar [3].



[1] https://github.com/micheldumontier/php-lib
[2] https://github.com/bio2rdf/bio2rdf-scripts

On 22 January 2013 10:14, <Peter.Hendler@kp.org> wrote:

> I've looked at the web pages and even installed some of the many
> suggestions (thanks).
> Most were more than I need.
> Tried to install csf2rdf4lod.  It keeps adding dependancies and seems much
> more involved (and scalable) than what I'm looking for.
> I only want to experiment with some single spreadsheet conversions and
> don't even need a triple store.
> Google refine was promising but gave me xerces errors when I tried to add
> the RDF export plugin.
> I'm on OsX so can't use Windows only apps (which did look good).
> I saw something called M2 for Protege that is supposed to be built in to
> Protege but not on my 4.2 Protege.
> Thanks
> *NOTICE TO RECIPIENT:*  If you are not the intended recipient of this
> e-mail, you are prohibited from sharing, copying, or otherwise using or
> disclosing its contents.  If you have received this e-mail in error, please
> notify the sender immediately by reply e-mail and permanently delete this
> e-mail and any attachments without reading, forwarding or saving them.
>  Thank you.

(image/jpeg attachment: 01-part)

Received on Tuesday, 22 January 2013 00:31:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:00 UTC