🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

5 total messages Started by Paul Hardiman Fri, 11 Sep 1992 17:41
SGML query program
#201
Author: Paul Hardiman
Date: Fri, 11 Sep 1992 17:41
67 lines
1869 bytes
I am interested in knowing of any:
1) software that can do ad hoc queries for data from
ASCII SGML files

2) query and manipulation languages
that might be suitable for ASCII SGML files.

3) Indexers for elements and attributes.


I do not recall much discussion on using ASCII SGML documents
as data bases, so this might be new territory.


I know that there are a few systems that handle query
capability, but they all seem to want to convert the
file into a database.  That is no bueno for me - the
files must stay ASCII files.


If proprietary interests are involved, please advise.


I have thrown a few query examples together to help explain
my interest:
(pardon the SQL look-alike, I don't get out often enough)

> select content from 321.memo
>   where gi = "subject";
SGML query program

> select attr from 321.memo
>   where gi = "memo" and attr = "nbr";
pmh1223

to retrieve the subject and id from a memo.
   
   OR

> select memo.subject, "\t", memo[nbr] from 321.memo;
SGML query program     pmh1223

where content is implied if the item specified is a GI
and attribute value is implied if the item is an attribute.

The DTD for memo might look like

<!ELEMENT   memo    - -  (date,to, from, subject) >
<!ATTLIST   memo         nbr  CDATA  #IMPLIED     >
<!ELEMENT   subject - -  (#PCDATA)                >
.
.
.


Thanks.

BTW, my email has been a little dull lately, so even
flames are welcome.


Ciao 4 Now.

-- 
Ciao 4 Now ---
  Paul Hardiman  (206) 728-8843  hardiman@bcstec.boeing.com
Re: SGML query program
#204
Author: 108101
Date: Mon, 14 Sep 1992 19:08
30 lines
1592 bytes
In article <3602@bcstec.ca.boeing.com>, hardiman@bcstec.ca.boeing.com (Paul Hardiman) writes...
> 
>I am interested in knowing of any:
>1) software that can do ad hoc queries for data from
>ASCII SGML files
> 
>2) query and manipulation languages
>that might be suitable for ASCII SGML files.
> 
>3) Indexers for elements and attributes.
> 
> 
>I do not recall much discussion on using ASCII SGML documents
>as data bases, so this might be new territory.
> 
> 
>I know that there are a few systems that handle query
>capability, but they all seem to want to convert the
>file into a database.  That is no bueno for me - the
>files must stay ASCII files.
> 

Topic from Verity Corp, (415) 960-7620, does what you ask. We use it to provide
information to people Lab wide.   Our database is marked up with SGML and is
searched and displayed by Topic.  Topic let's you decide whether you want to
display the native SGML marked text or reformat it to look nicer.  I've enjoyed
working with it. If you have any other questions let me know.

Perry Sandoval
sandoval_perry@allin1.adpdp2.lanl.gov
SGML query program
#205
Author: Graham Toal
Date: Mon, 14 Sep 1992 19:46
41 lines
1938 bytes
In article <3602@bcstec.ca.boeing.com> hardiman@bcstec.ca.boeing.com writes:
>I am interested in knowing of any:
>1) software that can do ad hoc queries for data from
>ASCII SGML files

>BTW, my email has been a little dull lately, so even
>flames are welcome.

Mine does :-)  And you can't have it, nyah nyah nyah!
(Not a product, it's an in-house thing, and I'm slowly working myself
up into a suitable frame of mind for documenting it...)

>2) query and manipulation languages
>that might be suitable for ASCII SGML files.

Check out SFQL.

>I do not recall much discussion on using ASCII SGML documents
>as data bases, so this might be new territory.

Well, we've done it but there certainly doesn't (ahem) appear to
be a great deal written up in the literature admittedly.

>I know that there are a few systems that handle query
>capability, but they all seem to want to convert the
>file into a database.  That is no bueno for me - the
>files must stay ASCII files.

>If proprietary interests are involved, please advise.
It's not so much that ours is proprietary, it's that we've got too
much work on too make it acceptable for anyone except oursselves
to use.  To get our own product out we had to trim a couple of
corners and turn what was intended to be a general purpose tool
into something that just understood our own documents.

However I promise on my mother's grave (don't anyone tell her I
said that) that I'll document our system someday and put the
paper on the net somewhere.

G
Re: SGML query program
#209
Author: David Hollander
Date: Tue, 15 Sep 1992 14:27
15 lines
882 bytes
/ hpcc01:comp.text.sgml / hardiman@bcstec.ca.boeing.com (Paul Hardiman) / 10:41 am  Sep 11, 1992 /

> I am interested in knowing of any:
> 
> 2) query and manipulation languages
> that might be suitable for ASCII SGML files.

ISO 10744:1992 (HyTime) includes a query notation called HyQ. It described
in some detail in appendix A of the  first edition of the standard.
Perhaps Steve Newcomb <srn@techno.com> could supply you with more details.

Regards,
  Dave Hollander
  Hewlett Packard
  415-857-4466
Re: SGML query program
#413
Author: MASON J D
Date: Mon, 05 Oct 1992 17:14
27 lines
1812 bytes
There are two query languages form SGML documents being developed in
ISO/IEC JTC1/SC18/WG8, HyQ, as part of HyTime, ISO 10744, and an unnamed
language as part of DSSSL, ISO/DIS 10179. We are developing tow
languages because these two standards, while they both manipulate SGML
documents, are partially complementary in scope and functionality. DSSSL
deals with pure SGML files. Although HyTime requires the "hub document"
to be in SGML, subsidiary documents may be in any format, including
binary digitized audio or graphics. DSSSL and HyQ both operate on
property sets defined in SGML. DSSSL's location model is entirely in
terms of SGML structures (where an element is in the tree, its
relstionships to its siblings, . . . ). HyTime also needs to deal with
finite coordinate spaces (this happens three seconds after that). As of
the September meeting of WG8, we feel that in the areas of simultaneous
interest, there should be simple mappings between the languages.

Note that these SGML-based query languages are something different from
FSQL.

HyTime will be published shortly by ISO in Geneva. Copies will be
available from national standards bodies like ANSI and BSI; there will
probably be a few authorized redistributors like GCA and TechnoTeacher.

DSSSL is expected to go out for final ballot early in 1993.

James David Mason
Convenor, ISO/IEC JTC1/SC18/WG8	
MASONJD@ORNL.GOV
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads