Refactor to use blocks and return Enumerators rather than depend on arrays.
Perform queries against queryable, rather than executing query against queryable. This allows implemenetations of queryable to implement part of the SPARQL stack using optimized repository-specific logic.