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


Hello,

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

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:

=football.team/$has$num$11/+player
@as.roma.calcio/$is$a/+football.team

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

@as.roma.calcio+player/$num$0/=curci
...
@as.roma.calcio+player/$num$7/=derossi
...
@as.roma.calcio+player/$num$10/=totti

etc.

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?

Bests,
Giovanni





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