RDF regex modifications