Dear Michael,
> am I missing something or is there no way to close an empty list with the
> Collections Ontology ? That would be bad.
It is of course possible to make empty list using CO, since neither co:firstItem nor co:lastItem are mandatory for the class co:List – i.e. co:List is restricted to be a subclass of
co:lastItem max 1 and co:firstItem max 1
Thus, you can define empty list as follows:
:my-list a co:List ;
co:size "0"xsd:nonNegativeInteger .
I hope it might help.
Have a nice day :-)
S.
----------------------------------------------------------------------------
Silvio Peroni, Ph.D.
Department of Computer Science and Engineering
University of Bologna, Bologna (Italy)
Tel: +39 051 2094871
E-mail: essepuntato@cs.unibo.it
Web: http://www.essepuntato.it
Blog: http://palindrom.es/phd
Twitter: essepuntato