Git Product home page Git Product logo

Comments (5)

gkellogg avatar gkellogg commented on July 17, 2024

The difference you're seeing is that when you include "linkeddata", it causes the result to be read by the Turtle reader instead of the N-Triples reader. It looks like the N-Triples reader is not handling the embedded double-quote correctly. There are tests, but it looks like they hide this problem and will need to be improved.

In the mean time, please continue to use the Turtle reader, either with the "linkeddata" gem, or by requiring "rdf/turtle".

from sparql-client.

gkellogg avatar gkellogg commented on July 17, 2024

Closing, as bug is in RDF.rb: ruby-rdf/rdf#340.

from sparql-client.

workergnome avatar workergnome commented on July 17, 2024

Thanks, @gkellogg, as always!

from sparql-client.

gkellogg avatar gkellogg commented on July 17, 2024

@workergnome It ends up that the problem was because UTF-8 data was sent with an ASCII encoding, and the code which attempts to correct this should not have been unending the string first, but simply forcing the encoding. I'm releasing RDF.rb 2.2.1 with the fix.

from sparql-client.

workergnome avatar workergnome commented on July 17, 2024

Thanks, and I'll let the people responsible for sending the data know, too.

from sparql-client.

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.