-
Notifications
You must be signed in to change notification settings - Fork 64
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
rdf2hdt issues #53
Comments
Side note: Serd replaced the default N-Triples parser; raptor might still be useful for XML (not for me though 😊). But if the internal N-Triples writer is good, raptor can go. |
The internal ntriples writer works fine for me so far. I'll use it a bit more, and if there are no problems I'll put in a PR to remove raptor |
Just to verify: you're talking about raptor still being useful as parser, but not as serializer right? I.e., if the internal ntriple serializer is sufficient, we're going to remove the raptor dep and only support ntriple as serialization output |
Indeed. However, we should double-check escaping and special characters (because this is where the built-in parser was horribly broken). |
I implemented a Serd serializer in #75 This should fix any escaping/etc issues that might be hanging around and also support abbreviated Turtle output with similar performance (Serd does this in constant space). I have no stance on dropping the internal NTriples serializer if you don't mind a mandatory dependency on Serd, though less code is always good. Dropping Raptor entirely would mean the loss of XML support, though, since Serd does not and will never support XML. |
I think Serd is the way forward. We should drop all Raptor support for everything besides XML, so we don't have to maintain two parsers for the same things. @drobilla Could you do an official release of Serd 0.27.1, which is needed to compile this? |
That'd be 0.28.0 (I do the even number stable release thing). Sure, I can do so shortly, but unfortunately just added new API for this once again so I need to go through some things before releasing and can't do it this instant. Both reading and writings in hdt-cpp works well now though without any hacks, so I think it's fine. I'll release this week some time. |
Perfect, then we can release a new hdt-cpp when 0.28.0 is available. |
There are a few issues with the
rdf2hdt
command:rdf2hdt file.hdt -
).The text was updated successfully, but these errors were encountered: