{"id":56,"date":"2005-04-20T06:48:38","date_gmt":"2005-04-20T11:48:38","guid":{"rendered":"http:\/\/crschmidt.net\/blog\/?p=56"},"modified":"2005-04-20T06:48:38","modified_gmt":"2005-04-20T11:48:38","slug":"new-sparql-draft","status":"publish","type":"post","link":"https:\/\/crschmidt.net\/blog\/archives\/56\/new-sparql-draft\/","title":{"rendered":"New SPARQL Draft"},"content":{"rendered":"<p>A new version of the <a href=\"http:\/\/www.w3.org\/TR\/2005\/WD-rdf-sparql-query-20050419\/\">SPARQL Working Draft<\/a> released today. Congratulations to the specification editors, Eric and Andy.<\/p>\n<p>Major change in syntax from the previous version: Rather than using the tuple type query syntax (?a ?b ?c) (?a ?d ?e), the query format has changed to be more turtle-like: (?a ?b ?c; ?d ?e .) This is nice, because it lets you merge data entry and data query: I can add a turtle statement &lt;#crschmidt> a foaf:Person; foaf:nick &#8220;crschmidt&#8221;. and then query for all other people like that: (?p a foaf:Person; foaf:nick ?n.).<\/p>\n<p>Another thing that was mentioned to me the other day is that the new query format doesn&#8217;t allow the optional commas between variables you select. So, SELECT ?p, ?n will now be SELECT ?p ?n. Not a big deal, but something that&#8217;ll bite me in the butt quite a bit as I get used to the switch.<\/p>\n<p>I currently track Redland\/Rasqal releases for querying, so I&#8217;m going to be following along with dajobe as he works to get his Rasqal engine to switch to the new format. I know he&#8217;s already working on it, and I&#8217;m looking forward to being able to show off the new syntax in some of the tools I use, from the <a href=\"http:\/\/crschmidt.net\/julie\/sparql\">sparql interface to julie<\/a> to the IRC version of the bot. I may even try my hand at one of the later tarballs and see how little C I actually know, and try and figure out if I can help in any way.<\/p>\n<p>All in all, a major new release, so if you&#8217;re using SPARQL, pay attention!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A new version of the SPARQL Working Draft released today. Congratulations to the specification editors, Eric and Andy. Major change in syntax from the previous version: Rather than using the tuple type query syntax (?a ?b ?c) (?a ?d ?e), the query format has changed to be more turtle-like: (?a ?b ?c; ?d ?e .) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,2],"tags":[],"class_list":["post-56","post","type-post","status-publish","format-standard","hentry","category-rdfcat","category-semantic-web"],"_links":{"self":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/56","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=56"}],"version-history":[{"count":0,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/56\/revisions"}],"wp:attachment":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/media?parent=56"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/categories?post=56"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/tags?post=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}