Add some more unit tests and fix a bug in RDF export. Refs #20428.
Fix CSV import for related elements with base URIs starting differently than http. Add more unit tests. Refs #20428.