Re: Conversion to RDF/Linked Data

2012-02-16 Thread Michael Lang Jr.
Hi Mika,

You might also take a look at our tool Spyder[1].  It enables you to expose
relational or CSV/Excel data as RDF, using the R2RML mapping language.

Mike Lang

[1] - http://www.revelytix.com/content/spyder
[2] - http://www.w3.org/TR/r2rml/

phone: 410-584-0009 (office)
   443-928-3782 (cell)
skype: michael.allen.lang.jr
twitter: http://twitter.com/mlang2



On Thu, Feb 16, 2012 at 12:12 AM, Vinay  wrote:

> Hi Mika,
>
> This looks very much in triple form. If you would like to take programatic
> help, try using RDFLib or other RDF Libraries (there are plenty in plenty
> of programming languages).
>
> You might like to use standard URI to represent data (type) units and same
> with Person ID. If you know a bit about python programming, in RDFLib its
> less than 10 min work to generate RDF from it.
>
> Also would suggest to read the links mentioned by others.
>
> Vinay
>
> On Tue, Feb 14, 2012 at 2:46 PM, Mika Singh wrote:
>
>> I want to convert persons data to RDF/Linked Data.
>>
>> I have data like this:
>>
>> Person_ID
>> has_name   N
>> has_surname  S
>> has_hobbies   h1, h2, ..., hn
>> has_friends f1, f2, ..., fn
>> countries_visitedc1, c2, ..., cn
>> date_of_birth  dob
>> height H  centimetres
>> weightW kgs
>> favourite_books  b1, b2, ..., bn
>> favourite_moviesm1, m2, , mn
>>
>>
>> Would somebody would guide me how can I convert such a record into
>> RDF/Linked data?
>>
>>
>>
>
>


Re: Conversion to RDF/Linked Data

2012-02-15 Thread Vinay
Hi Mika,

This looks very much in triple form. If you would like to take programatic
help, try using RDFLib or other RDF Libraries (there are plenty in plenty
of programming languages).

You might like to use standard URI to represent data (type) units and same
with Person ID. If you know a bit about python programming, in RDFLib its
less than 10 min work to generate RDF from it.

Also would suggest to read the links mentioned by others.

Vinay

On Tue, Feb 14, 2012 at 2:46 PM, Mika Singh wrote:

> I want to convert persons data to RDF/Linked Data.
>
> I have data like this:
>
> Person_ID
> has_name   N
> has_surname  S
> has_hobbies   h1, h2, ..., hn
> has_friends f1, f2, ..., fn
> countries_visitedc1, c2, ..., cn
> date_of_birth  dob
> height H  centimetres
> weightW kgs
> favourite_books  b1, b2, ..., bn
> favourite_moviesm1, m2, ..., mn
>
>
> Would somebody would guide me how can I convert such a record into
> RDF/Linked data?
>
>
>


Re: Conversion to RDF/Linked Data

2012-02-15 Thread Kjetil Kjernsmo
On Tuesday 14. February 2012 01.16.50 Mika Singh wrote:
> Would somebody would guide me how can I convert such a record into
> RDF/Linked data?

If you are prepared to do a little bit of simple programming, I would suggest 
converting it with a simple Perl script using the module RDF::Helper:
https://metacpan.org/module/RDF::Helper
RDF::Helper is also in Debian testing and the module and all its dependencies 
can be installed with apt-get install librdf-helper-perl if you use that 
platform. If not, it can be installed with CPAN tools, which is part of a 
standard Perl install.

There is an example of using it on an HTML table at
https://github.com/kjetilk/lifting-scripts/blob/master/kommune-navn.pl
This script first use CSS selectors to scrape the page and creates a hash with 
the results, which is then added to an RDF model using RDF::Helper.

You didn't write how many such records you have. If it is large, you could use 
the recent module RDF::Trine::Store::File I published. I hear it has some 
problems on Windows, but I mean, who uses such an odd platform? ;-)

Then, you may publish it very simply with the module RDF::LinkedData. 
https://metacpan.org/module/RDF::LinkedData
This is available in Debian testing and Ubuntu Oneiric (which is the current 
release of Ubuntu). It can be installed with 
apt-get install librdf-linkeddata-perl

I hope this helps!

Best,

Kjetil



Re: Conversion to RDF/Linked Data

2012-02-14 Thread Bill Roberts
Mika

