Deprecated: Assigning the return value of new by reference is deprecated in /var/san/www/prod/html/blogs/darcusb/wp-settings.php on line 512 Deprecated: Assigning the return value of new by reference is deprecated in /var/san/www/prod/html/blogs/darcusb/wp-settings.php on line 527 Deprecated: Assigning the return value of new by reference is deprecated in /var/san/www/prod/html/blogs/darcusb/wp-settings.php on line 534 Deprecated: Assigning the return value of new by reference is deprecated in /var/san/www/prod/html/blogs/darcusb/wp-settings.php on line 570 Deprecated: Assigning the return value of new by reference is deprecated in /var/san/www/prod/html/blogs/darcusb/wp-includes/cache.php on line 103 Deprecated: Assigning the return value of new by reference is deprecated in /var/san/www/prod/html/blogs/darcusb/wp-includes/query.php on line 61 Deprecated: Assigning the return value of new by reference is deprecated in /var/san/www/prod/html/blogs/darcusb/wp-includes/theme.php on line 1109 darcusblog » 2008 » July - geek tools and the scholar

Archive for July, 2008

lcsh.info and sparql

Posted in Technology on July 13th, 2008 by darcusb – Comments Off

Ed recently added a SPARQL endpoint for his lcsh.info site. A simple example query to return the concept URI and label for all labels that match a particular regular expression (in this case, those that start with “public”):

SELECT ?concept ?label WHERE {
  ?concept http://www.w3.org/2004/02/skos/core#prefLabel ?label 
  FILTER regex(?label, "^public", "i") 
}
LIMIT 10

I’m integrating some of these concepts into my own RDF and (forthcoming) personal site.

citeproc-rb gem, citeproc-hs

Posted in Technology on July 4th, 2008 by darcusb – Comments Off

Liam Magee’s been busy trying to finish the Ruby port of citeproc that I started way back. Along that path, a first milestone:

> sudo gem install citeproc-rb
Password:
Updating metadata for 97 gems from http://gems.rubyforge.org/
.................................................................................................
complete
Successfully installed citeproc-rb-0.0.1
1 gem installed
Installing ri documentation for citeproc-rb-0.0.1...
Installing RDoc documentation for citeproc-rb-0.0.1...

While Liam describes it as at best an early alpha release, this is still an accomplishment worth noting.

In related news, Andrea Rossato has been working on a haskell version, which he plans to integrate into pandoc.

With these two, plus two other in-progress ports—Johan Kool’s python, and Ron Jerome’s PHP—things should be getting interesting. And if these implementations happened to also support RDFa and bibo output, this could enable quite nice round-tripping of citation data.