Comments (5)
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.
Closing, as bug is in RDF.rb: ruby-rdf/rdf#340.
from sparql-client.
Thanks, @gkellogg, as always!
from sparql-client.
@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.
Thanks, and I'll let the people responsible for sending the data know, too.
from sparql-client.
Related Issues (20)
- utf-8 characters raise errors in URI/common HOT 3
- Authorization fails - verbose option? HOT 1
- Update Repository to use SPARQL
- Blank Nodes in Graph Patterns HOT 7
- SPARQL Query => SPARQL::Client::Query API Interface HOT 5
- DSL support for `MINUS` HOT 2
- wrong parameter in HTTP headers? HOT 1
- Update requests parse the result for no purpose HOT 3
- Semantic Versioning & Import Fixes to Previous Versions HOT 5
- FILTER inside OPTIONAL Clause HOT 2
- EOF Error leading to segmentation fault for heavy construct queries. HOT 3
- UTF-8 characters raise an error on sparql insert HOT 7
- Unclosed connections with SPARQL::CLIENT HOT 10
- Infinite redirect error for unesco vocabulary sparql endpoint HOT 1
- malformed prefix example in docs HOT 6
- If you are using Wikidata, it requires User-Agent HOT 1
- SPARQL::Client::Query#values raises NameError
- Ruby warning in query_without_retry method HOT 4
- Feature request: support for SERVICE HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sparql-client.