- From: Adrian Gschwend <ktk@netlabs.org>
- Date: Wed, 28 Nov 2012 11:10:54 +0100
- To: nathan@webr3.org
- CC: Baptiste Lafontaine <baptiste33@gmail.com>, public-rww@w3.org, Tim Berners-Lee <timbl@w3.org>, Antonio Garrote Hernández <antoniogarrote@gmail.com>, Niklas Lindström <lindstream@gmail.com>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 28.11.12 10:34, Nathan wrote: Hi guys, > Regardless though, as far as I'm aware rdflib.js hasn't updated to > work on node properly yet, and node.js specific rdf/xml support > hasn't been added. This is most likely a problem with all RDF > tooling for node.js, although as I say libs may have been updated > and it may now be supported by somebody. > > Tim, Adrian, Antonio, or Niklas (all cc'd) may be able to confirm > this. I never used rdflib.js so not sure what it provides right now. My choice was/is rdfstore-js from Antonio, which works perfect in Node and is aimed at Node as well for a big part (it does work very well in the browser too). It also implements a simple triple store in JavaScript with SPARQL support which is really great (for simple stuff at least). Antonio implemented the RDF Interfaces spec from Nathan which is IMHO pretty good for low-level stuff. There is no parsing in the RDF Interfaces API so Antonio implemented that in his RDF Store: RDF Store/RDF Interfaces from Antonio: https://github.com/antoniogarrote/rdfstore-js Docs for the RDF Store: http://antoniogarrote.github.com/rdfstore-js/doc/index.html RDF Interfaces API: http://www.w3.org/TR/rdf-interfaces/ You can use RDF Interfaces by Antonio standalone as well, not sure how this works with parsing though (probably you have to care about it yourself). Officially there is no RDF/XML Parsing in RDF Store yet but someone forked it and added it, Antonio told me he might add it at least as option to the next release. What I do as well on node is use a wrapper to "rapper" from Dave Becket, as it parses pretty much everything you need :) > FWIW, a few of us are going to be looking at updating some of the > rdf libraries for js in the very near future, so we can keep you > posted. ack, we have to do that. I highly recommend to use code from Antonio as a base as it is the most used right now in various JS projects and it works perfectly well on Node. And as I told Nathan I'm very interested in working in this group, we *should* try to provide some recommendations for an API on more than one language and I think RDF Interfaces is not a bad start for that. It does lack easier access to triples but there are some good ideas in RDF API for that. > In the meantime, certainly Turtle is well supported in node.js RDF > tooling, so you can get going and add rdf/xml support as and when > it's available. See https://github.com/antoniogarrote/rdfstore-js/pull/31 cu Adrian - -- Adrian Gschwend @ netlabs.org ktk [a t] netlabs.org - ------- Open Source Project http://www.netlabs.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlC14y4ACgkQqpMUYrZbQBHqPACfWXlGG6pRfv6lc70sMA2cWqrS NTMAn0FWA6TFdXA6xhAJqQfy8TbbX+B6 =tU/C -----END PGP SIGNATURE-----
Received on Wednesday, 28 November 2012 10:11:18 UTC