Integration from 2 databases using Archipelago

Home  |  Traduction française

This sample show how data from 2 online databases can be integrated into a single meta model.

Scenario 1 : build the meta-model from the available data

This scenario is about the automatic building of a meta-model from the structure of data found in available databases.

  1. Define the UUDF schema for each database
    1. base 1 :
      <schema>
        <class name="Sighting">
           <field name="year"/>
             <webpage url="http://rr0.org/{fieldValue}.html"/>
           </field>
           <field name="month">
             <in-field name="year" >
             </in-field>
           </field>
        </class>
        <sighting>
      </schema>
  2. Define the UUDF mapping from each database to the meta-model

Scenario 2 : map to a predefined meta model

This "meet-in-the-middle" scenario illustrates the case where a meta model has been pre-defined by the user. This is likely to be the most common case, as it is not practicable to maintain processes on a continously-varying meta-model. Hence, even if such a use case could have started as a "bottom-up" case, it will more likely evolve in the present meet-in-the-middle case, where we have to map to static models.

  1. Define the UUDF schema for the meta model
  2. Define the UUDF schema for each database
  3. Define the UUDF mapping from each database to the meta-model
Home  |  Traduction française