caching sort of works (db errors after ~3000 tripples)