Updates query comments and URIs according to the new ones used by nanopubs.