W3C home > Mailing lists > Public > semantic-web@w3.org > February 2010

Re: SPARQL & memory use

From: Danny Ayers <danny.ayers@gmail.com>
Date: Mon, 8 Feb 2010 04:05:20 +0100
Message-ID: <1f2ed5cd1002071905h29440328lbb9a514fc7fadf21@mail.gmail.com>
To: Taylor Cowan <taylor_cowan@yahoo.com>
Cc: Semantic Web <semantic-web@w3.org>
I really really rate using Scala against the Jena libs - the syntax is
so much quicker and more fun.

I've only got as far as maybe Chapter 2 in my Scala book, not using it
to anything like it's potential, but you can bang something out in 5
lines of code that would take forever in Java.

Mind you, I had a big deja vu thing over dumping a model into a string
- write here and gobble there stuff and unicode ain't guaranteed.

But I'd like to tickle the Jena guys on that one - model.toString

...and!

Andy, you must have the code for this down right, jumping around to
see if it's an ASK DESCRIBE SELECT CONSTRUCT - bleah! It's a bloody
query!

Christ knows what happens with 1.1.

Think I better polish up my LISP.

On 8 February 2010 03:48, Taylor Cowan <taylor_cowan@yahoo.com> wrote:
> Yep, I found what I was looking for:
>
>   model = ModelFactory.createDefaultModel()
>
> No inferencing there.
> I see what you mean about scala, wow. that's pretty terse compared to my java projects.  I'm betting Andy or jeremy will see this, but you should post to the jena group too.
>
> Taylor
Received on Monday, 8 February 2010 03:05:53 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 21:45:34 GMT