Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

 

Excerpt

Depending on how your data came in and how you generated triples for it the last step before importing the information into VIVO is to give your data proper URIs via the ChangeNamespace tool. Prior to this step, URIs may be placeholders provided by the XSLT translation (typically using aspects of the raw data that are expected to be unique, such as an ISBN number) or blank nodes from a SPARQL Construct.  If you've generated unique URI's for all of your data using a piece of unique information then you can skip this step. After this step all data has a proper VIVO URI and is ready for import into VIVO.

ChangeNamespace takes a model and changes all elements within one namespace to another namespace.

...

This class is used, within the example scripts, to change the namespace of the unmatched elements to the vivo's namespace. This is accomplished by making the initial namespace one which is harvest specific, then as the match Match renames the nodes it will be simultaneously changing their namespace. Once the matching is done, the change in namespace is applied to each of the existing Harvest specific namespaces. This is the process by which new resources are moved into the model and thus if no Condensing of the data is preformed it can cause duplication of resources.

...