advanced mappings
TRANSCRIPT
ADVANCED MAPPINGS
Nikolaos Simou
Mappings2
Mapping
Xpath
Constant
Concatenate
Value
Functional
Conditional
Structural
Thesaurus
Mappings – Xpath mapping3
Xpath mapping is performed simply by dragging the xpath from the input tree and dropping it to the desired element of the mapping area.
Mappings – Enumerated Mapping
4
Double click on an element that takes values from an enumerated list.
Mappings – Constant Mapping
5
By double clicking on the unmapped area you can type a constant value that will be applied to all items.
Mappings – Concatenate mapping6
By clicking on the icon you can perform a concatenate mapping i.e. to combine more than one mappings for producing a new mapping.
Mappings – Functional Mappings
7
By clicking on the button you can perform a functional mapping i.e. to modify the value of an input xpath by applying a string manipulation function to it.
Functional Mappings8
Substring – You set the start and the end index. Substring after – You set the substring of the
original string after which the value is taken. Substring before – You set the substring of the
original string before which the value is taken. Substring between – You set the substrings of the
original string after and before which the value is taken.
Split – You set the delimiter for tokenization and the start index of the original string.
Tokenize content and generate an element per content – You set the delimiter for tokenization.
Mappings – Functional Mappings
9
Mappings – Conditional Mapping
10
Allows users to set conditions on their mappings If the value of xpath tns:Description contains
“southwest” then the value of the xpath tns:Description will be mapped to the xpath edm:ProvidedCHO/dc:description of the target schema.
Mappings – Value Mappings11
Allows users to map specific values of their input metadata to specific values that they set.
Structural mapping12
Reflects a complex type of the input metadata to a complex type of the target schema
tns:Actor
tns:ActorName
Bookmark: Subject Actor
edm:Agent
skos:prefLabel
Structural
Mapping
Structural on any element13
Reflects a complex type of the input metadata to an element of the target schema
Thesaurus mapping14
Bookmarks have been created for the elements that are controlled by vocabularies.
Thesaurus mapping15
Double click on an element that is controlled by a thesaurus.
Thesaurus mapping16
The terminology browser pane appears.
Thesaurus mapping17
Navigate through it By searching for a
terme.g. Jazz
By using the hierarchy for more specific
terms (narrower) for less specific
terms (broader) Select the term you
like by clicking on it
Thesaurus mapping18
Instead of applying a value to your whole dataset you can align your in-house terms to vocabulary terms. First map the xpath that holds your in
house terms to an element that is controlled by a vocabulary.
Thesaurus mapping19
After that, click on the value mapping icon (=) Select a term from your
metadatae.g. Louis Armstrong
Select a term from the vocabulary
e.g. Jazz Click on the add button
to align them
Contact20
Nikolaos Simou
National Technical University of Athens
Email: [email protected] LinkedIn:
http://www.linkedin.com/pub/nikolaos-simou/68/31a/9aa