[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Linkbases, Topic Maps, and RDF Knowledge Bases -- help me

  • From: Murali Mani <mani@C...>
  • To: Uche Ogbuji <uche.ogbuji@f...>
  • Date: Fri, 13 Apr 2001 13:02:16 -0700 (PDT)

relationship bases
On Tue, 10 Apr 2001, Uche Ogbuji wrote:

> > I think one common example of ternary relationship is the supplier kind
> of
> > relationship. It is something like (not very sure of the exact one)
> > m suppliers supply n products to p cities.
> >
> > I think the following is allowed in ODMG:
> >
> > class supply {
> >   relationship Supplier supplier;
> >   relationship Product product;
> >   relationship City city;
> > }
>
> Either I'm missing something, or you're still mixing up N-ary
> relationships with binary relationships of greater than unit cardinality.
>
> Your ODMG example, for instance, is most certainly not an N-ary
> relationship.  The relationship is from supply to suppiler, from supply to
> product and from supply to city.  There is no relationship between, say
> city and product or vice versa.
>
> Once again, ODMG cannot express N-ary relationships.

Sorry for the delayed response. I was not very well over the last couple
of days. Also I think we can move it to one-on-one conversation regarding
this?

In the example, supply conceptually represents a relationship.
Yes, I think I see your point, you can say that a ternary relationship is
represented in ODMG as 3 binary relationships. There is no explicit
support for N-ary relationships in ODMG. Therefore ODMG cannot express
N-ary relationships. But this is the case because there is no difference
between the representation of a relationship and an entity -- it is the
same in relational model or ODMG model. But in ER, we have a difference in
representation - an entity is a rectangle, and a relationship is a
diamond.

Am I on the same track as you now?

Also one thing which I was wondering was do people use UML for data
modeling? I think ER is the tool, UML is just more like a programming
model.

regards - murali.


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.