-
Notifications
You must be signed in to change notification settings - Fork 10
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
Generalized RDF-star #112
Generalized RDF-star #112
Conversation
This makes it impossible to convert GeneralizedTerms to strict terms; however, this is actually not required for normal use. The only use was in testsuite, so instead I provided a conversion to OwnedQuad, OwnedTerm, etc.
* add precision to N-Triples and N-Quads parser documentation. The previous message was not totally accurate about allocations during parsing. * replace RDF* with RDF-star * add RDF-star in some places it was missing * replace "nested triple" and "embedded triple" with "quoted triple" also removed a few warnings (unused imports, unused names)
The generalized triple allocator enables generalized RDF-star. The generalized n-quads parser demonstrates that. TODO: use the generalized triple allocator in GTrig
I forgot to mention a few other changes:
Finally, I ran |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me! Thank you!
I found a few typos (not very important...)
About the CI failure, I have opened a bug in the Clippy repo about it: rust-lang/rust-clippy#10021
9ec634a
to
2e61177
Compare
@Tpt thanks for these comments. I addressed them all (except for replacing |
This PR mostly extends the generalized parsers to support RDF-star.
In the process, I also updated the documentation, and some internal method, of the other parsers, to align with the latest terminology of RDF-star ("RDF-star" instead of "RDF*", "quoted triples" instead of "embedded triples").