[00:00:41] [mattermost] TIL there’s a revdel channel (listed among others at https://www.wikidata.org/wiki/Wikidata:IRC) [00:04:36] Yeah no worries, I found it. [15:45:18] I'm looking at writing a client library for common lisp to access wikidata. I've googled around a bit, but I don't see documentation on interfacing with the sparql endpoint. [15:45:26] does it exist? [15:54:36] While I can't answer your question, that's pretty awesome. [16:08:11] Fade: there’s not that much to the interface… you GET https://query.wikidata.org/sparql?query=SELECT...&format=json, basically [16:08:32] or a few other formats, and if you don’t specify a format in the parameters then the Accept header is respected [16:08:44] if the query is overly long you can also use POST instead of GET [16:09:20] there’s some more documentation at https://github.com/blazegraph/database/wiki/REST_API but not all of it applies to WDQS (e.g. there’s no public INSERT/DELETE/etc.) [16:10:21] (oh, and always include a User-Agent header or your request will get blocked somewhere in the traffic layer. see https://meta.wikimedia.org/wiki/User-Agent_policy) [16:23:56] cool. thanks! [16:27:44] the query service UI can also show code examples for how to use the query service from several languages [16:27:56] once you publish your library, maybe we can add a Common Lisp example for it 8) [16:35:14] that would be excellent. [16:35:38] I already have a sparql generator from the ecosystem, which seems fairly complete, so perhaps I won't be tilting at windmills. :)