[Versa] More on literal queries
Uche Ogbuji
uche.ogbuji at fourthought.com
Tue Sep 13 13:50:05 MDT 2005
On Tue, 2005-09-13 at 13:30 -0600, Michael Olson wrote:
> >> Just to be clear, your not talking about a "context" as shown in the
> >> above EBNF correct? In the EBNF, context is the ".". I've been
> >> trying
> >> to talk about the "scope" of an expression which I think is what you
> >> mean.
> >
> > I should be explicit. When I said context, I mainly meant the idea of
> > a subgraph (possibly named). But there are three interpretations, as
> > I see it:
> >
>
> So, lets try and give them names that are not so confusing.
>
> > - Context: A named subgraph In the pure RDF sense (the scope
> > attribute on 4RDF Statements)
> >
>
> Scope.
Nah. We'd be alone in this.
> > - Versa Context: Consisting of a core data type, variable bindings,
> > namespace declarations, and a named Context (subgraph)
> >
>
> Context.
I think this would be too confusing, which is why I suggested "query
state".
> > - The '.' Expression: Shorthand for the the data type instance
> > associated with the current Versa Context
> >
>
> This can be "current" from the XPath spec.
Except that it's not current(). Remember that "." and "current()" are
quite different in XPath. More confusion.
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://fourthought.com
http://copia.ogbuji.net http://4Suite.org
Use CSS to display XML, part 2 - http://www-128.ibm.com/developerworks/edu/x-dw-x-xmlcss2-i.html
XML Output with 4Suite & Amara - http://www.xml.com/pub/a/2005/04/20/py-xml.html
Use XSLT to prepare XML for import into OpenOffice Calc - http://www.ibm.com/developerworks/xml/library/x-oocalc/
Schema standardization for top-down semantic transparency - http://www-128.ibm.com/developerworks/xml/library/x-think31.html
More information about the Versa
mailing list