Skip to main content

Table 6 An example of MarkLogic (XML document model) schema mapping

From: A universal approach for multi-model schema inference

Construct

Name

Unique

Share

Id

Types

Models

Children

regexp

Refs.

Root

Name

U

(1,1)

F

Array/ Map/ Array+ Map

XML

{...}

Automaton

\(\epsilon\)

@attribute

@name

T/F/U

(1,1)

T/F/U

\(\epsilon\)/Simple

XML

\(\epsilon\)

\(\epsilon\)

\(\epsilon\)/\(\kappa .p\)

Element (simple w/o atts)

Name

T/F/U

(1,0/1)

F

Simple

XML

\(\epsilon\)

\(\epsilon\)

\(\epsilon\)

Element (simple + atts)

Name

T/F/U

(1,0/1)

F

Array+ Map

XML

{...}

(__TEXT__?)

\(\epsilon\)

Element (array w/o atts)

Name

T/F/U

(1,0/1)

F

Array

XML

{...}

automaton

\(\epsilon\)

Element (array + atts)

Name

T/F/U

(1,0/1)

F

Array+ Map

XML

{...}

automaton

\(\epsilon\)

TEXT_NODE

__TEXT__

T/F/U

(1,0/1)

F

\(\epsilon\)/Simple

XML

\(\epsilon\)

\(\epsilon\)

\(\epsilon\)

Identifier (simple)

Name

T

(1,1)

T

Simple

XML

\(\epsilon\)

\(\epsilon\)

\(\epsilon\)

Reference

Name

T/F/U

(0/1,1)

T/F/U

Simple

XML

\(\epsilon\)

\(\epsilon\)

\(\kappa .p\)