{"id":57,"date":"2005-04-21T14:50:13","date_gmt":"2005-04-21T19:50:13","guid":{"rendered":"http:\/\/crschmidt.net\/blog\/?p=57"},"modified":"2005-04-21T14:50:13","modified_gmt":"2005-04-21T19:50:13","slug":"rdf-query","status":"publish","type":"post","link":"https:\/\/crschmidt.net\/blog\/archives\/57\/rdf-query\/","title":{"rendered":"RDF Query"},"content":{"rendered":"<p>Apparently the anxious type, <a href=\"http:\/\/kasei.us\">Greg Williams<\/a> has thrown together an <a href=\"http:\/\/kasei.us\/archives\/2005\/04\/21\/rdf_query\">RDF Query implementation in Perl<\/a>, with support for the new SPARQL draft as of yesterday. <\/p>\n<p>The library also offers ORDER BY support, something that I&#8217;m sure Greg is happy to have for his MT-Redland. Ordering things by date for me is something that I&#8217;ve sidestepped, but I&#8217;m not looking forward to when I actually have to deal with it.<\/p>\n<p>The code uses <a href=\"http:\/\/search.cpan.org\/dist\/Parse-RecDescent\/\">Parse::RecDescent<\/a> to generate a query based only on the SPARQL grammar. Greg mentions that it is slow: most of the time is actually in generating the Query from the Grammar.<\/p>\n<p>If only I was still a Perl hacker&#8230; sadly, I&#8217;m not, so I suppose I&#8217;ll just have to start working on my C in order to help get Redland working with the new draft. (Dave estimates that it will take him about <a href=\"http:\/\/www.ilrt.bris.ac.uk\/discovery\/chatlogs\/swig\/2005-04-21.html#T15-18-14\">1.5 months to catch up to the most recent WD of SPARQL<\/a>.) I&#8217;d really love to just be able to use the tools I&#8217;ve already written in Python, rather than switching to Perl, or even another backend than Redland. It has worked so well for me so far.<\/p>\n<p>Still, this is the first SPARQL implementation using the new Draft that I&#8217;m aware of, even if it is mostly just a hack job, so I think that it&#8217;s pretty cool, and my props are out to Greg for his work on it!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apparently the anxious type, Greg Williams has thrown together an RDF Query implementation in Perl, with support for the new SPARQL draft as of yesterday. The library also offers ORDER BY support, something that I&#8217;m sure Greg is happy to have for his MT-Redland. Ordering things by date for me is something that I&#8217;ve sidestepped, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,8,29],"tags":[],"class_list":["post-57","post","type-post","status-publish","format-standard","hentry","category-perl","category-rdfcat","category-sparql"],"_links":{"self":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/57","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=57"}],"version-history":[{"count":0,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"wp:attachment":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}