There have been some useful suggestions on the list for tools to help with the 
mechanics of creating RDF, but for an overview of the steps in the process of 
creating Linked Data, this page from the W3C Government Linked Data group is 
useful:

http://www.w3.org/2011/gld/wiki/Linked_Data_Cookbook#Ingredients_for_High_Quality_Linked_Data

Regards

Bill Roberts


On 14 Feb 2012, at 09:16, Mika Singh wrote:

> I want to convert persons data to RDF/Linked Data.
> 
> I have data like this:
> 
> Person_ID
> has_name   N
> has_surname  S
> has_hobbies   h1, h2, ..., hn
> has_friends f1, f2, ..., fn
> countries_visitedc1, c2, ..., cn
> date_of_birth  dob
> height H  centimetres
> weightW kgs 
> favourite_books  b1, b2, ..., bn
> favourite_moviesm1, m2, ..., mn
> 
> 
> Would somebody would guide me how can I convert such a record into RDF/Linked 
> data?
> 
>   



Re: Conversion to RDF/Linked Data

2012-02-14 Thread Abdul-Mateen . Rajput
I would recommend IO informatics Knowledge Explorer, a good tool. I used
Google Refine+ RDF plugin and faced some problem with large datasets but KE
worked perfectly well.

Best Regards,

Abdul Mateen Rajput




This message and any attachment are confidential and may be privileged or
otherwise protected from disclosure. If you are not the intended recipient,
you must not copy this message or attachment or disclose the contents to
any other person. If you have received this transmission in error, please
notify the sender immediately and delete the message and any attachment
from your system. Merck KGaA, Darmstadt, Germany and any of its
subsidiaries do not accept liability for any omissions or errors in this
message which may arise as a result of E-Mail-transmission or for damages
resulting from any unauthorized changes of the content of this message and
any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its
subsidiaries do not guarantee that this message is free of viruses and does
not accept liability for any damages caused by any virus transmitted
therewith.

Click http://www.merckgroup.com/disclaimer to access the German, French,
Spanish and Portuguese versions of this disclaimer.

From:   Mika Singh 
To: "public-lod@w3.org" 
Date:   14.02.2012 13:07
Subject:Conversion to RDF/Linked Data



I want to convert persons data to RDF/Linked Data.

I have data like this:

Person_ID
        has_name                       N
        has_surname                  S
        has_hobbies                   h1, h2, ..., hn
    has_friends f1, f2, ..., fn
    countries_visited    c1, c2, ..., cn
    date_of_birth                  dob
        height                             H  centimetres
        weight                            W kgs

        favourite_books              b1, b2, ..., bn
        favourite_movies            m1, m2, ..., mn


Would somebody would guide me how can I convert such a record into
RDF/Linked data?
--1078491548-1134955431-1329211010=:10114
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

I
want to convert persons data to RDF/Linked Data.I
have data like this:Person_ID 
      has_name            
          N       
has_surname                 
S        has_hobbies      
            h1, h2, ...,
hn   
has_friends
 f1, f2, ..., fn   

countries_visited   
 c1, c2, ..., cn   
date_of_birth                 
dob        height      
                   
  H  centimetres        weight
                   
       W kgs        
favourite_books              b1,
b2, ..., bn        favourite_movies  
         m1, m2, ...,
mnWould somebody would guide me
how can I convert such a record into RDF/Linked
data?  
--1078491548-1134955431-1329211010=:10114--








Re: Conversion to RDF/Linked Data

2012-02-14 Thread Michael Hausenblas



I would also recommend @timrdf's csv2rdf4lod conversion automation,
the basis for our conversion at TWCRPI:


Sure, Tim has done a great job there - absolutely worth using this.  
One problem though - Mika didn't really specify the source format, so  
it is hard to provide concrete suggestions - any of http://www.w3.org/wiki/ConverterToRdf 
 could fit his bill ;)


Cheers,
Michael
--
Dr. Michael Hausenblas, Research Fellow
LiDRC - Linked Data Research Centre
DERI - Digital Enterprise Research Institute
NUIG - National University of Ireland, Galway
Ireland, Europe
Tel. +353 91 495730
http://linkeddata.deri.ie/
http://sw-app.org/about.html

On 14 Feb 2012, at 12:37, John Erickson wrote:


I would also recommend @timrdf's csv2rdf4lod conversion automation,
the basis for our conversion at TWCRPI:



Given csv as a starting point, you should be doing conversions in
under 30mins ;)

BTW: We recently started a project, Elixir , to
create an easy-to-use Web portal front end for csv2rdf4lod. "Watch
this space..."

