Fix ontology URIs and fix URIs in SQL DB