Re: two nasty schemata, union types and surrogate keys

From: Brian <brian_at_selzer-software.com>
Date: Mon, 19 Oct 2009 16:30:08 -0700 (PDT)
Message-ID: <7629b210-62c2-42bc-8a6c-79a41cbee605_at_l35g2000vba.googlegroups.com>


On Oct 19, 3:00 pm, rp..._at_pcwin518.campus.tue.nl (rpost) wrote:
> Brian wrote:
> >On Sep 22, 5:27 pm, r..._at_raampje.lan (Reinier Post) wrote:
> >> Brian wrote:
> >> >You're wrong, of course, but don't take my word for it.  According to
> >> >Date in /An Introduction to Database Systems, Eighth Edition/, page
> >> >161: 'the Closed World Assumption (also known as the Closed World
> >> >Interpretation) says that if an otherwise valid tuple--that is, one
> >> >that conforms to the relvar heading--does /not/ appear in the body of
> >> >the relvar, then we can assume the corresponding proposition is
> >> >false.
>
> >> But what *is* that proposition?  It might be
>
> >>   FIRTNAME LASTNAME is an employee at CORPORATION
>
> >> but it might just as well be
>
> >>   at some time in the past, it has been asserted that
> >>   FIRTNAME LASTNAME is an employee at CORPORATION
>
> >> which is a closed world formulation of what is approximately
> >> the open world counterpart of the first.
>
> >I don't think it is.  Assuming that the assertion was true at that
> >time in the past, the proposition is temporally qualified, whereas the
> >first isn't.
>
> Under the first interpretation, the closed world assumption allows us to
> deduce that, if (Sally, Smith, Acme) is not in the table, Sally Smith
> is no Acme employee, while under the second interpretation, we don't
> know whether she is.  So this 'closed-world assumption' doesn't actually
> limit our ability to leave the truth values of propositions undecided
> by what is the database.  We just have to slightly modify which
> proposition is being expressed.

Under the closed world intepretation, every formula that can be represented in a table is assigned a truth value--positive for those that are actually represented in the table and negative for those that aren't, but under the open world interpretation, only those that are actually represented are assigned truth values. Let's put it another way: either it is supposed to be true or it is known to be true. Under the closed world interpretation, what is represented is supposed to be true, but under the open world interpretation, what is represented is known to be true. Bottom line: it would be pointless to suppose that what is represented is known to be true.

>
> So the closed world assumption doesn't limit what can be stated
> about the world with base relations; it is only important when looking
> at logical inference, e.g. determining the interpretation of complex
> constraints.
>
> --
> Reinier- Hide quoted text -
>
> - Show quoted text -
Received on Tue Oct 20 2009 - 01:30:08 CEST

Original text of this message