Iwan Aucamp

Results 286 comments of Iwan Aucamp

Something that may be of interest to you: https://github.com/aucampia/rdflib/blob/38e854abc845a13dcaa61a66d5fcdba69bcf3ba1/test/utils/earl.py#L438-L446 ```python class OrderedMemory(Memory): def __init__(self, configuration=None, identifier=None): super().__init__(configuration, identifier) self.__spo = OrderedDict() self.__pos = OrderedDict() self.__osp = OrderedDict() self.__namespace = OrderedDict()...

@stefanbischof some code would be helpful here, I'm actually not entirely sure what you are asking, and what the context is, are you talking about Graph.query? `initBindings` is a dictionary...

> Overall I'd like to specify initBindings somehow like this. And this would be an argument to `Graph.query`? I think I understand but if you give complete SPARQL query, a...

> This is great to see @aucampia ; we've got partial type stubs for the bits of rdflib we use in `cwltool` at https://github.com/common-workflow-language/cwltool/tree/main/mypy-stubs/rdflib > > Would you like me...

``` FAILED test/test_serializers/test_serializer.py::test_serialize_parse[nquads-TRIPLE-None-None] - Exception: NQuads serialization only makes sense for context-aware stores! FAILED test/test_serializers/test_serializer.py::test_serialize_parse[nquads-TRIPLE-None-utf-8] - Exception: NQuads serialization only makes sense for context-aware stores! FAILED test/test_serializers/test_serializer.py::test_serialize_parse[nquads-TRIPLE-PATH-None] - Exception: NQuads...

- Re-opening this as a PR was raised that fixes it: https://github.com/RDFLib/rdflib/pull/2047

I'm relabeling this as an enhancement. The output is now correct/valid turtle, the only issue is that RDFLib does not produce PNames but instead URIs when special characters are encountered....

To illustrate how it will be called: https://github.com/RDFLib/rdflib/blob/0856ac8842697fb00199d2beb9ae1ee5b9152c68/rdflib/graph.py#L1849-L1857 So the docstring is also incorrect: https://github.com/RDFLib/rdflib/blob/0856ac8842697fb00199d2beb9ae1ee5b9152c68/rdflib/plugins/stores/sparqlstore.py#L212-L218

I'm going to close this PR after 2022-08-22 as I don't think it is relevant anymore: - We are using xfails now, and any test that has xfail marker that...

> Can anyone explain what's going on? My best guess is a bug in RDFLib's SPARQL processing if it works on other processors. A PR that adds a minimal test...