Rewrote the SemanticURIs script.