[Versa] More on literal queries

Uche Ogbuji uche.ogbuji at fourthought.com
Tue Sep 13 13:48:06 MDT 2005


On Tue, 2005-09-13 at 13:45 -0400, Chimezie Ogbuji 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:
> 
> - Context:  A named subgraph In the pure RDF sense (the scope
> attribute on 4RDF Statements)

Yes, what we call "scope" (the name I picked based on Topics Maps
usage).  But now that the RDF community is converging on "context", this
is the term we should use for Versa.

> - Versa Context:  Consisting of a core data type, variable bindings,
> namespace declarations, and a named Context (subgraph)

This to me is "query state".

> - The '.' Expression: Shorthand for the the data type instance
> associated with the current Versa Context

Personally, I think we lose this entirely, based on the other
conversation on anonymous, first class functions.

> So, { .. } would be a 'Context expression' which resolves to an
> anonymous Context (subgraph), which will then be associated with the
> Versa context used to evaluate the scoped expression that follows in:
> 
> { .. } <scoped expression>

I suppose so.


-- 
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