Comments (3)
The problem seems to be that the SPARQL server in question is specifying an incorrect content type for the results returned. That is, it is returning RDF data in Turtle format but with a content type of "text/plain" (which indicates N-Triples) instead of the correct "text/turtle".
So, yes, it does indeed seem that we will need to add a way to manually specify the parser to be used for dealing with broken servers like this one.
Note, btw, that you can use either of the rdf-raptor or the rdf-n3 gems to parse Turtle data.
from sparql-client.
Thanks for confirming the broken server response. I've forked and pulled.
from sparql-client.
This has also been resolved.
from sparql-client.
Related Issues (20)
- Rails 7: uninitialized constant Sparql::Client HOT 1
- 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
- Different results between sparql-client and linkeddata gems HOT 5
- 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.