Re: SPARQL & memory use

On 08/02/2010 3:05 AM, Danny Ayers wrote:
> 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!

com.hp.hpl.jena.sparql.util.QueryExecUtils is a set of convenience stuff 
I use.

>
> Christ knows what happens with 1.1.

There are no new query forms.

 Andy



>
> 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
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________

Received on Monday, 8 February 2010 13:43:45 UTC