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: again on numbering..

Heya Giovanni,
I think the idea of having a way to express ordered collections in XDI would be very useful...
We came across a similar problem a few days ago.. How do we express multiple values for a predicate? For example, =markus could have multiple e-mail addresses. We came up with the following idea:
But your pattern would work too:
A third idea Drummond had was to use inner graphs, like this:
I like all three methods.. But we should probably decide on one of them.. Or just experiment for a while and see what works best...
On 1/29/08, Giovanni Bartolomeo <giovanni.bartolomeo@uniroma2.it> wrote:

some new inputs about this issue:

>* Markus asked if $num is always used in conjuntion with $has predicate, or
>if there would be other uses? Giovanni said it would also be useful

I think that $num could be useful also in accessing arrays, vectors
and similar structures what we could call "ordered collections".

Let's consider again this use case:


we could index each player using $num${x} as follow:



Do you think this capability could be of help for XDI?

BTW maybe we can avoid the prefix $num and leave only ${num}, e.g.
$0, $5, $7 are valid XRIs which represent the number 0, 5, 7.

What do you think?


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