← Prev in month ← Prev in thread

again on numbering..

From
Giovanni Bartolomeo <>
Date
2008-01-29T13:34:10+00:00
ID
Thread
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
← Prev in month ← Prev in thread