dbTalk Databases Forums  

General semantics

comp.databases.theory comp.databases.theory


Discuss General semantics in the comp.databases.theory forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
paul c
 
Posts: n/a

Default Re: General semantics - 05-19-2010 , 08:22 PM






Bob Badour wrote:
Quote:
Nilone wrote:

On May 19, 4:12 pm, Bob Badour <bbad... (AT) pei (DOT) sympatico.ca> wrote:

Have you read William Kent's /Data and Reality/ ?

No, but the excerpts and information provided by Google look
tantalizing. If you recommend it, I'll place it very high on my list.

I still have not managed to get a copy for myself. However, a lot of
people, who I respect greatly, recommend it and recommend it in the
highest terms. It clearly influenced some of the best minds in the
industry. While I cannot make a direct recommendation at this time, you
can consider it recommended by better men than me.

Since you express an interest in the link between data and reality, I
suspect it is prerequisite reading for you. And if you choose not to
read it, I recommend you make sure it is, at least, in the bibliography
of whatever you are reading to show the author has some awareness of the
prior art.
The message I got from the book, at least the practical conclusion, is
that we must always think separately about a system and reality, eg.,
mentally 'switch gears', never let the two get mixed up. This because I
remember him saying (which I agree with) that natural language isn't
sufficient to capture human experience. I suspect that no
anthropologist would disagree with this, ie., language we use can't
fully describe our reality. If it could, why would we need any ability
to abstract? After forty or so years of public exposure to computer
systems there seems to be some evidence of this, eg., in the way that
systems 'become' or replace the commonly perceived reality. (Personally
I despair about this but it does seem fact to me.)

Reply With Quote
  #22  
Old   
paul c
 
Posts: n/a

Default Re: General semantics - 05-19-2010 , 08:41 PM






Bob Badour wrote:
....
Quote:
If you mean my Rosie, she still smells a little like skunk, which is
probably achievable for most humans.
AFAIAC, your Rosie is an indirect, therefore honorary, participant here,
as Cato the cat is and Lady the pointer and Celtie the collie used to
be. The wag of a tail has oft saved readers here from some stupid
contribution or other. What they know that I don't know astounds me,
the distant approach of a coyote for example. They could care less
about what I know that they don't.

I never realized there were so many rabbits in the ground cover around
here until I noticed the owls at night and the eagles in the daytime but
the pets already knew, you could see it in their stance.

Reply With Quote
  #23  
Old   
Tegiri Nenashi
 
Posts: n/a

Default Re: General semantics - 05-19-2010 , 09:46 PM



On May 19, 4:58*pm, paul c <toledobythe... (AT) oohay (DOT) ac> wrote:
Quote:
Tegiri Nenashi wrote:
...
*"relations aren't domains" sounds like some dogma. In my system
domains are unary relations (or predicates if the term "relation" is
reserved for finite sets of tuples).

In that case, unary relations have more operators than other relations,
not a complication I'd like to deal with.
I assume by "operators" you mean something other than relational
algebra operations. Something like arithmetic plus. I'd suggest the
later is actually a relation and one may benefit from making this idea
explicit:

http://vadimtropashko.wordpress.com/...ing-with-qbql/

Reply With Quote
  #24  
Old   
Tegiri Nenashi
 
Posts: n/a

Default Re: General semantics - 05-19-2010 , 09:54 PM



On May 19, 5:22*pm, paul c <toledobythe... (AT) oohay (DOT) ac> wrote:
Quote:
... The message I got from the book, at least the practical conclusion, is
that we must always think separately about a system and reality, ...
This is a recurring theme in many science endeavors. I remember a
story told by prof Mark Krasnoselski (RIP). "Here is a linear dynamic
system with a simple positive lookback. It converts an input x(t)
into x(t-T). Think about it: it predicts the future! When this has
been discovered many "hands-on" people rushed to make actual
implementations! Than he paused.... Do you understand the difference
between the model and reality?"

Reply With Quote
  #25  
Old   
paul c
 
Posts: n/a

Default Re: General semantics - 05-19-2010 , 09:58 PM



Tegiri Nenashi wrote:
Quote:
On May 19, 4:58 pm, paul c <toledobythe... (AT) oohay (DOT) ac> wrote:
Tegiri Nenashi wrote:
...
"relations aren't domains" sounds like some dogma. In my system
domains are unary relations (or predicates if the term "relation" is
reserved for finite sets of tuples).
In that case, unary relations have more operators than other relations,
not a complication I'd like to deal with.

I assume by "operators" you mean something other than relational
algebra operations. Something like arithmetic plus. ...
I had aggregates in mind. I can think of two uses for plus, one
involving relations per se and the other involving attributes. But
'sum' is something else. I'd say it deals with a set that is not a
relation.

Reply With Quote
  #26  
Old   
Clifford Heath
 
Posts: n/a

Default Re: General semantics - 05-20-2010 , 04:15 AM



paul c wrote:
Quote:
Have you read William Kent's /Data and Reality/ ?
Thanks for the pointer Bob, I just ordered it.

