W3C home > Mailing lists > Public > semantic-web@w3.org > January 2013

Re: Light-weight streaming PHP library for RDF serialization?

From: Michel Dumontier <michel.dumontier@gmail.com>
Date: Tue, 29 Jan 2013 12:28:36 -0500
Message-ID: <CALcEXf7=sgARn_NNcYXhcxDipNMfv6OusTLAOfWA4UVhOaK1UA@mail.gmail.com>
To: Denny Vrandečić <denny.vrandecic@wikimedia.de>
Cc: SW-forum <semantic-web@w3.org>
you're right. out of the box "streaming" is not directly supported.  but
that should'nt prevent you from implementing one.  if you serialize the
content in n-triples to a stream, you'll have no headers or prefix
declarations to deal with. then just clear the model and add more triples.

m.

On Tue, Jan 29, 2013 at 12:17 PM, Denny Vrandečić <
denny.vrandecic@wikimedia.de> wrote:

> As far as I can tell, EasyRdf requires to first create a model object
> which is then send to a serializer. I don't see that EasyRdf can be used
> for streaming.
>
> Please correct me if I am wrong.
>
> Thank you,
> Denny
>
>
>
> 2013/1/29 Michel Dumontier <michel.dumontier@gmail.com>
>
>> Try easyrdf
>>
>> http://www.easyrdf.org/
>>
>> m.
>>
>>
>> On Tue, Jan 29, 2013 at 11:54 AM, Denny Vrandečić <
>> denny.vrandecic@wikimedia.de> wrote:
>>
>>> Hi,
>>>
>>> is there an actively maintained open source pure PHP library that can be
>>> used to create RDF serialization from a model?
>>>
>>> It should be able to stream a big number of triples.
>>>
>>> Pluspoints if there it has no Parser or SPARQL processing library as a
>>> dependency, in order to decrease the size of the library (smaller library =
>>> happier code reviewer, less maintenance costs).
>>>
>>> Cheers,
>>> Denny
>>>
>>> --
>>> Project director Wikidata
>>> Wikimedia Deutschland e.V. | Obentrautstr. 72 | 10963 Berlin
>>> Tel. +49-30-219 158 26-0 | http://wikimedia.de
>>>
>>> Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V.
>>> Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
>>> der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
>>> Körperschaften I Berlin, Steuernummer 27/681/51985.
>>>
>>
>>
>>
>> --
>> Michel Dumontier
>> Associate Professor of Bioinformatics, Carleton University
>> Chair, W3C Semantic Web for Health Care and the Life Sciences Interest
>> Group
>> http://dumontierlab.com
>>
>
>
>
> --
> Project director Wikidata
> Wikimedia Deutschland e.V. | Obentrautstr. 72 | 10963 Berlin
> Tel. +49-30-219 158 26-0 | http://wikimedia.de
>
> Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V.
> Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
> der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
> Körperschaften I Berlin, Steuernummer 27/681/51985.
>



-- 
Michel Dumontier
Associate Professor of Bioinformatics, Carleton University
Chair, W3C Semantic Web for Health Care and the Life Sciences Interest Group
http://dumontierlab.com
Received on Tuesday, 29 January 2013 17:29:23 GMT

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