advanced mappings

20
ADVANCED MAPPINGS Nikolaos Simou

Upload: europeanasounds

Post on 13-Aug-2015

53 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Advanced mappings

ADVANCED MAPPINGS

Nikolaos Simou

Page 2: Advanced mappings

Mappings2

Mapping

Xpath

Constant

Concatenate

Value

Functional

Conditional

Structural

Thesaurus

Page 3: Advanced mappings

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.

Page 4: Advanced mappings

Mappings – Enumerated Mapping

4

Double click on an element that takes values from an enumerated list.

Page 5: Advanced mappings

Mappings – Constant Mapping

5

By double clicking on the unmapped area you can type a constant value that will be applied to all items.

Page 6: Advanced mappings

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.

Page 7: Advanced mappings

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.

Page 8: Advanced mappings

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.

Nikolaos Simou
There are more funtions
Page 9: Advanced mappings

Mappings – Functional Mappings

9

Page 10: Advanced mappings

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.

Page 11: Advanced mappings

Mappings – Value Mappings11

Allows users to map specific values of their input metadata to specific values that they set.

Page 12: Advanced mappings

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

Page 13: Advanced mappings

Structural on any element13

Reflects a complex type of the input metadata to an element of the target schema

Page 14: Advanced mappings

Thesaurus mapping14

Bookmarks have been created for the elements that are controlled by vocabularies.

Page 15: Advanced mappings

Thesaurus mapping15

Double click on an element that is controlled by a thesaurus.

Page 16: Advanced mappings

Thesaurus mapping16

The terminology browser pane appears.

Page 17: Advanced mappings

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

Page 18: Advanced mappings

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.

Page 19: Advanced mappings

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

Page 20: Advanced mappings

Contact20

Nikolaos Simou

National Technical University of Athens

Email: [email protected] LinkedIn:

http://www.linkedin.com/pub/nikolaos-simou/68/31a/9aa