News for hackers. Stuff that matters.
Re:SPARQL Protocol for RDF by slaymaker1907 on Tuesday June 20, 2017 @09:13PM (#14599899)
You just keep thinking that until you see the god awful mess of REST apis that happens when you need to make an endpoint for every single slightly different query.
Re:SPARQL Protocol for RDF by linkmotif on Tuesday June 20, 2017 @09:21PM (#14599937)
Yeah REST... it's for the truly patient and perseverant. Not to mention the pedantic. "REST principles"—heh. Also: JSON :(.

Thank God GraphQL is changing this paradigm and has useable and even powerful clients already. Only bad thing about GraphQL is that it targets JSON but at least it's typed and schematic.

But I guess we all benefited from REST, in the sense that it killed the whole 900-page XML book scene which was maybe the worst thing ever.

Re:SPARQL Protocol for RDF by rspeer on Tuesday June 20, 2017 @10:25PM (#14600217)
Yeah, that's kind of how APIs have to work. It turns out it's not feasible or desirable to just let arbitrary people make arbitrary queries. SPARQL doesn't make it any more feasible, it just ignores feasibility.
Re:SPARQL Protocol for RDF by Vinnl on Wednesday June 21, 2017 @03:00AM (#14601486)
> It turns out it's not feasible or desirable to just let arbitrary people make arbitrary queries.

GraphQL/Relay and Falcor are trying to make it feasible. And I think it's definitely desirable from a consumer point of view, at least.

Re:SPARQL Protocol for RDF by xg15 on Wednesday June 21, 2017 @03:47AM (#14601737)
> It turns out it's not feasible or desirable to just let arbitrary people make arbitrary queries.

It turns out where and why exactly?

Re:SPARQL Protocol for RDF by rspeer on Wednesday June 21, 2017 @04:01AM (#14601810)
Denial of service.
Re:SPARQL Protocol for RDF by derefr on Wednesday June 21, 2017 @09:18PM (#14609426)
You can just 408-response queries after they execute for a given number of CPU cycles. And then rate-limit per-account using evercookies + browser fingerprinting + IP hashing. You can often disallow anonymous queries altogether, while you're at it; if your data is valuable, people are usually willing to register at least a pseudonymous account to get at it.