Logging the insert query with the triples that are inserted in the triple store.