{"id":25,"date":"2005-02-02T23:56:42","date_gmt":"2005-02-03T04:56:42","guid":{"rendered":"http:\/\/crschmidt.net\/blog\/?p=25"},"modified":"2005-02-02T23:56:42","modified_gmt":"2005-02-03T04:56:42","slug":"redlandbot-bugfix","status":"publish","type":"post","link":"https:\/\/crschmidt.net\/blog\/archives\/25\/redlandbot-bugfix\/","title":{"rendered":"redlandbot bugfix"},"content":{"rendered":"<p>My pet Python project is <a href=\"\/redlandbot\/\">redlandbot<\/a>, the most popular manifestation of which is <a href=\"\/julie\/\">julie<\/a>, an irc bot. Basically, the service allows for adding data from a URL to the local model, and then running RDQL queries against that model. As the name implies, it&#8217;s built as a layer on top of Redland, using the Python language bindings.<\/p>\n<p>One of the biggest complaints about using julie, or at least, one of my biggest complaints, is that it requires namespaces to be used explicitly in some cases. Or should I say, that *was* was one of my biggest complaints: I just fixed it.<\/p>\n<p>From now on, julie will automatically add namespaces to a query. It checks if there already are any (by looking for &#8221; using <\"), then adds the rest of the predefined namespaces, trying to match syntax. There may be some commands which break because of multiple spaces between \"using\" and \"<\". If there are any, feel free to fix them by simply pulling the namespaces out of the command: they will be added automatically.\n\nThis allows for more complex queries with less work, which is always a good thing. Any bugs can be reported to me. \n\nThis has been on my wish\/todo list for way too long, and it's good to have done. I should really work on fleshing out julie\/redlandbot as a web service a bit more, I think. It'd be nice to be able to just set up the service on a webpage, and use the ircbot as a very high level transport between IRC and the web interface: this would allow me to move the bot around a bit more, without needing to install Redland to use it (occasionally a bit of a pain, due to dependancies, mostly because I suck at resolving them without root).\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My pet Python project is redlandbot, the most popular manifestation of which is julie, an irc bot. Basically, the service allows for adding data from a URL to the local model, and then running RDQL queries against that model. As the name implies, it&#8217;s built as a layer on top of Redland, using the Python [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-25","post","type-post","status-publish","format-standard","hentry","category-semantic-web"],"_links":{"self":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/25","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/comments?post=25"}],"version-history":[{"count":0,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/25\/revisions"}],"wp:attachment":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/media?parent=25"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/categories?post=25"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/tags?post=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}