32
Carlo Combi, Sara Migliorini, Barbara Oliboni, and Alberto Belussi
Translation of a Complex Node with an Atomic Property
Let us suppose we have a (geographical) complex node c i , with name name c i and
VT [t
1 , t
2 ) ∪ · · · ∪ [t
i , t
i+1 ). c i has an atomic node a i , with name name a i and value
value a i that describes a property of c i . The edge between c i and a i has label
HasProperty, [t 1 , t 2 ) ∪ · · · ∪ [t n , t n+1 ).
The translation of c i is shown in Fig. 2.7; in particular the edge between the
complex node and its atomic node is translated by nesting the element representing
the atomic node within the element representing the complex node.
Translation of a Complex Node with a Stream Node
Let us suppose we have a complex node c i , with name name c i and VT [t
1 , t
2 ) ∪ · · · ∪
[t
i , t
i+1 ). c i has a stream node a i , with name name a i and value value a i . The edge
between c i and a i has label
HasMMProperty, [t 1 , t 2 ) ∪ · · · ∪ [t n , t n+1 ), [Int start, Int end].
The translation of c i is shown in Fig. 2.8. Note that the edge between the complex
node and its stream node is not translated into an XML element, adopting the same
nesting strategy as the previous case.
(a)
(b)
t1'
t2'
.........
tj'
tj+1'
value_ai
t1
t2
.........
tn
tn+1
[t1', t2') U ... U [tj', tj+1')>
name_ai
[t1,t2) U ... U [tn, tn+1)>
value_ai
Fig. 2.7. (a) A complex node and its atomic property; (b) their translation into XML
Carlo Combi, Sara Migliorini, Barbara Oliboni, and Alberto Belussi
Translation of a Complex Node with an Atomic Property
Let us suppose we have a (geographical) complex node c i , with name name c i and
VT [t
1 , t
2 ) ∪ · · · ∪ [t
i , t
i+1 ). c i has an atomic node a i , with name name a i and value
value a i that describes a property of c i . The edge between c i and a i has label
HasProperty, [t 1 , t 2 ) ∪ · · · ∪ [t n , t n+1 ).
The translation of c i is shown in Fig. 2.7; in particular the edge between the
complex node and its atomic node is translated by nesting the element representing
the atomic node within the element representing the complex node.
Translation of a Complex Node with a Stream Node
Let us suppose we have a complex node c i , with name name c i and VT [t
1 , t
2 ) ∪ · · · ∪
[t
i , t
i+1 ). c i has a stream node a i , with name name a i and value value a i . The edge
between c i and a i has label
HasMMProperty, [t 1 , t 2 ) ∪ · · · ∪ [t n , t n+1 ), [Int start, Int end].
The translation of c i is shown in Fig. 2.8. Note that the edge between the complex
node and its stream node is not translated into an XML element, adopting the same
nesting strategy as the previous case.
(a)
(b)
.........
value_ai
.........
name_ai
value_ai
Fig. 2.7. (a) A complex node and its atomic property; (b) their translation into XML