Quote:
Eg., I'd be curious as to who first talked about unary relations, which
seem an essential part of Codd's breakthrough.
I don't know if I really understand what you're talking about,
but a contribution from the realm of fact-oriented modeling
might be helpful here. I'm not sure the ideas are analogous
to what you mean by unary relations, but it's possible.

An "existential fact" is a fact that a certain thing exists.

For example "There is a city called Paris" contains an existential
fact. Two in fact; the existence of the city and the existence of
the city name 'Paris'.

There is also a binary fact which associates the two. Here, this
fact is an instance of a binary fact type which might be described
by the predicate "is called" having the two placeholders (also
called roles) City and CityName, so the full "fact type reading"
for this predicate is "City is called CityName".

A "unary fact type" is a fact type which contains a single placeholder.
An example might be "Person smokes". Here Person is the placeholder,
and smokes is the predicate.

It seems to me that the existential fact types (City, CityName, Person)
are your domains. These are not unary fact types, they're existential
fact types. The unary fact type "Person smokes" delineates a predicate
which is either true or false for each Person (assuming CWA), and thus
it delineates a subset of all actual Persons.

When you talk of a unary relation, do you really mean a set of unary
facts of a single unary fact type? Or do you also include existential
fact types under the term "unary relation"? Because for me, those are
quite different things.

Clifford Heath, Data Constellation.

Reply With Quote
  #27  
Old   
Nilone
 
Posts: n/a

Default Re: General semantics - 05-20-2010 , 06:27 AM



On May 20, 1:56*am, paul c <toledobythe... (AT) oohay (DOT) ac> wrote:
Quote:
That's not the first time I had the impression that Russell was
foretelling the future. *Maybe there's a clue in a sentence you snipped:

"... This view is derived, I think, probably unconsciously, from a
philosophical error: it has always been customary to suppose relational
propositions less ultimate than class-propositions (or subject-predicate
propositions, with which class-propositions are habitually confounded),
and this has led to a desire to treat relations as a kind of classes."

