Versions Compared

Key

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

The Accumulator Classes

Start    Previous    Next 

Special attention must be given to thefoaf:Person and the foaf:Organiztion classes. As time goes by and data sets are ingested into VIVO, instances of people and organizations will accumulate at a dramatic rate. We want there to be only one URI for an instance of a given person (or organization). This means that we will need to check for pre-existing people and organizations to ensure that we don’t accidently create duplicates as we construct the ingest RDF. To this end we will employ two XML files Per0.xml and Org0.xml that contain the currently known people and organizations in our VIVO instance. In practice these files are created by SPARQL queries (See Appendix E). For purposes of this example, we have prepared greatly reduced sample files. Figures 3 and 4 illustrate the entries in these files. For Per0.xml we include name parts, label, netid and a URI. A netid is a unique string assigned to each person at Cornell to serve as a public identifier. Any uniquely assigned string by another name could be used instead. For Org0.xml we include the name of the organization and the assigned URI.

...


Org0.xml Fragment - Figure 4

Start    Previous    Next