- From: Jim Hendler <hendler@cs.umd.edu>
- Date: Thu, 27 Mar 2003 09:30:19 -0500
- To: Brian McBride <bwm@hplb.hpl.hp.com>, Dave Beckett <dave.beckett@bristol.ac.uk>
- Cc: www-rdf-comments@w3.org, Bijan Parsia <bparsia@isr.umd.edu>
At 13:33 +0000 3/27/03, Brian McBride wrote: >Thanks for the confirmation Jim. > > >At 07:58 27/03/2003 -0500, Jim Hendler wrote: > >[...] > >>>>If I use current RDF constructs I have no way to produce this as >>>>a closed list. >>> >>>You might want to amend this statement. I think your point is >>>that the syntax required is ugly, not that it can't be done, Right? >> >>Sorry, what I meant to say in this sentence was >> >>If I use the other current RDF list constructs (i.e. not including >>collection) then I cannot produce this as a closed list. > >I'm sorry, but I don't think that is right. You cannot use the >rdf:parseType syntax to create the list, but you can spell out the >structure explicitly, e.g.: > ><rdf:Description> > <foo:listValuedProp> > <rdf:List rdf:nodeID="head"/> > </foo:listValuedProp> ></rdf:Description> > ><rdf:List rdf:nodeID="head"> > <rdf:first>first</rdf:first> > <rdf:rest> > <rdf:List rdf:nodeID="l2"/> > </rdf:rest> ></rdf:List> > ><rdf:List rdf:nodeID="l2"> > <rdf:first>second</rdf:first> > <rdf:rest> > <rdf:List rdf:nodeID="l3"/> > </rdf:rest> ></rdf:List> > ><rdf:List rdf:nodeID="l3"> > <rdf:first>first</rdf:first> > <rdf:rest> > <rdf:nil/> > </rdf:rest> ></rdf:List> > >Brian My apologies, I had not realized this could be done this way outside of collections - you are right that I should have simply said it was ugly and overcomplex, as opposed to non-doable. -- Professor James Hendler hendler@cs.umd.edu Director, Semantic Web and Agent Technologies 301-405-2696 Maryland Information and Network Dynamics Lab. 301-405-6707 (Fax) Univ of Maryland, College Park, MD 20742 240-731-3822 (Cell) http://www.cs.umd.edu/users/hendler
Received on Thursday, 27 March 2003 09:34:08 UTC