W3C home > Mailing lists > Public > www-rdf-interest@w3.org > January 2003

Re: Multiple rdf:about in single element?

From: Eric Jain <Eric.Jain@isb-sib.ch>
Date: Tue, 21 Jan 2003 12:17:50 +0100
Message-ID: <00d301c2c13e$bbeab710$3ad721c0@caliente>
To: "rdf-interest" <www-rdf-interest@w3.org>

Thanks for you answers!

My motivation was to be able to distribute data in a form that also makes
sense to people who are familiar working with XML, but don't know RDF. This
would require being able to group all statements refering to an 'entry'
within a single element, but alas...

  <Entry rdf:ID="E12345">
    <name rdf:ID="_1">...</name>
    <gene rdf:ParseType="Resource">
      <name rdf:ID="_2">...</name>
        ...
    </gene>
    <!-- Description about _1 *and* _2? -->
  </Entry>


Another issue is that I need to be able to efficiently reconstruct objects
from a stream of RDF statements. By objects, I mean something like this:

  Entry
  -----------------
  + name : String
  + genes : Gene[]

  Gene
  -----------------
  + names : String[]


I'm currently working on something built on top of David Megginson's
RDFFilter, but I rely heavily on the fact that statements are reported in a
well defined sequence, perhaps not a good idea. Does anyone have any
experience in this area?


--
Eric Jain
Received on Tuesday, 21 January 2003 06:17:55 GMT

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