W3C home > Mailing lists > Public > www-rdf-interest@w3.org > September 2002

[N3] Propertie values to one list property ???

From: Didier Villevalois <didier@phpapp.org>
Date: Thu, 26 Sep 2002 14:32:12 +0200
Message-ID: <3D92FE4C.1050806@phpapp.org>
To: www-rdf-interest@w3.org

Hello,

I would like to know how in n3 i can make a formula to get a list of 
values with all the values of a property.

For example i have :

:toto my:prop 1, 2, 3, 4.

and i would like to get :

:toto my:prop2 (1, 2, 3, 4).

Can anyone help me ??? Thanks.

BTW, with my innocence i would like to know wether we could add a

( :first :second :third | :rest )

construct in the N3 grammar to say

[ daml:first :first;
   daml:rest [
     daml:first :second;
     daml:rest [
       daml:first :third;
       daml:rest :rest
     ]
   ]
]

Thanks for your help all.
Didier Villevalois.
Received on Thursday, 26 September 2002 08:28:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:56 GMT