Schema Mapping

Any Object Type or Classification in the Data Model can be mapped to external schemas and be offered as output through the API. For example, it is possible to map a Data Model towards a more semantic and conceptual schema like CIDOC CRM, or simply apply metadata vocabularies like Dublin Core.

Example: Mixing Schemas    

Group multiple elements by applying the same property to the name and vary in their class by supplying a specific type. See the following example for 'crm:P131_is_identified_by':

This schema is illustrative and demonstrates some of the possibilities.

---
context:
  crm: http://www.cidoc-crm.org/cidoc-crm/
  foaf: http://xmlns.com/foaf/0.1/
schema:
  type:
    name: crm:E21_Person
  object_descriptions:
    '10':
      object_description_name:
        property: crm:P131_is_identified_by
        type: crm:E82_Actor_Appellation
    '61643':
      object_description_name:
        property: crm:P131_is_identified_by
        type: crm:E42_Identifier
    '30':
      object_description_name:
        property: crm:P3_has_note
        type: crm:E13_Attribute_Assignment
    '48864':
      object_description_name: foaf:knows
  object_sub_details:
    '5':
      object_sub_details:
        object_sub_details_name:
          property: crm:P98i_was_born
          type: crm:E67_Birth
        object_sub_details_date_start: crm:E52_Time-Span
        object_sub_details_date_end: crm:E52_Time-Span
        object_sub_details_date_chronology: crm:E52_Time-Span
        object_sub_details_location_reference: crm:E53_Place
        object_sub_details_location_geometry: crm:E94_Space_Primitive
    '8167':
      object_sub_details:
        object_sub_details_name:
          property: crm:P141_assigned
          type: crm:E13_Attribute_Assignment
        object_sub_details_location_reference: crm:E53_Place
      object_sub_descriptions:
        '6197':
          object_sub_description_name:
            property: crm:P14_carried_out_by