LISTSERV mailing list manager LISTSERV 16.0

Help for ZNG Archives


ZNG Archives

ZNG Archives


[email protected]


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

ZNG Home

ZNG Home

ZNG  September 2002

ZNG September 2002

Subject:

Re: Expressing Term Structure

From:

Alan Kent <[log in to unmask]>

Reply-To:

Z39.50 Next-Generation Initiative

Date:

Fri, 27 Sep 2002 14:34:41 +1000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (105 lines)

On Thu, Sep 26, 2002 at 11:19:53AM -0400, Ray Denenberg wrote:
> I'm in favor of moving forward, quickly,
> with some form of the proposal on the table.
>
> --Ray

I agree - I would rather see a proposal finished that I don't like
than not see a proposal. So feel free to ignore my opinions (or take
them into account but make a decision not in line). I don't think you
will ever get complete consensus.  If it gets things moving, I am happy
for multiple '='-style operators.  I have been convinced CQL is
designed for advanced users. SQL for example is not trivial either.
Humans can enter SQL, but its not for novices.  I think its reasonable
to pitch CQL at the same level.

Overall I think I have also been convinced that the grammar should be
tight and formal (eg: I think I would like quotes around all search
text - you can never omit them). CQL is a search language for experts
and probably computer programmers (people turning other web form
queries into CQL for example), and so would benefit by following standard
programming language style grammars (limited set of reserved words,
aritrary text in string literals). I am also happy with pattern characters
being inside string literals (as previously agreed to) and using \ to
release things. Again this is a common thing done.

Need to decide if reserved words and index names are case sensitive
(dc.title = DC.TITLE = DC.Title?).



I still like the idea of having some sort of extensible notation for
introducing other attribute combinations. Eg: how to do fuzzy matches?
Or a GEO profile search? I am happy for CQL to have a set of operators
hard coded to specific attribute lists ('>', '<=' for example will be,
so happy to allow '=*' or whatever too). But what about other combinations
such as a 'within-region' for GEO? I don't think can have operators defined
for all possible attribute lists, so some extensible scheme would be good.
Eg:

    dc.title = @fuzzy("center")
    dc.title/fuzzy = "center"
    dc.title:fuzzy = "center"

I think someone suggested the ':' notation once before. That is,
an index name followed by zero or more ':modifier's.
Hmmm - should I dare suggest the following? Only have '=' but allow
modifiers for all of the different attributes?

    dc.title:any = "a b c"
    dc.title:any:stem = "a b c"
    dc.title:all = "a b c"
    dc.title:rel = "a b c"     (relevance)
    dc.title:str = "a b c"     (string)
    dc.title:lt = "a b c"
    dc.coverage:boundedby = "12.3 32.4 52.3 90.1"

Better is probably to define '=*'/'=^' whatever to be the same as the
':all' modifier. That is, allow short cuts for common things, but which
are semantically equivalent to a long form. (XPath for example
defines /child::foo to be the same as /foo - common things have
a short hand notation, where there is an equivalent long hand
with some sort of consistent notation - "/ axis :: qname" in the case
of XPath.)



One other area that I wonder if needs clarifying is if I type

    dc.title =^ "a b c"

then do we need to define what makes up a word? For example, is it
white space separated? What about punctuation? How many words in
the following?

    dc.title =^ "a,b!c. e/f;g"

Maybe it does not need clarifying - CQL just sends it through the the
Z39.50 server and the server breaks it into words.
But if any operators where going to generate AND, OR, PROX style Rpn
nodes from one input string, then a definition of a 'word' would have
to be specified. So I guess its better to avoid this and so avoid
the problem altogether. (That is, never require CQL to split one
literal string in a query into multiple strings to send to a server.)
Word breaks are of course even harder in Chinese, Thai, etc.
Hence I believe PROX like operators should be outside of string literals
(which is probably the current intent anyway).

Actually, PROX nodes are at the level of AND and OR arnt they (in the
RPN). So you any probably need to do

    dc.title = "a" PROX dc.title = "b"

(where 'PROX' is whatever the prox operator is.) RPN does allow

    dc.title = "a" PROX dc.contributor = "b"

where the PROX is for example 'ELEMENT'. PROX does not mandate the
attribute lists for terms be the same, so CQL should probably not
mandate this. Sound reasonable.


Alan

ps: Gee, I can ramble on a bit can't I? Sorry.

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

July 2017
October 2016
July 2016
August 2014
February 2014
December 2013
November 2013
October 2013
February 2013
January 2013
October 2012
August 2012
April 2012
January 2012
October 2011
May 2011
April 2011
November 2010
October 2010
September 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
October 2009
September 2009
August 2009
July 2009
May 2009
April 2009
March 2009
February 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001

ATOM RSS1 RSS2



LISTSERV.LOC.GOV

CataList Email List Search Powered by the LISTSERV Email List Manager