Return-Path: Delivered-To: apmail-incubator-jena-dev-archive@minotaur.apache.org Received: (qmail 69481 invoked from network); 7 Feb 2011 16:05:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Feb 2011 16:05:43 -0000 Received: (qmail 89385 invoked by uid 500); 7 Feb 2011 16:05:43 -0000 Delivered-To: apmail-incubator-jena-dev-archive@incubator.apache.org Received: (qmail 89347 invoked by uid 500); 7 Feb 2011 16:05:42 -0000 Mailing-List: contact jena-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jena-dev@incubator.apache.org Delivered-To: mailing list jena-dev@incubator.apache.org Received: (qmail 89272 invoked by uid 99); 7 Feb 2011 16:05:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Feb 2011 16:05:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.222.232.117] (HELO echo.justhostme.co.uk) (83.222.232.117) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Feb 2011 16:05:34 +0000 Received: from 82-69-1-248.dsl.in-addr.zen.co.uk ([82.69.1.248] helo=[192.168.1.63]) by echo.justhostme.co.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PmTaT-0002IO-Mh for jena-dev@incubator.apache.org; Mon, 07 Feb 2011 16:05:14 +0000 Message-ID: <4D501834.1000004@epimorphics.com> Date: Mon, 07 Feb 2011 16:05:08 +0000 From: Andy Seaborne User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: jena-dev@incubator.apache.org Subject: Re: SPARQL 1.1 Update in ARQ 2.8.7 References: <005a01cbbd6c$684ceaa0$38e6bfe0$@com> <4D408151.5090107@epimorphics.com> <011501cbbe7a$ec3c3f50$c4b4bdf0$@com> <4D46A96C.1010206@epimorphics.com> <003901cbc22e$2e5c5bc0$8b151340$@com> <4D4ABD93.5040609@epimorphics.com> In-Reply-To: <4D4ABD93.5040609@epimorphics.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - echo.justhostme.co.uk X-AntiAbuse: Original Domain - incubator.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - epimorphics.com On 03/02/11 14:37, Andy Seaborne wrote: > > > On 01/02/11 16:36, Stephen Allen wrote: >> Andy, >> >> I have started implementing the serializer (SinkBindingOutput) by using >> org.openjena.riot.SinkQuadOutput as a guide and using OutputLangUtils to >> print out the variable/values. I created the deserializer >> (LangBindings) by >> extending org.openjena.riot.lang.LangNTuple. I'm using the paired >> var/value >> format you described below. For now I'll start with a straightforward >> implementation with no compression, but like your ideas in this area. >> I'll >> try to do some measurements to see if any other compression is >> beneficial. > > Sounds good. > >> >> I did not define an org.openjena.riot.Lang enum for the deserializer >> (because it isn't an RDF language) but I was planning on putting the >> LangBindings class in the org.openjena.riot.lang package. > > As good a place as any at the moment. > > I've just digging out some code that does tuple I/O from an > experiemental system a while ago (a clustered query engine ..). I've dug the code out : https://jena.svn.sf.net/svnroot/jena/Scratch/AFS/trunk/src/riot/io/ Has TokenInputStream, TokeOutputStream as interfaces. Andy