virtuoso transitive query (1st stab)
transaction commit for every new message. WARNING: it invalidates objects. To be considered.
pep8 cleanup