Niklas Lindström
Niklas Lindström
@hsolbrig would the form suggested in https://github.com/w3c/json-ld-api/issues/76#issuecomment-582650517 work for you? That is, this: ```json { "@context": { "@prefix": { "dc": "http://purl.org/dc/terms/", "tag": "tag:example.org,2020:ns:", "compact-iris": "http://example.com/compact-iris-" } }, } ``` It'd...
Quite some time ago I did a "one-off" [Vim-script conversion from W3C EBNF to EBNF suitable for PEG.js](https://github.com/niklasl/ldtr/blob/main/tools/polish-w3c-ebnf.vim). As I just threw regexps at the problem until I had something...
Yes, this is an interesting move, which I do believe warrants a discussion before finalizing. I was involved in a mail thread discussing what to do with rdflib-jsonld some years...
Sounds good! It makes sense to remove the comment as well (the domain is wrong, and I don't think @eikeon would mind removing the email; rather the contrary, as its...
It is important here (in parsing and serializing various forms) to carefully notice and comply with the appropriate specifications: * [QNames](https://www.w3.org/TR/REC-xml-names/#NT-QName) (for XML elements and attributes) * [PNames](https://www.w3.org/TR/turtle/#grammar-production-PNAME_NS) (for Turtle,...
It might make sense that one should simply parse into the `default_context` of a `ConjunctiveGraph` or `Dataset`, like: ``` python cg = rdflib.ConjunctiveGraph() cg.default_context.parse(data=data, format='trig') print cg.serialize(format='trig') ``` By doing...
There would be no change by telling users to parse into `default_context`, that just seems unintuitive. I'd say leave this open (but for 5.0.0 maybe?) since it is about changing...
I just want to note that anyone needing advanced JSON-LD support for RDFLib today can leverage what is already in place together with a dedicated JSON-LD processor. Here is a...
In our work with Libris XL at the National Library of Sweden we have also encountered this. We find datatype properties such as `bf:degree` limited since they cannot be used...
I agree on your expected compaction result (and thus that the test output is wrong). If the input is also flattened -- turning the embedded named graph into a node...