OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xdi message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [xdi] Groups - On the extension of $word set in XDI (Draft-Contrib-OASIS-XDI-dollar-words-v03.pdf) uploaded


Heya Giovanni,

The idea behind $any is great.. It's like a variable you can use to query for statements that fulfill multiple given requirements. I think this can be very useful. What would you think about adding a number to that variable, so you can use that feature more than once in a query? For example $any$1, $any$2, etc.

One advantage of this would be that the brackets wouldn't be necessary (thus keeping the syntax simple), since there would be implicit AND relationships between statements that use the same variable, and implicit OR relationships between those that don't.

Let me try to give an example to show what I mean:

=markus
    $get
        /
            =giovanni
                +friend
                    $any$1
            $any$1+age
                $lesser
                    "40"
            =giovanni
                +brother
                    $any$2
            $any$2+age
                $greater
                    "25"

This asks for all of Giovanni's friends younger than 40, and for all of Giovanni's brothers older than 25:

=giovanni/+friend/=Piergiorgio
=piergiorgio+age/$type$xsd$number/"25"
=giovanni/+friend/=mcoil
=mcoil+age/$type$xsd$number/"28"
=giovanni/+brother/=marco
=marco+age/$type$xsd$number/"30"

What do you think?

Markus

On 13 Mar 2008 10:59:13 -0000, <giovanni.bartolomeo@uniroma2.it> wrote:
New $words added: $and, $or, $any, $all; replaced weak order
relationship operators with composition of atomic $word operator ($equal,
$lesser,
$greater, $or); replaced $equals with $equal. Assumed that both subject and
object
in a XDI statement can be XDI documents.

 -- Giovanni Bartolomeo

The document revision named On the extension of $word set in XDI
(Draft-Contrib-OASIS-XDI-dollar-words-v03.pdf) has been submitted by
Giovanni Bartolomeo to the OASIS XRI Data Interchange (XDI) TC document
repository.  This document is revision #2 of
Draft-Contrib-OASIS-XDI-dollar-words.pdf.

Document Description:
This document propose the extension of $word set in order to introduce
concepts like equivalence, order and numbers in XDI; as well as Boolean
operators and query keywords

View Document Details:
http://www.oasis-open.org/apps/org/workgroup/xdi/document.php?document_id=27547

Download Document:
http://www.oasis-open.org/apps/org/workgroup/xdi/download.php/27547/Draft-Contrib-OASIS-XDI-dollar-words-v03.pdf

Revision:
This document is revision #2 of Draft-Contrib-OASIS-XDI-dollar-words.pdf.
The document details page referenced above will show the complete revision
history.


PLEASE NOTE:  If the above links do not work for you, your email application
may be breaking the link into two pieces.  You may be able to copy and paste
the entire link address into the address field of your web browser.

-OASIS Open Administration



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]