incubator-any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lewis John Mcgibbney <lewis.mcgibb...@gmail.com>
Subject Re: Parsing CSV files
Date Fri, 10 Feb 2012 20:26:50 GMT
Hi Spyros,

On Fri, Feb 10, 2012 at 11:16 AM, Spyros Kotoulas <
Spyros.Kotoulas@ie.ibm.com> wrote:

>
> I have been trying to use ANY23 to parse CSV files and I am getting strange
> results:
>

Have you been getting strange results when posting to the webservice @
any23.org or when actually parsing CSV files? You start with the latter
then follow on to talk about the webservice. I'm assuming that your
referring to using the web service to process csv's.., can you please
clarify.


>
> Namely, posting the following input on any23.org:
> field1,field2,field3
> value1,,value3
>
> I get back this RDF:
> <http://any23.org/tmp/field1> <http://www.w3.org/2000/01/rdf-schema#label>
> "field1" .
>
> None of the text is RDF syntax...

When using the web service I

> The triple:
> <http://any23.org/tmp/row/0> <http://any23.org/tmp/field2>
> "value3"^^<http://www.w3.org/2001/XMLSchema#string> .
> has an error (wrong property).
>

What were you expecting here instead of the above result. You can produce a
result from the web service, I tried and didn't get any obvious indicators
that anything was incorrect.


>
> Considering that this code is widely used, I guess there is a parameter for
> not discarding empty cells somewhere, but I could not find it. Can you
> help?
>
> Lets see how we do with the above then we can drill down to this more.
Thank you



-- 
*Lewis*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message