{"id":50,"date":"2005-04-06T12:20:51","date_gmt":"2005-04-06T17:20:51","guid":{"rendered":"http:\/\/crschmidt.net\/blog\/?p=50"},"modified":"2005-04-06T12:20:51","modified_gmt":"2005-04-06T17:20:51","slug":"todo-lists","status":"publish","type":"post","link":"https:\/\/crschmidt.net\/blog\/archives\/50\/todo-lists\/","title":{"rendered":"todo lists"},"content":{"rendered":"<p>So, a while ago, I was bored and wanted to add something to my todo list. So I created a URI for a todo namespace, and used it a couple times via the ^addturtle function built into the julie IRC bot.<\/p>\n<p>As usual with my todo methods, I totally forgot about it. Recently, I brought julie into a new IRC channel (#svg) and she met raxor, who immediately started going through her commandlist:<\/p>\n<p>13:15:07 < julie>  Current commands: allRelated, olb, like-pubs, maintainer, webpage, drankbeerwith, like-same-music-as, alldayevents, depiction, based_near, icbm, keywords, country-population, kissed, todo, authorlinks, like-musicalwork, like-books, title, rsslinktitles, country-background, languages, nick, neighborhoods, commentContains, pub-address, schemaweb, desc, homepage, workplace, available, country-lowestPoint, knows, quote, school, sha, ljinterests, xfn_met, members, country-highestPoint, rangeOf, term, made, name, places, agentknows, dob, like-musicians, domainOf, modified, picOfA, newdepiction, rsstitles, weblog, contact, javaPlatform, biodob, mbox, dranklagerwith, namefromany, rsslinks.<\/p>\n<p>Wondering what todo was, he tried it, and got a todo item I had added long ago. I replied, &#8220;Oops. Never did that.&#8221; and went to work on investigating how I could make the todo feature more useful.<\/p>\n<p>In the process, I added a command to julie to add a todo item given a string:<\/p>\n<p>^todoItem document built ins<\/p>\n<p>Will add for me a todo item of the following turtle:<br \/>\n[a todo:Item; todo:owner [a foaf:Person; foaf:nick &#8220;crschmidt&#8221;]; dc:date &#8220;currenttime&#8221;; todo:text &#8220;text given&#8221;].<\/p>\n<p>It will then query the model for all existing todo items for me, and return that.<\/p>\n<p>Of course, this has problems: one of them being I have no way to mark a todo item as &#8220;done&#8221; once it is, and other similar things, so I will have to work a bit more on the interface to the todo list, but it&#8217;s interesting, and I thought maybe other people might want to know about it.<\/p>\n<p>I do need to start documenting the built ins like this: listeningTo is another example. They don&#8217;t have a ^commandinfo result, so I&#8217;ll have to improve julie&#8217;s built in help. <\/p>\n<p>julie may also see some codepiction\/path searching in the near future: <a href=\"http:\/\/kasei.us\/\">Greg Williams<\/a> (aka kasei) gave me some Perl code that he uses to find shortest paths in a Redland store, so I&#8217;ll hopefully be able to use that and build it into julie. Also need to get code back into subversion: I screwed up my working directory so that it&#8217;s not managed in subversion, so I haven&#8217;t checked in in weeks. (This was the same problem I had last time, when someone sent me a complete refactoring of julie &#8211; only he had done it against SVN, which wasn&#8217;t up to date.)<\/p>\n<p>This isn&#8217;t as polished as my usual posts: I think sometimes I overthink what I&#8217;m writing a bit, so you may see a bit more &#8220;Hey, this is my cool semantic web trick of the day&#8221; posts in the future.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, a while ago, I was bored and wanted to add something to my todo list. So I created a URI for a todo namespace, and used it a couple times via the ^addturtle function built into the julie IRC bot. As usual with my todo methods, I totally forgot about it. Recently, I brought [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,8,2],"tags":[],"class_list":["post-50","post","type-post","status-publish","format-standard","hentry","category-julie","category-rdfcat","category-semantic-web"],"_links":{"self":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/50","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=50"}],"version-history":[{"count":0,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/50\/revisions"}],"wp:attachment":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}