[Versa] More on literal queries
Michael Olson
Mike.Olson at fourthought.com
Tue Sep 13 13:52:49 MDT 2005
On Sep 13, 2005, at 1:50 PM, Uche Ogbuji wrote:
> 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".
OK.
>
>>> - 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.
>
Right, I forgot. I still think we need the "." though, otherwise it
feels to much like "magic" that (!x : $x) returns what "." used to.
Maybe we just call it "dot"
Mike
>
> --
> 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
>
> _______________________________________________
> Versa mailing list
> Versa at lists.fourthought.com
> http://lists.fourthought.com/mailman/listinfo/versa
>
------------------------------------------------------------------------
-----------------
Mike Olson Principal
Consultant
mike.olson at fourthought.com +1 720 253 4662
Fourthought, Inc.
http://Fourthought.com
PO Box 270590, http://4Suite.org
Louisville, CO 80027-5009, USA
XML strategy, XML tools, knowledge management
More information about the Versa
mailing list