News for hackers. Stuff that matters.
Re:SPARQL Protocol for RDF by dragonwriter on Wednesday June 21, 2017 @01:09AM (#14600815)
> It wraps your database in a worse database with a worse query language.

SPARQL doesn't necessarily wrap a database with a different underlying query language. And it's a much better query language than SQL for RDF data.

> It makes simple queries into kilobyte-long GET query strings

Don't do that. I mean, seriously, the protocol supports queries with GET, but it also supports t o different mechanisms for querying over POST.

> that get morasses of XML-namespace nonsense as a response

SPARQL does not mandate XML responses (for graph responses, it doesn't specify a non-XML serialization, but still on requires RDF/XML or a semantically equivalent structure. For other responses, there are defined JASON, XML, and CSV/TSV formats.

> While the W3C was screwing around with SPARQL, everyone else came up with JSON-based REST APIs.

SPARQL's defined API is more REST than most of those.

> They work well.

Not for the purpose SPARQL is aimed at, which is—admittedly—not a particularly common use case, and certainly not what your typical web service needs.

There are no comments on this comment yet.