[Nml-wg] Grouping relations (Relations in NML)

Freek Dijkstra Freek.Dijkstra at sara.nl
Thu Jun 21 08:57:22 EDT 2012


Jeroen van der Ham wrote:

> Grouping is done slightly differently in XML and RDF:
> 
> Grouping in XML:
> Containment for elements.
> 
> Ordering:
> <NE> next <NE>
> 
> 
> Grouping in RDF:
> <Group> contains <NE>
> 
> Ordered group is done using extra ListItem objects:
> <ListItem> item <NE>
> <ListItem> next <ListItem>

I presume for RDF you mean
<Group> contains <ListItem>


We also have the following grouping relations:
<Node> implementedBy <Node>
<Topology|Node> hasNode <Node>
<Topology> hasTopology <Topology>
<NE> hasService <Service>

While updated the UML schema, I noted we are missing a few
group-to-element relations:

<BidirectionalPort> ????? <Port>
<BidirectionalLink> ????? <Link>
<Topology|Node> ????? <Link|LinkGroup>

(NB: Node ---> Link is used for cross connects, in case that's not
immediately obvious.)

And with the recent LinkGroup and PortGroup we also need:
<PortGroup> ????? <Port>
<LinkGroup> ????? <Link>

Can we use hasPort/hasLink for the 5 missing relations?

<NE> hasPort <Port>
<NE> hasLink <Port>

Regards,
Freek


More information about the nml-wg mailing list