
Rdf::queryx::lazy is a fairly trivial subclass of rdf::query that auto-defines many prefixes for you, so you can be lazy. it should have most of the common ones in there.
oh yeah, and if you want, you can pass a key 'lazy' in the rdf::query %options hash with additional prefix mappings.