linkeddata / rdflib.js

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

Adding rdflib data types to Store #415

Closed megoth closed 4 years ago

megoth commented 4 years ago

Once I started using the newest version with the new types in SolidOS I realized that the Store methods were not working properly, as they return RDF/JS data types, and SolidOS relies heavily on rdflib data types.

I think the changes should conform to RDF/JS data types, but have some doubts about some of the code I changed, especially IndexedFormula#canon (which, as I understand it, must cast RDF/JS data types to rdflib data types).

I hope this works, as it makes most of the codebase in SolidOS work (there are still some inconsistencies, but I'll create separate issues/PRs for these)