🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.sgml
Article #37

Re: It's Not Just for Text Anymore

#37
From: raudabaugh
Date: Thu, 23 Jul 1992 02:53
59 lines
3710 bytes
In article <BrrH56.1Bp@watdragon.waterloo.edu>, drraymon@watdragon.waterloo.edu (Darrell Raymond) writes:
> In article <1992Jul20.171350.1@idicl1.idi.battelle.org>, raudabaugh@idicl1.idi.battelle.org writes:
> 
>>I view SGML as a very powerful method to describe relationships between
>>entities within a document (or document type).  To suggest that SGML is
>>a poor data-modeling device seems somewhat absurd.  ASN.1 encoding is also
>>a poor data-modeling device so nobody uses it for that.
>>
>>SGML does an excellent job describing document structure.  BUT, it does not
>>address context/semantic relations that data-modeling is all about.  Nor
>>should it.
> 
>   I can't make head or tail of this comment.  If you "view SGML as a very
> powerful method to describe relationships", then why does it not "address
> context/semantic relations"?  What is the distinction that you draw between
> modelling and describing?  Is it that you think that structuring means 
> "identifying entities", while modelling means "describing relationships"?
> 

SGML does not describe the relationships between documentS (the S is very
important here, and left my S hanging).  Relationships in a document yes,
otherwise no.  Also, scratch what I said saying SGML models/describes
relationships in a document type, not true.

>>OK, why did I bring this up?  Because standards should be used for what they
>>are good for.  A good data-modeling standard that sits on top of a data
>>manipulation language (such as SQL) and a document description language (such
>>as SGML) would be heaven sent.
> 
>   A data model doesn't sit on top of a data manipulation language, just
> the reverse. The relational model came before, and is quite independent 
> of, SQL.  
> 
> -Darrell.

Agreed.  But the relational model as described by Dr. Codd's paper does not
enforce the absurd query I described, so SQL supports them (actually less than
would appear legit given the model set out by the paper).  Why?  No semantics.
Add some models on top of the relational model and yes, you get the semantics
(including several by Dr. Codd).

What I'm looking for is a way to sit relational data (or all you can get from
a CREATE TABLE command in SQL) and structured text (via SGML) side by side in
an agreed upon manner.  I also want interdocument integrity.

Also, to throw one more stick in the fire:

A DTD that describes a database can be built.  A DTD tha describe interdocument
(or intertable) relationships cannot be built, since that must allow for
recursion (EMPLOYEE.MGR_ENO owns EMPLOYEE.ENO comes to mind).

Aside:

We are importing SGML documents and relational rows and making them live
together and enforcing SGML relationships as well as relational relationships
in our current project.  However, this is has been VERY seat of the pants and
very educational to our SGML guru (NOT ME) and our relational has-been (me).
SGML docs do not take kindly to being normalized, so don't.  Instead, be
creative, thats what we've found.
Technical Details
Message-ID: <1992Jul22.215315.1@idicl1.idi.battelle.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!zaphod.mps.ohio-state.edu!malgudi.oar.net!chemabs!sun1.is.battelle.org!bclcl1.im.battelle.org!idiws1.idi.battelle.org!idicl1.idi.battelle.org!raudabaugh
References: <710783547snx@sgmlinc.com> <CABO.92Jul14222524@kubus.cs.tu-berlin.de> <1992Jul20.171350.1@idicl1.idi.battelle.org> <BrrH56.1Bp@watdragon.waterloo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!zaphod.mps.ohio-state.edu!malgudi.oar.net!chemabs!sun1.is.battelle.org!bclcl1.im.battelle.org!idiws1.idi.battelle.org!idicl1.idi.battelle.org!raudabaugh
From: raudabaugh@idicl1.idi.battelle.org
Newsgroups: comp.text.sgml
Subject: Re: It's Not Just for Text Anymore
Message-ID: <1992Jul22.215315.1@idicl1.idi.battelle.org>
Date: 23 Jul 92 02:53:15 GMT
References: <710783547snx@sgmlinc.com> <CABO.92Jul14222524@kubus.cs.tu-berlin.de>   <1992Jul20.171350.1@idicl1.idi.battelle.org> <BrrH56.1Bp@watdragon.waterloo.edu>
Organization: IDI-Dublin
Lines: 59
Nntp-Posting-Host: bidiao
Nntp-Posting-User: raudabaugh