Looks to me as if the 'error' he's talking about is either the same as
what Date and Darwen call a "Great Blunder" or some kind of
relation-valued attribute! (Can't remember if it would be the first or
second Great Blunder
It sounds like the first one (http://c2.com/cgi/wiki?
FirstGreatBlunder).

After my previous post, I read further (about the calculus of classes,
see http://fair-use.org/bertrand-russell...ematics/ch2sB).
Russell explains at length the difference between a class (the
extension) and a class-concept (the intention). To distinguish OOP
classes from Russell's definition of class, in this post I'll refer to
the former as OOP classes, and to the latter as the class domain.

I suspect now that OOP languages fail to properly distinguish the
difference and relationship between intension and extension. The
specification of the OOP class defines a class-concept, which can be
seen as a relation from an OID to a set of values (and possibly
methods). The constructor can be seen as a function selecting an
object from the class domain. OOP interfaces correspond to relations
between class-concepts, while abstract classes correspond to
normalization. Virtual methods include the signature of a method in
the class-concept, while deferring the implementation to the class
domain. Hence, in a concrete class with virtual methods, we have both
a class-concept and a default value for its domain. Relations between
class-concepts extend to the class domain, but don't include the
default implementation. Furthermore, the inability to enumerate the
domain class of an OOP class leads to developers creating ad-hoc
collections, and the failure to distinguish intension from extension
and default values leads to faulty reasoning about all aspects of the
system.

So this deviates from Date's point of view, in that I equate object
class with relation and not with domain or relvar. I hope my reasons
are sufficient, if not, I await your criticism.

Reply With Quote
  #28  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: General semantics - 05-20-2010 , 01:24 PM



On Wed, 19 May 2010 18:54:45 -0700 (PDT), Tegiri Nenashi
<tegirinenashi (AT) gmail (DOT) com> wrote:

Quote:
On May 19, 5:22*pm, paul c <toledobythe... (AT) oohay (DOT) ac> wrote:
... The message I got from the book, at least the practical conclusion, is
that we must always think separately about a system and reality, ...

This is a recurring theme in many science endeavors. I remember a
story told by prof Mark Krasnoselski (RIP). "Here is a linear dynamic
system with a simple positive lookback. It converts an input x(t)
into x(t-T). Think about it: it predicts the future! When this has
been discovered many "hands-on" people rushed to make actual
implementations! Than he paused.... Do you understand the difference
between the model and reality?"
Could you please unpack this? I do not have the background to
follow the story, but I understand the conclusion.

Sincerely,

Gene Wirchenko

Reply With Quote
  #29  
Old   
Erwin
 
Posts: n/a

Default Re: General semantics - 05-20-2010 , 04:51 PM



On 20 mei, 12:27, Nilone <rea... (AT) gmail (DOT) com> wrote:
Quote:
It sounds like the first one (http://c2.com/cgi/wiki?
FirstGreatBlunder).

I suspect now that OOP languages fail to properly distinguish the
difference and relationship between intension and extension.
That is not a world-shocking observation. OOP languages mostly fail
to properly make any relevant distinction (value/variable ?)
whatsoever.



Quote:
*The specification of the OOP class defines a class-concept, which can be
seen as a relation from an OID to a set of values (and possibly
methods).
You seem to axiomatically assume that OIDs are a necessity, and that
they _must_ exist.

Assertions of fact _can still be made_ if one does not have OIDs.



Quote:
*The constructor can be seen as a function selecting an
object from the class domain.
No it cannot. If this were really true, then (using java as my
particular OOP dialect) "new Integer(1) == new Integer(1)" would have
to yield true.

Or one would have to leave the much desirable D&D requirement that "if
x == y, then for all f : f(x) == f(y)".



Quote:
OOP interfaces correspond to relations
between class-concepts, while abstract classes correspond to
normalization. *Virtual methods include the signature of a method in
the class-concept, while deferring the implementation to the class
domain.
OOP Interfaces are declarations of which methods are to be available.
Methods are (declarations of) operators.
So OOP interfaces are (declarations of (sets of)) operators.

That is not a type of thing that can possibly "correspond to
relations".



Quote:
*Hence, in a concrete class with virtual methods, we have both
a class-concept and a default value for its domain. *Relations between
class-concepts extend to the class domain, but don't include the
default implementation. *Furthermore, the inability to enumerate the
domain class of an OOP class leads to developers creating ad-hoc
collections, and the failure to distinguish intension from extension
and default values leads to faulty reasoning about all aspects of the
system.
Sorry, sounds like gibberish to me.

Gathering nouns and verbs in the proper order does not a meaningful
sentence make.



Quote:
So this deviates from Date's point of view, in that I equate object
class with relation and not with domain or relvar.
Which is exactly one of the two blunders.

At one point, you referred to "extension" and "intension".

I may be stepping out of the bounds of my expertise here, but one
thing I think I do understand is that a relation is the relationally
"encoded" form of an extension of a logical predicate :

RELATION{TUPLE{Erwin}TUPLE{Nilone}TUPLE{Bob Badour}} corresponds to
the extension of the predicate "x is a man" : "Erwin is a man and
Nilone is a man and Bob Badour is a man".

(And now the nitpickers are going to say that there are more than
three men in the world.)

Now does such a thing correspond to "object class" ? No, it doesn't.
To the extent that it is even feasible/justifiable/warranted/... to
imagine any kind of correspondence between the two, I would _always_,
_unequivocally_ say that "object class" corresponds much more to "x is
a man" than that it corresponds to any extension of that predicate.

The actual link I see is really obscure, which is why I said "to the
extent that it is warranted to imagine any kind of correspondence" :
object class corresponds to predicate, predicate corresponds to
relvar, relvar has a (declared) (relation) type, therefore object
class corresponds to (relation) type.

And just so you don't jump on this apparent distinction I might appear
to be making between relation types and scalar types : both are just
types, so what I said was intended to be interpreted as "object class
corresponds to type".



Quote:
I hope my reasons are sufficient, if not, I await your criticism.
Sorry, but what you thought to be "reasons for your position", has,
imo, to be dismissed on the grounds that they are "gibberish".

As a matter of fact, I happen to believe that trying to invent
correspondences between "object model" and "relational model" is a
futile waste of time, precisely because of the fact that the "object
model" (which doesn't deserve to be labeled a "model" to boot, but
never mind) fails to make the necessary proper distinctions between
value and variable.

Reply With Quote
  #30  
Old   
Tegiri Nenashi
 
Posts: n/a

Default Re: General semantics - 05-20-2010 , 04:52 PM



On May 20, 9:24*am, Gene Wirchenko <ge... (AT) ocis (DOT) net> wrote:
Quote:
On Wed, 19 May 2010 18:54:45 -0700 (PDT), Tegiri Nenashi

tegirinena... (AT) gmail (DOT) com> wrote:
On May 19, 5:22*pm, paul c <toledobythe... (AT) oohay (DOT) ac> wrote:
... The message I got from the book, at least the practical conclusion, is
that we must always think separately about a system and reality, ...

This is a recurring theme in many science endeavors. I remember a
story told by prof Mark Krasnoselski (RIP). "Here is a linear dynamic
system with a simple positive lookback. It converts an input *x(t)
into x(t-T). Think about it: it predicts the future! When this has
been discovered many "hands-on" people rushed to make actual
implementations! Than he paused.... Do you understand the difference
between the model and reality?"

* * *Could you please unpack this? *I do not have the background to
follow the story, but I understand the conclusion.
Not sure what you are asking. The background
http://www.stanford.edu/class/ee102a/lecture4x4.pdf
It studies systems assembled out of well defined primitive blocks such
as delay, integrator, differentiator, etc. I don't remember the detail
of the system in question, other than it contained a no more than two
elements arranged in a simple feedback loop and one of them was delay.
One reason why it doesn't work as intended is because it is unstable.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.