And quickly followed up by an only slightly less stupid library. Here's one for working with geohashes. Stardog already has awesome support for geo indexes but I put this together for use in either importing data that has geo hashes and converting to something that Stardog can index or exporting data for use with an external program that works with geohashes.
https://github.com/semantalytics-stardog/kibbles-geo-geohash/releases