solid-file-python
solid-file-python copied to clipboard
Structured data operations support
AS-IS:
- solid-file-python does not aware of RDF resources.
- solid-file-python cannot manipulate (PATCH) RDF resources.
TO-BE:
- As a user, I can use solid-file-python to query and update RDF resources in a Pod, so I can get the benefit of the semantic web.
- Users can use patchFile() to modifies the content of a resource. Adding or removing triples.
- A patch request can be either in SPARQL or turtle format.
- Ability to manipulate RDF in a Pythonic way (or just introduce rdflib instead.)
Reference
- https://en.wikipedia.org/wiki/Resource_Description_Framework#Serialization_formats
- https://github.com/jeff-zucker/solid-file-client#patchfile-fileurl-patchcontent-patchcontenttype-
- https://github.com/jeff-zucker/solid-file-client/blob/master/docs/JSdoc/rdf-query.md
- https://github.com/solid/solid-spec/blob/master/api-rest.md#alternative-using-sparql
👍
✌
https://docs.inrupt.com/developer-tools/javascript/client-libraries/tutorial/read-write-data/
https://github.com/twonote/solid-file-python/blob/master/resources/postman/RDF.json
Here is an N3.js example code to help us to understand the Javascript implementation: https://gist.github.com/hrchu/b463193ab2dd7dacd30e33469676835e