rdflib.js question

Hello,

I hope it's the right mailing list to ask such a question. It it's not
do not hesitate to redirect me to a more appropriate place.


I want to use rdflib.js it for my node webID implementation
(https://github.com/magnetik/node-webid) but I can't make it work.

My need are quite simple : I have the rdf/xml (or turtle or N3)
document as a string in a variable, I just want to parse it and make a
few simple queries on it.

I've tried something like this :
store = new rdf.IndexedFormula
rdf.parse(webID, store, $rdf.sym('http://magnetik.org/card#me'),
'application/rdf+xml')

(where store webID is a valid rdf/xml document)



I'm not very used to all RDF specific terms and the lack of
documentation or example has been blocking me for quite a while...


Thanks

Regards,
--
Baptiste Lafontaine
http://magnetik.org
+33 (0) 6 75 30 15 33

Received on Wednesday, 28 November 2012 09:25:27 UTC