linkeddata / rdflib.js

Linked Data API for JavaScript
http://linkeddata.github.io/rdflib.js/doc/
Other
566 stars 146 forks source link

RDFa as a node module? #20

Open silverbucket opened 11 years ago

silverbucket commented 11 years ago

Hi, I'm a friend of @melvincarvalho and lead dev of sockethub (http://github.com/sockethub/sockethub - http://sockethub.org). We were talking recently about working on an 'rdf' platform for sockethub. I was wondering a few things.

  1. What state is node-rdflib.js ? How stable, and how feature-complete do you think it?
  2. Is there any documentation on rdflib? It's API, and use-cases, as well as data returned?
  3. I'd like to be able to interchangeably fetch requests of URI's that are both RDF or RDFa, is there any specific reasons why RDFa is completely separate and why it's not available as a node module?

Thanks for your help, I look forward to helping where I can with rdflib and implementing support in sockethub.

melvincarvalho commented 11 years ago

re: (2) I'm afraid we're light on documentation but that's something we can change! (I volunteer to help)

There's some developer notes at:

http://dig.csail.mit.edu/2005/ajar/ajaw/Developer.html

If you scroll down it goes through the files and gives a brief description of what each one does.

timbl commented 11 years ago

Hi Nick,

Historically, we made various attempts to add rdfa.
Latest one was to take Jeni T's rdfa parser, which came with its own local triple store from which it needed separating. Jeni uses JQuery heavily, and we couldn't then afford to have jQuery dependency on the rdflib as a whole, (node at the time didn't have one for example) so we ended making an rdfa verion of the library and a non-rdfa version.

The work is not finished, as it needs a finsihed test harness and to be tested each release.
There is outline of a test harness at http://linkeddata.github.io/rdflib.js/test/tc0007/ See http://linkeddata.github.io/rdflib.js/test/tc0007/Makefile This should use the standard manifests (copies in that directory)

ToDo: Finish the RDFa test suite and get RDFa parsing solid.

Take care

Tim

On 2013-08 -26, at 16:54, Nick Jennings wrote:

Hi, I'm a friend of @melvincarvalho and lead dev of sockethub (http://github.com/sockethub/sockethub - http://sockethub.org). We were talking recently about working on an 'rdf' platform for sockethub. I was wondering a few things.

What state is node-rdflib.js ? How stable, and how feature-complete do you think it? Is there any documentation on rdflib? It's API, and use-cases, as well as data returned? I'd like to be able to interchange-ably fetch requests of URI's that are both RDF or RDFa, is there any specific reasons why RDFa is completely separate and why it's not available as a node module? Thanks for your help, I look forward to helping where I can with rdflib and implementing support in sockethub.

— Reply to this email directly or view it on GitHub.

timbl commented 9 years ago

I am now more inclined in include green-turtle RDFa parser as a submodule within rdflib.js. It needs a little work to be connected up. I have just added it as a submodule. Pull requests welcome to fix rdfa.js to actually connect up green turtle parser to the main library!

nicola commented 9 years ago

Sorry to bring this up again. Since we moved to using npm, an option could be to use it as a dependency rather than a submodule.

martinmr commented 9 years ago

I could work on that but I am not sure what are the extra steps Tim mentioned are necessary to connect green-turtle to rdflib.

nicola commented 9 years ago

Yes, let's leave it for now!

On Fri, Jun 26, 2015 at 11:58 AM -0700, "Martin Martinez Rivera" notifications@github.com wrote:

I could work on that but I am not sure what are the extra steps Tim mentioned are necessary to connect green-turtle to rdflib.

— Reply to this email directly or view it on GitHub.