On Tue, Feb 14, 2012 at 7:24 AM, Michael Hausenblas
 wrote:


Mika,



Would somebody would guide me how can I convert such a record into
RDF/Linked data?



There are two aspects to it: 1. the converter (for example, if your  
data
source is a relational DB you might want to use an RDB2RDF mapper  
[1]), and

2. the schema level, for which I would (totally unbiased of course ;)
suggest that you have a look at the work we're doing in the W3C  
Government

Linked Data WG [2] ... still early days, though ;)

Cheers,
   Michael

[1] http://www.w3.org/2001/sw/rdb2rdf/
[2] https://dvcs.w3.org/hg/gld/raw-file/default/people/index.html

--
Dr. Michael Hausenblas, Research Fellow
LiDRC - Linked Data Research Centre
DERI - Digital Enterprise Research Institute
NUIG - National University of Ireland, Galway
Ireland, Europe
Tel. +353 91 495730
http://linkeddata.deri.ie/
http://sw-app.org/about.html


On 14 Feb 2012, at 09:16, Mika Singh wrote:


I want to convert persons data to RDF/Linked Data.

I have data like this:

Person_ID
   has_name   N
   has_surname  S
   has_hobbies   h1, h2, ..., hn
   has_friends f1, f2, ..., fn
   countries_visitedc1, c2, ..., cn
   date_of_birth  dob
   height H  centimetres
   weightW kgs
   favourite_books  b1, b2, ..., bn
   favourite_moviesm1, m2, ..., mn


Would somebody would guide me how can I convert such a record into
RDF/Linked data?









--
John S. Erickson, Ph.D.
Director, Web Science Operations
Tetherless World Constellation (RPI)
 
Twitter & Skype: olyerickson





Re: Conversion to RDF/Linked Data

2012-02-14 Thread Michael Hausenblas


Mika,

Would somebody would guide me how can I convert such a record into  
RDF/Linked data?


There are two aspects to it: 1. the converter (for example, if your  
data source is a relational DB you might want to use an RDB2RDF mapper  
[1]), and 2. the schema level, for which I would (totally unbiased of  
course ;) suggest that you have a look at the work we're doing in the  
W3C Government Linked Data WG [2] ... still early days, though ;)


Cheers,
Michael

[1] http://www.w3.org/2001/sw/rdb2rdf/
[2] https://dvcs.w3.org/hg/gld/raw-file/default/people/index.html

--
Dr. Michael Hausenblas, Research Fellow
LiDRC - Linked Data Research Centre
DERI - Digital Enterprise Research Institute
NUIG - National University of Ireland, Galway
Ireland, Europe
Tel. +353 91 495730
http://linkeddata.deri.ie/
http://sw-app.org/about.html

On 14 Feb 2012, at 09:16, Mika Singh wrote:


I want to convert persons data to RDF/Linked Data.

I have data like this:

Person_ID
has_name   N
has_surname  S
has_hobbies   h1, h2, ..., hn
has_friends f1, f2, ..., fn
countries_visitedc1, c2, ..., cn
date_of_birth  dob
height H  centimetres
weightW kgs
favourite_books  b1, b2, ..., bn
favourite_moviesm1, m2, ..., mn


Would somebody would guide me how can I convert such a record into  
RDF/Linked data?








Re: Conversion to RDF/Linked Data

2012-02-14 Thread Yury Katkov
Hi Mika!

That is pretty cool data format you have. It's almost already in RDF. I'm
not sure if it can be supported directly by existing tools though. If I
were you I would probably first convert this format to CSV and then use
Google Refine + Google Refine RDF Plugin.

Still I'm sure that there are more elegant solutions. Could anyone make
another suggestion, it would be very interesting to see it!

Sincrely yours,
Yury Katkov




On Tue, Feb 14, 2012 at 1:16 PM, Mika Singh wrote:

> I want to convert persons data to RDF/Linked Data.
>
> I have data like this:
>
> Person_ID
> has_name   N
> has_surname  S
> has_hobbies   h1, h2, ..., hn
> has_friends f1, f2, ..., fn
> countries_visitedc1, c2, ..., cn
> date_of_birth  dob
> height H  centimetres
> weightW kgs
> favourite_books  b1, b2, ..., bn
> favourite_moviesm1, m2, ..., mn
>
>
> Would somebody would guide me how can I convert such a record into
> RDF/Linked data?
>
>
>