make a transaction for each ontology upload

this may workaround a bug where HTTPRepository does not make
transactions and could (based on past experience) not return all data
for the current transaction when needed