BUG: turtle import fails with a statement like "<a> <b> false, true."

2 views
Skip to first unread message

Doug Burke

unread,
Jan 10, 2015, 4:16:44 PM1/10/15
to sta...@clarkparsia.com

Using version 2.2.4 of StarDog I can not load the following turtle file:

%% cat noload.ttl
<urn:a> <urn:b> false, true .

as I get the following error.

% stardog data add single noload.ttl
Adding data from file: noload.ttl
Expected '.', found 't' [line 1]

If I add a space between false and the comma then it loads:

% stardog data add single loads.ttl
Adding data from file: loads.ttl
Added 2 triples in 00:00:00.190

I'm guessing it just happens for booleans, since the following works:

% cat ints.ttl
<urn:xx> <urn:yy> 12, 24 .
% stardog data add single ints.ttl
Adding data from file: ints.ttl
Added 2 triples in 00:00:00.223

Thanks,
Doug

Mike Grove

unread,
Jan 12, 2015, 8:04:37 AM1/12/15
to stardog
Yes, this seems to be a bug in RIO [1] which is what we're using for parsing RDF.

Cheers,

Mike

 

Thanks,
Doug

--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en

Martynas Jusevičius

unread,
Jan 12, 2015, 11:45:06 AM1/12/15
to sta...@clarkparsia.com
Mike,

just curious -- are you using both Sesame and Jena in Stardog? Why not
stick to a single API?

Martynas
> To unsubscribe from this group and stop receiving emails from it, send an
> email to stardog+u...@clarkparsia.com.

Mike Grove

unread,
Jan 12, 2015, 11:48:51 AM1/12/15
to stardog
On Mon, Jan 12, 2015 at 11:45 AM, Martynas Jusevičius <mart...@graphity.org> wrote:
Mike,

just curious -- are you using both Sesame and Jena in Stardog? Why not
stick to a single API?

The SNARL API would be considered a single API, but since the vast majority of existing projects are already using either Sesame or Jena, we provide as a convenience implementations of both the Sesame and Jena APIs which are simply wrappers around SNARL.  This way legacy projects don't have to rewrite code to use Stardog, they can simply keep using Repository or Model respectively.

Cheers,

Mike
Reply all
Reply to author
Forward
0 new messages