But how do I then store that in my POD?
I’ve been reading through the " Linked Data Platform 1.0 Primer" at https://www.w3.org/TR/ldp-primer/ as well as Solid’s intro to RDFLIB at https://github.com/solid/solid-tutorial-rdflib.js. Reading/querying RDF data seems to be simple … but where is the code example that shows how to use RDFLIB to do the following:
Check if my POD has a container for my lognotes: does my POD have a container at /public/logbook ?
If there is no container at /public/logbook then create a new one.
Assuming the logbook container exists, create new resources in the container for my logbook entries. What if I want to use the “slug” header to name the new resource? Where to I state the “link” header that declares the type of my new resource? Can that be done at all in RDFLIB?
Can anyone point me to the right tutorial section or sample code?
And there is the issue of being able to grant my web-app access to my private containers, which I haven’t figured out yet - see How to change the Sharing settings for a resource?