Skip to content

Instantly share code, notes, and snippets.

@ewg118
Last active December 15, 2015 20:45
Show Gist options
  • Save ewg118/bc974740285335b0e3a1 to your computer and use it in GitHub Desktop.
Save ewg118/bc974740285335b0e3a1 to your computer and use it in GitHub Desktop.
CollectiveAccess entity relationship mapping
Rule type ID Parent ID Element Source Options Notes
Mapping persname authority persname ca_entities.preferred_labels { "context" : "ca_entities","restrictToTypes" : [ "individual" ],"omitIfEmpty" : "ca_entities.preferred_labels" }
Mapping persname_role persname @xlink:role ca_entities.relationship_type_id { "context" : "ca_entities" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment