Coder Social home page Coder Social logo

rdf2hdt issues about hdt-cpp HOT 10 CLOSED

rdfhdt avatar rdfhdt commented on May 16, 2024
rdf2hdt issues

from hdt-cpp.

Comments (10)

drobilla avatar drobilla commented on May 16, 2024 2

http://drobilla.net/2017/07/21/serd-0-28-0.html

from hdt-cpp.

RubenVerborgh avatar RubenVerborgh commented on May 16, 2024

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.

from hdt-cpp.

LaurensRietveld avatar LaurensRietveld commented on May 16, 2024

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

from hdt-cpp.

LaurensRietveld avatar LaurensRietveld commented on May 16, 2024

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

from hdt-cpp.

RubenVerborgh avatar RubenVerborgh commented on May 16, 2024

Indeed. However, we should double-check escaping and special characters (because this is where the built-in parser was horribly broken).

from hdt-cpp.

drobilla avatar drobilla commented on May 16, 2024

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.

from hdt-cpp.

RubenVerborgh avatar RubenVerborgh commented on May 16, 2024

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?

from hdt-cpp.

RubenVerborgh avatar RubenVerborgh commented on May 16, 2024

Ported this issue to #76 and #77.

from hdt-cpp.

drobilla avatar drobilla commented on May 16, 2024

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.

from hdt-cpp.

RubenVerborgh avatar RubenVerborgh commented on May 16, 2024

Perfect, then we can release a new hdt-cpp when 0.28.0 is available.

from hdt-cpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.