Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent behavior between Path.n3() and util.from_n3() #2241

Open
kouralex opened this issue Mar 2, 2023 · 1 comment
Open

Inconsistent behavior between Path.n3() and util.from_n3() #2241

kouralex opened this issue Mar 2, 2023 · 1 comment
Labels
core Relates to core functionality of RDFLib, i.e. `rdflib.{graph,store,term}` enhancement New feature or request

Comments

@kouralex
Copy link

kouralex commented Mar 2, 2023

Whilst #553 introduced .n3() for Path objects, it missed its counterpart implementation in util.from_n3(). As a result, there is no way to round-trip.

@aucampia aucampia added enhancement New feature or request core Relates to core functionality of RDFLib, i.e. `rdflib.{graph,store,term}` labels Mar 19, 2023
@aucampia
Copy link
Member

aucampia commented Mar 19, 2023

While this may be quite useful, it may be hard to implement correctly. I would be happy to consider some pull requests, but we don't want to implement parsing / serializing differently in different places, so it may be best to start with some discussion before pull requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Relates to core functionality of RDFLib, i.e. `rdflib.{graph,store,term}` enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants